Re: Screen Memory

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

Abhimanyu Lad wrote:

>I found out that you can use mem_copy() to poke directly into memory
>#A0000 while in mode 19, with colors. But when poking into vga memory
>while in mode 18 results in loss of color - only black & white graphics
>appear. Why is this so ? Is there any way to get the colors.

In some graphic modes you can only access one color plane at a time.

If you've downloaded my EE editor, take a look at the VGA.E file. It has =
an example of peeking and poking screen memory, and works in mode 18. If =
there's a better way to do it, I'd be glad to hear it!

-- David Cuny

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

Search



Quick Links

User menu

Not signed in.

Misc Menu