Page 1 of 1
Help me
Posted: Sat Dec 28, 2002 10:41 pm
by Guest
I know that i can save the video buffer of screen 0 with these commands:
DEF SEG = &HB800
BSAVE "BUFFER.DAT", 0, 4000
and then I can load it with:
DEF SEG = &HB800
BLOAD "BUFFER.DAT", 0
Can I do the same in screen 9?
Thanks.
Re: Help me
Posted: Sun Dec 29, 2002 8:08 am
by frankiebaby
I believe that should work for every screen mode, well the general idea, i think u need to use &HA000, at least for screen 13H
Re: Help me
Posted: Thu Jan 16, 2003 9:20 pm
by GPfault
It will work in ALMOST any video mode. It won't work in screen 7 or 12 because they have more than one bit plane. You'll need to figure out how to change the bit plane register. Find out which OUT port to access. I used DEBUG to single step the VGA BIOS plotting a pixel, and found out which I/O port to write to. Screens 7 and 12 are not particularly useful, so I wouldn't bother with them anyway.