Re: Controling DOS Apps

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

On Sunday 22 July 2001 11:47, sephiroth _ wrote:

> 0xc000 is for BIOS extension you can add yourself, 0xb800 if for color,
> and 0xb000 is for mono. i think 0xa000 is used for some graphics modes

I think you can extract the contents of a standard 80x25 vga display with 
peek({#B800, 4000}) -- 80x25 = 2000 characters, but each character 
also comes with an extra byte which stores the color attributes. 
To extract just the text, use a loop by 2.

You could probably do the same thing with save_text_image()

Regards,
Irv

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

Search



Quick Links

User menu

Not signed in.

Misc Menu