Mail Archives: djgpp/1995/12/20/16:36:34
Xref: | news-dnh.mv.net comp.os.msdos.djgpp:3960
|
Path: | news-dnh.mv.net!mv!news.sprintlink.net!micro.internexus.net!micro.internexus.net!master
|
From: | master AT micro DOT internexus DOT net (Laszlo Vecsey)
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Allocating gobs of memory
|
Date: | 19 Dec 1995 14:11:35 GMT
|
Organization: | The Internet Nexus
|
Lines: | 27
|
Message-ID: | <4b6h6n$s03@micro.internexus.net>
|
NNTP-Posting-Host: | micro.internexus.net
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
unsigned char frames[64000][30];
Shouldn't the above piece of code work? I was hoping that in protected mode
it would be as easy as this.
Also, take a look at the following procedure. What symbol do I need to
use in front of the mode variable to get GCC to recognize it? I hope
this is possible... someone sent me a code fragment using %ebp to do it.
void videomode(int mode)
{
asm("movl mode, %eax
int $0x10
");
}
I would appreciate it if someone could point me to the specific location
of a document that describes all of GCC's inline assembly syntax... I've
spent the past week trying to find this information on the net.
--
/--------------------------------------------------------/-\
| The Internet Nexus - http://www.internexus.net/~master/ |
| --> Master? Master Lester? Master of what!? <-- / / -|
| finger master AT internexus DOT net | pgp -fka / \ \ / |
\__/---[ 3, 24, 50, 96, 496, 8128... ]---[ Les is More ]-\-/
- Raw text -