Board index » delphi » How write to Vga mem in protected mode?

How write to Vga mem in protected mode?

How can i write to the Vga memory ($A0000:0) in borland pascal protected
mode ?
Mem[$A000:0] doesnt work.

 

Re:How write to Vga mem in protected mode?


How to write to Vga mem in bp protected mode?

Re:How write to Vga mem in protected mode?


In article <01bd1229$196d6240$86f974c3@2-fast-4-u>,

Quote
Piotr <s...@priv2.onet.pl> wrote:
>How can i write to the Vga memory ($A0000:0) in borland pascal protected
>mode ?
>Mem[$A000:0] doesnt work.

mem[SegA000:0] works both in protected and real modes.

Osmo

Re:How write to Vga mem in protected mode?


Quote
Piotr Dudi wrote in message <01bd1311$1e799c20$7bf974c3@PiotrDudi>...
>How to write to Vga mem in bp protected mode?

Use mem[sega000:0000];

sega000 is a variable set on initialization. It is also available in real
mode, where it always will equal $a000.

Happy new year.

Michael

Other Threads