home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / alt / sys / amiga / demos / 1667 < prev    next >
Encoding:
Text File  |  1992-11-15  |  1.1 KB  |  27 lines

  1. Newsgroups: alt.sys.amiga.demos
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!ira.uka.de!news.belwue.de!math.fu-berlin.de!informatik.tu-muenchen.de!unknown!erlebach
  3. From: erlebach@Informatik.TU-Muenchen.DE (Thomas Erlebach)
  4. Subject: Re: Writing a StarField. Which method is best?
  5. References: <1992Nov7.104910.60476@cc.usu.edu> <1992Nov11.131803.1276@ifi.uio.no> <1948@lysator.liu.se> <erlebach.721646577@unknown> <1992Nov13.152639.28756@ifi.uio.no>
  6. Sender: news@Informatik.TU-Muenchen.DE (USENET Newssystem)
  7. Organization: Technische Universitaet Muenchen, Germany
  8. Date: Mon, 16 Nov 1992 10:21:09 GMT
  9. Message-ID: <erlebach.721909269@unknown>
  10. Lines: 15
  11.  
  12. larshaug@ifi.uio.no (Lars Haugseth) writes:
  13.  
  14. >> Before he uses the stack again, he restores the original stack pointer.
  15. >> This programming technique is perfectly allright.
  16.  
  17. >As long as I have turn off all interrupts, than is...
  18.  
  19. Unless you switch to SuperVisor mode (which you didn't in your
  20. starfield routine, as far as I saw), you needn't turn off all
  21. interrupts. When an interrupt occurs, the system uses the
  22. SuperVisor-Stackpointer, which is not changed by your
  23.         LEA $1000,a7
  24.  
  25.                 E.T.
  26.  
  27.