Mail Archives: djgpp/2001/03/12/10:01:33
Try http://mega.ist.utl.pt/~fjds//vga13tut1.html. From what I understand,
this compiler locks memory and direct access like you are trying to do is
not allowed by default.
-----Original Message-----
From: zibi jarosik [mailto:zibi AT dec DOT pg DOT gda DOT pl]
Sent: Monday, March 12, 2001 8:11 AM
To: djgpp AT delorie DOT com
Subject: djgpp & mode 13h without allegro
how to do it?
i have function that make mode 13h for me, but i can't set any point on
screen.
i would like to use something like that:
unsigned char far *vram=(unsigned char far *)0xA0000000;
main()
{
set13();
vram[10]=255;
}
but in protected mode memory model is different than used by borland, then
it doesn't work.
help me, pls!
--
zibi AT dec DOT pg DOT gda DOT pl
url: http://www.dec.pg.gda.pl/~zibi
UIN 57921319
gadu-gadu: 2830
Phone: (+48)606-719-992
... I'M NOT A BEE... I'M BUSY ZEE-BEE...
- Raw text -