home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / atari / st / tech / 6825 < prev    next >
Encoding:
Internet Message Format  |  1993-01-24  |  1.1 KB

  1. Path: sparky!uunet!mcsun!sun4nl!wtrlnd!nextjk!fidonet!p15.f202.n281.z2.fidonet
  2. From: Vincent_Partington@p15.f202.n281.z2.fidonet
  3. Newsgroups: comp.sys.atari.st.tech
  4. Subject: Re: Using PC-relative addressing with TSRs
  5. Message-ID: <2b62425e@p15.f202.n281.z2.fidonet>
  6. Date: Sun, 24 Jan 93 08:14:30 +0100
  7. Reply-To: p15.f202.n281.z2.fidonet!Vincent_Partington@nextjk.wlink.nl
  8. Distribution: world
  9. X-FSC-PID: LED 1.00
  10. Lines: 21
  11.  
  12. In a message of <Sat 23 Jan 93 05:47>, Conan Ford (2:281/202.0) writes:
  13.  
  14.  CF> I was writing a TSR and couldn't figure out exactly why it was
  15.  CF> bombing. Is it okay to use the PC in a VBL?
  16.  
  17. Of course. PC-relative addressing ALWAYS works, but if those BVL routines
  18. are just started from within a normal program that gets relocated, not from
  19. the bootsector or something, you don't HAVE to use PC-relative addressing.
  20.  
  21. But you cannot use any system calls from within the VBL and you should save
  22. all registers that you use before your routine and restore them afterwards.
  23.  
  24. Ta!
  25.     Vincent
  26.  
  27. FidoNet : 2:281/202.15
  28. NeST    : 90:500/202.15
  29. Usenet  : vincent@nextjk.wlink.nl
  30.  
  31. --- MARSmail v1.20/4D
  32.  * Origin: For full duplex transfers, use Jekyll (2:281/202.15)
  33.