
QBasic; putting total screen on disk when SCREEN-mode = 13
Quote:
>I can put the whole screen in disk when in screen-mode 0, with the
>statements shown below.
>Can you tell me how to do this when in screen-mode 9 or other?
>My problem is, that these statemens don't work in other modes; do you have
>to use another adress?
>(This is a question of my 15 year old son Roel.)
>REM Saving the screen
>DEF SEG = &HB800
>BSAVE "filename",0
>REM loading the screen
>DEF SEG = &HB800
>BLOAD "filename"
Yep, you're right. &hB800 only works for page 0 of the colored text screen.
The rest of the graphic screens are (usually) at &hA000 but all the color
screen (except 13h) are broken into planes so it's a bit more compilicated
that one call.
____ _ ____ ____ _____
| _ \ / \ / ___) __ | ___)(_ _)
| |_) / _ \ \____\/ \| _) | |
|____//_/ \_\(____/\__/|_| |_|
www.basicguru.com/schullian