Re:A Tiny Wolfenstein-Like Software Engine
by mhd on Wednesday March 07, 2018 @02:29AM
(#16534846)
Interesting how meaning changes. Back when Wolfenstein was made, "without a graphics API" just meant
[ Parent
| on HN ]
Re:A Tiny Wolfenstein-Like Software Engine
by Gnurou on Wednesday March 07, 2018 @06:54AM
(#16535803)
... and even there you were using a graphics api, provided by your video card's bios and compatible across various manufacturers.
Re:A Tiny Wolfenstein-Like Software Engine
by Koshkin on Wednesday March 07, 2018 @08:55AM
(#16536303)
Not really - you'd be mostly just writing into the video buffer.
Re:A Tiny Wolfenstein-Like Software Engine
by TickleSteve on Wednesday March 07, 2018 @12:09PM
(#16537812)
int10h is the API (BIOS)... that just causes the mode switch.
What he really meant (direct RAM access):
void putpixel_13h(int x, int y, int color)
{
_farpokeb(_dos_ds, 0xA0000+y*320+x, color);
}