This is how I did it in nasm, but on its own (without gcc).
For 320*200 I set GS base=0x00A0000, limit=320*200-1 then go
mov gs:[x+320*y],colour
I'm assuming you're in PM already cause of gcc
|
Results 1 to 4 of 4
Thread: Protected mode VGAThreaded View
|
Click Here to Expand Forum to Full Width |