home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 2402 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.2 KB

  1. Path: Hermes.grace.irl.cri.nz!maths!peterm
  2. From: peterm@maths.grace.cri.nz (Peter McGavin)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Demo/game to OS frien
  5. Date: 31 Jan 1996 04:28:31 GMT
  6. Organization: Industrial Research Ltd
  7. Distribution: inet
  8. Message-ID: <PETERM.96Jan31172831@tui.maths.irl.cri.nz>
  9. References: <4e8h9j$mp5@sinsen.sn.no> <4e8pk2$ntm@serpens.rhein.de>
  10.     <3873.6603T379T952@wr.com.au>
  11. NNTP-Posting-Host: tui.grace.cri.nz
  12. In-reply-to: accolyte@wr.com.au's message of 30 Jan 1996 05:20:28 GMT
  13.  
  14. accolyte@wr.com.au (Accolyte) writes:
  15. >>>Give  me  a  reason I shouldn't believe it.  Get VBR, do a LoadView(0),
  16. >>>set  the DMA you need, set the interrupts you need, do a Forbid().  You
  17. >>>don't really need much more to get it working.  After you are finished,
  18. >>>just put everything back the way it was.
  19. >>
  20. >> You are already dead at that point because you don't know how to
  21. >> handle incoming interrupts.
  22. >
  23. >What??!? :) I know very well how to handle interrupts. You don't need
  24. >the system for it.
  25.  
  26. Do you know how to handle interrupts from my GVP Spectrum card?  From
  27. my WarpSCSI?  From my network card?  From my brother's OpalVision or
  28. Z3FastLane?  From MPEG cards?  From hardware that hasn't been designed
  29. yet (like new Amigas)?  Disabling any of those interrupts for too long
  30. can cause all sorts of nasty things to happen, like lockups, network
  31. failures, corrupt displays and/or corrupt hard disks.
  32.  
  33. In my experience, most hardware-level coders can't even program the
  34. custom interrupts right.  They ignore VBR and/or clear the interrupt
  35. too close before the RTE (which doesn't allow for propagation time
  36. through the custom chips on fast Amigas).  Or their interrupt routines
  37. don't cope efficiently (or at all) with all kinds of keyboards ---
  38. much better to use an input-handler.
  39.  
  40. >Name some OS-friendly games, and some hardware-bashing game. Then
  41. >lets compare the quality.
  42.  
  43. OS-compliant games include Diamond Caves, Gloom Deluxe, my own
  44. Spectrum Emulator v1.7, Colonization, Dune II, Might & Magic III,
  45. Angband, Poing, F18 Interceptor, etc.  I tend to forget about
  46. hardware-bashing ones.  How about Shadow of the Beast?  It doesn't run
  47. on anything around here.
  48. -- 
  49. Peter McGavin.   (p.mcgavin@irl.cri.nz)
  50.