Article View: comp.os.msdos.programmer
Article #3616Re: HELP - Can't access SVGA from within C
From: Pablo Varela
Date: Thu, 12 Nov 1992 16:28
Date: Thu, 12 Nov 1992 16:28
24 lines
1547 bytes
1547 bytes
Hi!
About your problem with the 320*200*256 video mode, there is a very
easy way to handle that.
- First you set the video mode using the vidoe interrupt (#10).
- Then, the screen is just a buffer of 64000 bytes (one per pixel)
that starts at address 0A0000.
- Now, you know how to plot a single pixel (that doesn't help
much, but it's a begining).
- There are lots of interesting algorithms to draw lines, circles,
move blocks, put sprites, etc. (i have some, if you want them, just e-mail me)
- And last but not least, don't forget to restore your user's
video mode (it's very annoying to find oneself at a 40*25 text screen).
About your problem with the SVGA, I don't think there's a standard
for SVGA, so you are in big trouble.
Anyway, I think that somewhere somebody has written a BGI for some SVGA,you might be able to find it.
Hope that I've been helpful,
Pablo Varela (mtl92205@oasis.dit.upm.es)
^
|
that's Spain in Europe ---------+
Technical Details
Message-ID:
<1992Nov12.162836.2215@goya.uu.es>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!goya!oasis!mtl92205References:
<m}#@byu.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!goya!oasis!mtl92205 From: mtl92205@dit.upm.es (Pablo Varela) Subject: Re: HELP - Can't access SVGA from within C Message-ID: <1992Nov12.162836.2215@goya.uu.es> Sender: usenet@goya.uu.es Nntp-Posting-Host: oasis Organization: UUES, Asociacion de Usuarios de UNIX, Spain X-Newsreader: Tin 1.1 PL4 References: <m}#@byu.edu> Date: Thu, 12 Nov 1992 16:28:36 GMT Lines: 24