Mail Archives: djgpp/1995/02/22/02:38:47
I am trying to port a 24-bit VESA library I wrote in ASM and Borland C
to DJGPP...I am having trouble calling the basic "set vgamode" interrupt
10 service 0. I understand how segmentation/selector registers are
affected by the protected mode, but what I need to understand is how
I can call a simple interrupt like that without crashing my program.
I have tried looking at the GRX and LGR source and I see that they link
in separate assembly code for accessing INT 10(video BIOS) and INT 33(mouse
BIOS) what I am looking for is a short(i.e. one page) program that shows
me how I can set the VGA hardware to mode 13H (320 x 200 in 256 colors)
so I can do more advanced interrupt calls(like setting up 24 bit VESA modes)
any help is appreciated...
Thanks,
William Newhall
P.S. Has anyone seen Libgrx 1.04 out anywhere?
- Raw text -