We all know that if we want to operate directly on text video output as implementing linear memory, we have to put the contain to print at the offset of 0B8000h in memory.

When I was implementing the code & data segment privilege switching codes in nasm, I use the value 0B8000h as the base memory address for text video output, and defined a Desciptor in the GDT part. And just after that I began to wonder whether Video Memory should be regarded as the data segment, or, otherwise the code segment? Thank you. (Newbie to IA32 assembly programming)
Posted on 2010-01-26 04:33:32 by JackCrital2005
Video memory is just data, from the CPU perspective at least (it can contain code, but code for the GPU, which won't be executed by the CPU).
Posted on 2010-01-26 04:45:12 by Scali
Thanks a lot.
Posted on 2010-01-27 17:26:38 by JackCrital2005