🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: de.comp.lang.c++
Article #731

Help with TWEAKED VGA

#731
From: Scott Balay
Date: Sun, 05 Nov 1995 16:22
27 lines
1962 bytes
Hello all, I am looking for help with tweaked VGA modes.  I am working
on a plasma demo that works by moving every other line to a separate
path, so you get a crude illusion of multiple layers.  Anyways, I am
looking for some code to use a tweaked VGA mode with a bunch of lines
along the y-axis (like 400 or 480 or even 240)... as long as its more
than 320x200.  I have never used tweaked modes before, and the main
operation I would like to do is repeatedly move one line from memory
onto the screen.  Is there an easy way to do this?  In 320x200 13h
mode, the memory is linear and its very easy.  In tweaked modes, I'll
probably have to switch planes when writing every pixel or something?
Is that going to be too slow to be worth it?  Basically, I need to
copy a variable onto the screen that will occupy one line of the
video,
then perform some changes, and keep copying and filling up the screen,
line by line, so the entire screen is constantly in motion.  It works
fine in 13h mode, but the resolution is too crude for the speed it
goes.  Can anyone help me?  I need some code and a bit of explanation
on how to do something like what I want to do, and maybe some info on
how to do some other common operations.  A lot of the "tutorials" I
have seen assume the user knows too much about tweaked modes.
Anyhow, PLEASE EMAIL ME if you can help.  I probably will not get
the message if you leave a message on a newsgroup.  Check out the
old plasmademo I made in Pascal (now I need help with C) on my
homepage to see what I am doing if you are curious:
http://www.nilenet.com/~vertigo

Thanks a lot, all!!
Technical Details
Message-ID: <47ikul$g1i@thoth.nilenet.com>
Path: arc1-ca.pugleaf.net!thoth.nilenet.com!usenet

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!thoth.nilenet.com!usenet
From: vertigo@nilenet.com (Scott Balay)
Newsgroups: de.comp.lang.c++
Subject: Help with TWEAKED VGA
Date: Sun, 05 Nov 1995 16:22:34 GMT
Organization: NileNet, Ltd.
Message-ID: <47ikul$g1i@thoth.nilenet.com>
NNTP-Posting-Host: slip14.nilenet.com
X-Newsreader: Forte Free Agent 1.0.82