home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / atari / st / tech / 4697 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  1.9 KB

  1. Path: sparky!uunet!decwrl!access.usask.ca!kakwa.ucs.ualberta.ca!ersys!mforget
  2. From: mforget@ersys.edmonton.ab.ca (Michel Forget)
  3. Newsgroups: comp.sys.atari.st.tech
  4. Subject: How do I replace an existing GemDos routine or add a new one?
  5. Summary: Adding new system calls for a global ANSI emulator.
  6. Keywords: ANSI, GemDos, Bios, Xbios, REPLACE
  7. Message-ID: <B76NqB1w165w@ersys.edmonton.ab.ca>
  8. Date: Sun, 06 Sep 92 01:47:46 MDT
  9. Organization: Edmonton Remote Systems #1, Edmonton, AB, Canada
  10. Lines: 32
  11.  
  12. Hi,
  13.  
  14. Could someone tell me exactly how to replace an existing GemDos function?  I
  15. can assume that the first step would be to write the routine in the form of a
  16. program and then have the program terminate and stay resident (ptermres).  What
  17. I do not know how to do is replace the routine.
  18.  
  19. I have also seen programs (MiNT, for example) that add new system calls.  How
  20. is this done?  Is it simillar to the method for replacing calls?
  21.  
  22. The reason I am asking about this is I am thinking about writing an ANSI
  23. emulator, and I would like to see if it is feasible to write it in the form of
  24. a TSR that any program could use simply by calling the appropriate routines.
  25.  
  26. For example, the program in use could take the input from the serial port, and
  27. if it is in ANSI mode, it could pass all output to the screen through a new
  28. system call that would catch the escape sequences and process them
  29. appropriately.
  30.  
  31. To me, this would be better than an ANSI emulator that is only available in one
  32. terminal program.
  33.  
  34. Any help would be appreciated.
  35.  
  36. <<  ------------------------------------------  >>
  37. <<        mforget@ersys.edmonton.ab.ca          >>
  38. <<  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  >>
  39. <<               Michel Forget                  >>
  40. <<   The Key:  Spirit over mind over matter.    >>
  41. <<  ------------------------------------------  >>
  42. <<  *Author of ShadowTerm II for the Atari ST*  >>
  43. <<  ------------------------------------------  >>
  44.