Mail Archives: djgpp/1995/01/23/03:19:08
> > I'd like to access directly to the video memory. I'm using the 13h mode.
> > I know the address=0xa0000000, but this is no available under dpmi (i guess).
> > The PrimaryScreen only points me to the text screen.
> >
>
> I think the address should actually be 0x000a0000 if you are referring to what
> is normally under a segmented system SEG 0xa0000 and OFFSET 0x0000 as a real
> address is equal to (SEG * 0x10) + OFFSET. using DJGPP you can add the real
> address with 0xe0000000 to access it i.e. 0xe00a0000 for VGA video memory.
That's one of the things I tried getting nice computer crashes , 8)
I think I'm going to try the <farptr.h> option. Thank you anyway.
frankie
- Raw text -