From: "Bart van den Burg" Newsgroups: comp.os.msdos.djgpp Subject: Re: assembly Date: Mon, 15 Oct 2001 18:26:40 +0200 Organization: XO Communications B.V. Lines: 32 Message-ID: <9qf2jk$2k7$1@cyan.nl.gxn.net> References: <9qf07f$1t6$1 AT cyan DOT nl DOT gxn DOT net> <9qf1s1$51v$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> NNTP-Posting-Host: asd-tel-ap02-d01-184.dial.freesurf.nl X-Trace: cyan.nl.gxn.net 1003163060 2695 62.100.14.184 (15 Oct 2001 16:24:20 GMT) X-Complaints-To: abuse AT freesurf DOT nl NNTP-Posting-Date: 15 Oct 2001 16:24:20 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com uhm... yeah how would I change to screen mode 13 with GCC then in asm? Bart "Hans-Bernhard Broeker" wrote in message news:9qf1s1$51v$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE... > Bart van den Burg wrote: > [...] > > > asm { > > mov ax, 0x13 > > int 0x10 > > } > > > what's wrong here? > > The asm syntax. This piece of source is not compatible with GCC --- > it's meant for some other compiler's idea of how inline assembly > should be written. Probably Borland's. > > Moreover, it's written in Intel-style assembly, rather than the AT&T > style expected by GCC and its tools. > > > > -- > Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) > Even if all the snow were burnt, ashes would remain.