home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / gnu / gcc / help / 2085 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  2.3 KB

  1. Xref: sparky gnu.gcc.help:2085 comp.os.msdos.programmer:9131
  2. Newsgroups: gnu.gcc.help,comp.os.msdos.programmer
  3. Path: sparky!uunet!spool.mu.edu!sdd.hp.com!ux1.cso.uiuc.edu!news.cso.uiuc.edu!uxa.cso.uiuc.edu!jas37876
  4. From: jas37876@uxa.cso.uiuc.edu (John A. Slagel)
  5. Subject: Re: djgpp 2.2.2 Q's: mouse/svga/assembler/bios
  6. References: <25586@castle.ed.ac.uk>
  7. Message-ID: <Bu80G9.LFv@news.cso.uiuc.edu>
  8. Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
  9. Organization: University of Illinois at Urbana
  10. Distribution: gnu, comp
  11. Date: Mon, 7 Sep 1992 18:24:08 GMT
  12. Lines: 39
  13.  
  14.      1. I think this is about the only place I've seen DJGPP problems.
  15.  
  16.      2. Why are you worrying about the palette? There are routines built
  17.     in for setting the pallette in DJGPP.  GrSetColor or something.
  18.     Check out the <graphics.h> file.
  19.  
  20.      3. Why are you worrying about the mouse support? There are routines
  21.     built into for using the mouse in DJGPP.  Check out the file 
  22.     <mouse.h>.
  23.  
  24.      4. Interrupts--- Who knows? I think you need to put them into the go32
  25.     code-- not your program code.  I'm trying to re-write the keyboard
  26.     interrupt as we speak, but right now I'm reading the Intel 386
  27.     Programmer's Ref Manual trying to figure out the difference 
  28.     between exceptions and interrupts, and why there's no code in
  29.     exphndlr.c to handle int 9h. But, someday, I'll figure it out.
  30.  
  31.      5. The assembly notation: Here's one thing I found out:
  32.  
  33.                8(%esi)      <==>  [8+esi]
  34.            4(%esi,2)    <==>  [4+esi*2]    (I think)
  35.            7(%esi,%edi) <==>  [7+esi+edi]  (I think)
  36.  
  37.  
  38.  
  39.       I have to say this: I have 3 compilers on my computer-- MSC7, BC3,
  40.       and DJGPP.  If you go by looks and packaging, MSC7 and BC3 are the
  41.       better compilers.  If you go by performance, power, the source
  42.       code to the libraries, the linear 1-meg SVGA memory, there is NOTHING
  43.       that beats DJGPP... The compiler that made me realize why I bought a
  44.       386 intead of a 286.  I actually only keep BC3 on my hard disk only to 
  45.       recompile my attempts at adding keyboard interrupts to GO32 !!
  46.       A good job by the author !!!!
  47.  
  48. -- 
  49. ------------------------------------------------------------------------
  50.  John A. Slagel     "My old man used to tell me, before he left this
  51.  j-slagel1@uiuc.edu  shitty world, never chase buses or women- you
  52.                      always get left behind." -The Marlboro Man
  53.