BBS: Inland Empire Archive Date: 04-27-92 (09:44) Number: 113 From: MATT HART Refer#: NONE To: TYLER TOMSEN Recvd: NO Subj: Second screen on screen 1 Conf: (2) Quik_Bas
TT> Does anyone out there know of a way to TT> use a second screen on SCREEN 13 in TT> Qbasic, I am working on a project to write a game, and a second screen TT> (like the one in SCREEN 9 would be very TT> helpful) Thanx to anyone that could Not like you can on screen 9. However, the screen layout on mode 13 is very simple - 1 byte per pixel starting at Segment A000:0000 for 64K of screen data. This makes it easy to store extra screens in memory - like an integer array or long int array, and POKE them in when needed. If you have access to an assembler, I have a fast memory copy routine I could post that would make the screens appear almost instantly. OR you could store screens on DISK and retrieve them when convenient. --- * Origin: Midnight Micro! V.32/REL (918)451-3306 (1:170/600)
Books at Amazon:
Back to BASIC: The History, Corruption, and Future of the Language
Hackers: Heroes of the Computer Revolution (including Tiny BASIC)
Go to: The Story of the Math Majors, Bridge Players, Engineers, Chess Wizards, Scientists and Iconoclasts who were the Hero Programmers of the Software Revolution
The Advent of the Algorithm: The Idea that Rules the World
Moths in the Machine: The Power and Perils of Programming
Mastering Visual Basic .NET