Xref: news-dnh.mv.net comp.os.msdos.djgpp:3964 Path: news-dnh.mv.net!mv!news.sprintlink.net!rain.fr!jussieu.fr!math.ohio-state.edu!usc!chi-news.cic.net!newsfeed.internetmci.com!EU.net!Norway.EU.net!funcom.no!not-for-mail From: engstad AT funcom DOT com (Paal-Kristian Engstad) Newsgroups: comp.os.msdos.djgpp Subject: Re: Allocating gobs of memory Date: 20 Dec 1995 09:53:17 GMT Organization: Funcom Productions. Lines: 35 Message-ID: <4b8med$ni4@odin.funcom.no> References: <4b6h6n$s03 AT micro DOT internexus DOT net> NNTP-Posting-Host: odin.funcom.no To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Laszlo Vecsey (master AT micro DOT internexus DOT net) wrote: : void videomode(int mode) : { : asm("movl mode, %eax : int $0x10 : "); : } Perhaps: void videomode(int mode) { asm ("int $0x10" : /* Outputs */ : /* Inputs */ "eax" (mode) : /* Affected registers */ ); } : 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. I got most of my information from the source code of Linux, the Unix operating system for PCs. PKE. : -- : /--------------------------------------------------------/-\ : | 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 ]-\-/ :