I was searching for threads on DOS graphics and came across a thread about someone wanting to put DOS into SVGA mode.
Someone replied with this
I don't know what to type becasue it's obvious it won't compile correctly.
Then the author said he found out how to set the mode into svga mode with this
That works, but my pixel drawing functions don't work with that. Can someone please give me a pixel drawing function that is compatible with that function, and convert the mode function so that I can designate the mode I want in Hex? Thanks in advance;
union REGS inregs,outregs;
inregs.h.ah = 0;
inregs.h.al = 0x005f; // video mode to change to
int86(0x10, &inregs, &outregs);
In today's lesson - pressing the review button before pressing the post button
Posting in the right forum is in next week's advanced course
Salem have you switched careers? Nvere knew you were into primary education ;)
My new book
Janet and John write a C compiler
Sorry what forum did I post this in? I got the damn code in the window now, you happy?
Why are you still messing with this old tech stuff when there are graphics libraries which are
- higher resolution
- more colours
- have more features in the API
- portable to other platforms