How to Bsave Screen 12 picture 
Author Message
 How to Bsave Screen 12 picture

I want to know, how to BSAVE screen image of SCREEN 12 in QBasic to file,
and how to load it later.

Thanx



Thu, 27 Jul 2000 03:00:00 GMT  
 How to Bsave Screen 12 picture

Quote:

>I want to know, how to BSAVE screen image of SCREEN 12 in QBasic to file,
>and how to load it later.

Screen 12 requires more than 64k to display so you'll have to split the screen
into 3? files  to get it all saved and restored. A real mess, hugh?

If you're using powerbasic I've got the code to save it plane by plane into
any BINARY file that is a bit faster (and easier to use) than BSAVE.

C'ya,

  ____    _    ____      ____  _____
 |  _ \  / \  / ___) __ | ___)(_   _)
 | |_)  / _ \ \____\/  \|  _)   | |
 |____//_/ \_\(____/\__/|_|     |_|

     www.basicguru.com/schullian



Sat, 29 Jul 2000 03:00:00 GMT  
 How to Bsave Screen 12 picture



Quote:
>Screen 12 requires more than 64k to display so you'll have to split the screen
>into 3? files  to get it all saved and restored. A real mess, hugh?

>If you're using PowerBASIC I've got the code to save it plane by plane into
>any BINARY file that is a bit faster (and easier to use) than BSAVE.

Hmmm!

Could you please forward me the code to read these planes?

I think I can adapt my PCX-saver for screen 12, once I know exactly where
to locate the various planes.

--
Marc van den Dikkenberg
-----------------------
The PowerBasic Archives
http://www.xs4all.nl/~excel/pb.html



Sun, 30 Jul 2000 03:00:00 GMT  
 How to Bsave Screen 12 picture


Quote:


>>Screen 12 requires more than 64k to display so you'll have to split the screen
>>into 3? files  to get it all saved and restored. A real mess, hugh?

>>If you're using PowerBASIC I've got the code to save it plane by plane into
>>any BINARY file that is a bit faster (and easier to use) than BSAVE.
>Hmmm!
>Could you please forward me the code to read these planes?
>I think I can adapt my PCX-saver for screen 12, once I know exactly where
>to locate the various planes.

Mark,

Haha. Must be nice. Those planes are not located in RAM but on your
videocard( like the videoRAM is btw). If you view a recursive
definition youre probably right...

Quote:
>--
>Marc van den Dikkenberg
>-----------------------
>The PowerBasic Archives
>http://www.xs4all.nl/~excel/pb.html

Well I guess I have to look that one up in my library called
deja news....

Rick



Sat, 05 Aug 2000 03:00:00 GMT  
 How to Bsave Screen 12 picture

Quote:

>>I think I can adapt my PCX-saver for screen 12, once I know exactly where
>>to locate the various planes.
>Mark,
>Haha. Must be nice. Those planes are not located in RAM but on your
>videocard( like the videoRAM is btw). If you view a recursive
>definition youre probably right...

Okay, I admit that this wasn't necesarily the right terminology.
I am fully aware that this data is stored the memory on the videocard,
starting at &HA000 in the global memory map.

When I was searching memory, I found the 'blue' plane at &HA000, but
couldn't find any of the others. I was unaware that the other planes could
be accessed at the very same location after some system calls.

(Since all the RAM / ROM / VideoRAM is thrown together in the global memory
map & addressing system, it's a thin line from a programmers point of view
anyway, I would say)

--
Marc van den Dikkenberg
-----------------------
The PowerBasic Archives
http://www.xs4all.nl/~excel/pb.html



Sun, 06 Aug 2000 03:00:00 GMT  
 How to Bsave Screen 12 picture


Quote:

>>>I think I can adapt my PCX-saver for screen 12, once I know exactly where
>>>to locate the various planes.
>>Mark,
>>Haha. Must be nice. Those planes are not located in RAM but on your
>>videocard( like the videoRAM is btw). If you view a recursive
>>definition youre probably right...
>Okay, I admit that this wasn't necesarily the right terminology.
>I am fully aware that this data is stored the memory on the videocard,
>starting at &HA000 in the global memory map.
>When I was searching memory, I found the 'blue' plane at &HA000, but
>couldn't find any of the others. I was unaware that the other planes could
>be accessed at the very same location after some system calls.

Well there was one day when I was searching and I found a plane in my
kitchen ;(= . I wonder why it was all black..

Also I remember that someday when looking at "soldaat van Oranje"
we discovered they had only two planes flying circles like hell to
give the image of a real big attack on Arnheim..

Aach,.... provider shut me down[probably off topic..]

Rick

Quote:
>(Since all the RAM / ROM / VideoRAM is thrown together in the global memory
>map & addressing system, it's a thin line from a programmers point of view
>anyway, I would say)

Well we have to wait and see boot sectors from the on-forever
computers with win 98..

Quote:
>--
>Marc van den Dikkenberg
>-----------------------
>The PowerBasic Archives
>http://www.xs4all.nl/~excel/pb.html

Rick
[I like fishing far to much to let people fish on dry grounds...]


Thu, 10 Aug 2000 03:00:00 GMT  
 How to Bsave Screen 12 picture


Quote:

>Could you please forward me the code to read these planes?

>I think I can adapt my PCX-saver for screen 12, once I know exactly where
>to locate the various planes.

If I've got all my numbers right..

OUT &h03CE,4                          ' VGA read
FOR P% = 3 TO 0 STEP -1               ' once for each plane
  OUT &h03CF,P%                       ' set plane #
  ' READ 38400bytes from &hA000:0000  ' do it
NEXT                                  '
OUT &h03C4,02                         ' reset VGA
OUT &h03C4,15                         '

  ____    _    ____      ____  _____
 |  _ \  / \  / ___) __ | ___)(_   _)
 | |_)  / _ \ \____\/  \|  _)   | |
 |____//_/ \_\(____/\__/|_|     |_|

     www.basicguru.com/schullian



Sat, 12 Aug 2000 03:00:00 GMT  
 
 [ 7 post ] 

 Relevant Pages 

1. Bload and bsave in screen 12

2. BLOAD/BSAVE Screen 12

3. GETTING Screen 12 and saving using BSAVE

4. faster PSET for SCREEN 12 / memory layout of SCREEN 12

5. save/load SCREEN 12 screens in QBasic?

6. Screen 12 backgrounds in QB 4.5

7. 80x60 in PowerBASIC Screen 12

8. Screen 12

9. Address for Screen 11,12,13?

10. Getting screen 12 in ASIC

11. QBasic Screen 12 Text

12. Background Colour in QBasic screen mode 12

 

 
Powered by phpBB® Forum Software