Mail Archives: djgpp/1992/02/16/16:29:56
I want to write out to VGA memory for this mode x stuff that I am working
on, but I can't seem to be able to do it the normal way ( i.e. making
ES point 0xA000 and altering DI to point to the individual pixel ).
This is probably due to the fact that segments no longer exist and
that VGA memory has been remapped. So, in my assembly code ( using
i386 BSD style assembly ) could someone show me how to alter a single
pixel/address where I used to use:
mov ax, 0a000h
mov es, ax
mov di, [ value wherever ]
rep stosb
How would this translate to the protected mode environment?
Brian
- Raw text -