home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!decwrl!access.usask.ca!kakwa.ucs.ualberta.ca!ersys!mforget
- From: mforget@ersys.edmonton.ab.ca (Michel Forget)
- Newsgroups: comp.sys.atari.st.tech
- Subject: How do I replace an existing GemDos routine or add a new one?
- Summary: Adding new system calls for a global ANSI emulator.
- Keywords: ANSI, GemDos, Bios, Xbios, REPLACE
- Message-ID: <B76NqB1w165w@ersys.edmonton.ab.ca>
- Date: Sun, 06 Sep 92 01:47:46 MDT
- Organization: Edmonton Remote Systems #1, Edmonton, AB, Canada
- Lines: 32
-
- Hi,
-
- Could someone tell me exactly how to replace an existing GemDos function? I
- can assume that the first step would be to write the routine in the form of a
- program and then have the program terminate and stay resident (ptermres). What
- I do not know how to do is replace the routine.
-
- I have also seen programs (MiNT, for example) that add new system calls. How
- is this done? Is it simillar to the method for replacing calls?
-
- The reason I am asking about this is I am thinking about writing an ANSI
- emulator, and I would like to see if it is feasible to write it in the form of
- a TSR that any program could use simply by calling the appropriate routines.
-
- For example, the program in use could take the input from the serial port, and
- if it is in ANSI mode, it could pass all output to the screen through a new
- system call that would catch the escape sequences and process them
- appropriately.
-
- To me, this would be better than an ANSI emulator that is only available in one
- terminal program.
-
- Any help would be appreciated.
-
- << ------------------------------------------ >>
- << mforget@ersys.edmonton.ab.ca >>
- << ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>
- << Michel Forget >>
- << The Key: Spirit over mind over matter. >>
- << ------------------------------------------ >>
- << *Author of ShadowTerm II for the Atari ST* >>
- << ------------------------------------------ >>
-