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
Code:
asm
{
mov ax,4F02
mov bx,mode
les di,CRTCbufferblock
int 10h
}
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
Code:
void set_mode_svga(void)
{
union REGS inregs,outregs;
inregs.h.ah = 0;
inregs.h.al = 0x005f; // video mode to change to
int86(0x10, &inregs, &outregs);
}
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;