🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: rec.games.programmer
Article #1907

Help! VGA mode 0x12

#1907
From: John Connelly
Date: Thu, 07 Jan 1993 20:14
14 lines
1052 bytes
Hello everyone,
  Can anyone help me understand the pixel layout in VGA mode 0x12 (640x480 16
color)? I'm new to IBM graphics (I come from a Sun background) and 4-bit pixels.
I know that the pixels aren't accessed 2 per byte, in order. From what I've
tried it looks like each byte represents one pixel (like b/w), but how do I
access the other three bits per pixel?
  I'm accessing the VGA at 0xA000:0000. What am I doing wrong?

  Also, my local computer bookstore seems to have almost nothing on VGA/SVGA
graphics programming. Anyone know of any good books on this subject?

Thanks,
John Connelly
connelly@key.amdahl.com
Technical Details
Message-ID: <3966@key.COM>
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!amdahl!key!panthera!connelly

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!amdahl!key!panthera!connelly
From: connelly@key.amdahl.com (John Connelly)
Newsgroups: rec.games.programmer
Subject: Help! VGA mode 0x12
Keywords: VGA
Message-ID: <3966@key.COM>
Date: 7 Jan 93 20:14:50 GMT
Sender: usenet@key.COM
Reply-To: connelly@key.amdahl.com
Followup-To: connelly@key.amdahl.com
Distribution: world
Organization: Amdahl Corporation
Lines: 17