delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/06/08/03:24:04

From: amh15 AT cus DOT cam DOT ac DOT uk (Alan Hart)
Subject: VGA modes in DJGPP
To: djgpp AT sun DOT soe DOT clarkson DOT edu (GNU C++)
Date: Wed, 8 Jun 1994 08:03:24 +0100 (BST)

Some very techie questions:

1. Has anyone used ordinary VGA planar modes with djgpp? I know they aren't 
supported (in 1.10 anyway) but I don't want graphics library support, just 
access to display memory and VGA registers for selecting page and plane.

2. Has anyone written much assembler for DJGPP? Any hints? Maybe someone 
could mail me an example program (I'm mainly interested in the "getting 
started" aspects so a short program, from scratch, with comments would be 
good).

3. One of the things I would like to do is to be able to declare an area of 
memory as out-of-bounds, and have a trap routine run when it is accessed. 
Obviously this is possible in principle, but has anyone actually got a piece 
of working code that does this?

All the above points are with a view to writing an emulator for an 
unspecified computer.

I'd really appreciate any help.

Cheers,

Alan

-------------------------------------------------------------
|        | amh15 AT cus DOT cam DOT ac DOT uk --- Work Tel: +44 223 337493 |
|  Alan  | Fax: +44 223 337706 --- Home Tel: +44 223 244595 |
|  Hart  | Microelectronics Research Centre, Cavendish Lab, |
|        | Madingley Road, Cambridge, ENGLAND. CB3 0HE      |
-------------------------------------------------------------

- Raw text -


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