Re: low level graphics
- From: jasen <jasen@xxxxxxxxxxx>
- Date: 23 Aug 2006 10:01:45 GMT
On 2006-08-22, dave frost <dj.frost@xxxxxxxxxxxxxxxxxxxxxx> wrote:
Ive found a lot of material on the net about asm progrmaming in mode
13h, but its all in dos, a lot like this:
;Change the video mode to 13h
xor ah, ah
mov al, 13h
int 10h
;Prepare for writing to the video buffer
mov di, 0a000h
mov es, di
xor di, di
Now im sure this would compile under linux,
nasm could compile that, it wouldn't do anything useful when you ran it
though.
but i expect id get a seg fault or something due to the video memory
not being in my process memory space, correct ?
yup.
which means i would write a kernel driver correct ?
not needed. svgalib can get you mode 13h I think.
or if you run dosemu in an xterm it'll do an emulated mode13 :)
--
Bye.
Jasen
.
- References:
- low level graphics
- From: dave frost
- low level graphics
- Prev by Date: Re: Client Server Application Not working Two Systems
- Next by Date: Re: low level graphics
- Previous by thread: Re: low level graphics
- Next by thread: Flash : Partition Boundaries
- Index(es):
Relevant Pages
|