Re: SCREEN

new topic     » goto parent     » topic index » view thread      » older message » newer message

Why don't you just read the video memory... it's either at at #B0000
or at #B800...
        Use the library function video_config to determine the current video
mode (text or graphic) in qbasic it will equal the euphoria funtion
get_pixel in graphics mode. Also you will then know its color mode
(b&w or color) color modes are at #B800 and have two bytes (one with
the color and one with character there). The black & white modes use
#B0000 and only have one byte for each character. PS Hercules
graphics mode isn't black & white, it's internally CGA (however this
is not to the subject, it might avoid confusion)

Ralf


-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
~~~~>> Ralf Nieuwenhuijsen <<~~~~
 ~~~>> nieuwen at xs4all.nl <<~~~~

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu