
Bload and bsave in screen 12
: I have these commands at the end of a program that draws stuff in screen
: 12(these are the commands right after all the drawing):
: DEF SEG = &HA000
: BSAVE "board.bsv", 0, 65535
: DEF SEG
: I later load the file I saved, with a file with only these commands:
: SCREEN 12
: DEF SEG = &HA000
: BLOAD "board.bsv"
: DEF SEG
: f$ = input$(1)'wait for key
: When I run the program,nothing shows up on the screen.What am I doing wrong?
This is a very common mistake, but you need to realize that SCREEN 12
has 4 - bit planes. What you're doing will work for SCREEN 13.
Go to the ABC Archives and enter the EGA/VGA section of the page.
There's a few examples in there to help you save/load the four bit planes
properly.
ABC Archives: http://www.basicguru.com/abc/
--
William Yu