🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #388

Re: djgpp 2.2.2 Q's: mouse/svga/assembler/bios

#388
From: John A. Slagel
Date: Mon, 07 Sep 1992 18:24
39 lines
2383 bytes
     1. I think this is about the only place I've seen DJGPP problems.

     2. Why are you worrying about the palette? There are routines built
	in for setting the pallette in DJGPP.  GrSetColor or something.
	Check out the <graphics.h> file.

     3. Why are you worrying about the mouse support? There are routines
	built into for using the mouse in DJGPP.  Check out the file 
	<mouse.h>.

     4. Interrupts--- Who knows? I think you need to put them into the go32
	code-- not your program code.  I'm trying to re-write the keyboard
	interrupt as we speak, but right now I'm reading the Intel 386
	Programmer's Ref Manual trying to figure out the difference 
	between exceptions and interrupts, and why there's no code in
	exphndlr.c to handle int 9h. But, someday, I'll figure it out.

     5. The assembly notation: Here's one thing I found out:

               8(%esi)      <==>  [8+esi]
	       4(%esi,2)    <==>  [4+esi*2]    (I think)
	       7(%esi,%edi) <==>  [7+esi+edi]  (I think)



      I have to say this: I have 3 compilers on my computer-- MSC7, BC3,
      and DJGPP.  If you go by looks and packaging, MSC7 and BC3 are the
      better compilers.  If you go by performance, power, the source
      code to the libraries, the linear 1-meg SVGA memory, there is NOTHING
      that beats DJGPP... The compiler that made me realize why I bought a
      386 intead of a 286.  I actually only keep BC3 on my hard disk only to 
      recompile my attempts at adding keyboard interrupts to GO32 !!
      A good job by the author !!!!

-- 
------------------------------------------------------------------------
 John A. Slagel     "My old man used to tell me, before he left this
 j-slagel1@uiuc.edu  shitty world, never chase buses or women- you
                     always get left behind." -The Marlboro Man
Technical Details
Message-ID: <Bu80G9.LFv@news.cso.uiuc.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!sdd.hp.com!ux1.cso.uiuc.edu!news.cso.uiuc.edu!uxa.cso.uiuc.edu!jas37876
References: <25586@castle.ed.ac.uk>

Show Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.help,comp.os.msdos.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!sdd.hp.com!ux1.cso.uiuc.edu!news.cso.uiuc.edu!uxa.cso.uiuc.edu!jas37876
From: jas37876@uxa.cso.uiuc.edu (John A. Slagel)
Subject: Re: djgpp 2.2.2 Q's: mouse/svga/assembler/bios
References: <25586@castle.ed.ac.uk>
Message-ID: <Bu80G9.LFv@news.cso.uiuc.edu>
Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
Organization: University of Illinois at Urbana
Distribution: gnu, comp
Date: Mon, 7 Sep 1992 18:24:08 GMT
Lines: 39