www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/02/22/02:38:47

Date: Wed, 22 Feb 95 01:49:23 EST
From: "William Parsons Newhall, Jr." <NEWHALL AT american DOT edu>
Organization: The American University
Subject: In DJGPP How can I call VGA/VESA BIOS int 10?
To: djgpp AT sun DOT soe DOT clarkson DOT edu

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019