home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!uknet!mucs!fs1.mcc.ac.uk!zlsiida
- From: zlsiida@fs1.mcc.ac.uk (dave budd)
- Newsgroups: comp.lang.pascal
- Subject: VGA256.BGI on Opus
- Message-ID: <zlsiida.78@fs1.mcc.ac.uk>
- Date: 12 Aug 92 15:55:09 GMT
- Sender: news@cs.man.ac.uk
- Organization: Manchester Computing Centre
- Lines: 30
- Originator: netnews@uts.mcc.ac.uk
-
- Our Optics dept have a program they're developing to display HVC (=HLS)
- colour maps, and they find:
-
- Colours OK on non-Opus machines
- Colours OK on Opus machines with RIXAI8 driver (8514A emulator)
- Colours wrong on Opus machines with VGA256.BGI
-
- The colours that go wrong are every 16th, starting at the 6th
-
- Must be some kind of problem with Opus hardware/firmware?
-
- They're setting the palette with a ruotine that looks like:
-
- var regs:registers; begin with regs do begin
- AX:=$1012; BX:=0; CX:=256; ES:=Seg(P); DX:=Ofs(P);
- end; Intr($10,regs); end;
-
- P is an array[0..255] of a record type which holds 3 single byte values (r,
- g,b). Should these be 16 bit values?
- P MUST (hah!) be filled OK or it wouldn't work on non-Opus machines, or
- Opus machines with other than VGA256.BGI
-
- More detail available if reqwuired!
-
-
- +---------------------------------------------------------------------+
- | The trouble with having an open mind is that people come along and |
- | put things in it. {attribution? I nicked it from Readers Digest} |
- | Dave Budd, MCC, Oxford Rd, Manchester, England (44)061-275-6033 |
- +---------------------------------------------------------------------+
-