Mail Archives: djgpp/1996/10/09/14:58:29
Dave McNeill (dmcneill AT pne DOT co DOT uk) wrote:
: John David Doty <doty+@andrew.cmu.edu> wrote:
: >How do I get to the VGA memory in assembly? No C- straight assembly via
: >as. All of the examples that I've seen involve using C for at least
: >part of the setup.
: i use the following:
: call __go32_conventional_mem_selector
: movw %ax,%es
: movl $0x000A0000,%edi
: %es:%edi can now be used to write to VGA memory.
: dave
You may want to check out the Graphics Tutorial available on
http://www.delorie.com/djgpp; it covers everything you need.
-David :)
-----------------------------------------------------------------------------
David M. Barrett :) | University of Michigan / Vizlab Counselor
dbarrett AT engin DOT umich DOT edu | http://www-personal.engin.umich.edu/~dbarrett
-----------------------------------------------------------------------------
- Raw text -