home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / alt / hackers / 1661 < prev    next >
Encoding:
Text File  |  1992-11-11  |  2.3 KB  |  53 lines

  1. Nntp-Posting-Host: driva.ifi.uio.no
  2. Newsgroups: alt.hackers
  3. Path: sparky!uunet!mcsun!sunic!ugle.unit.no!nuug!ifi.uio.no!janl
  4. From: janl@ifi.uio.no (Jan Nicolai Langfeldt)
  5. Subject: "TSR" on CP/M (Was: Re: USA Today KNOWS what a hacker is...)
  6. Message-ID: <1992Nov12.110532.29999@ifi.uio.no>
  7. Sender: janl@ifi.uio.no (Nicolai Langfeldt)
  8. Organization: Folkeaksjonen for gjeninsettelse av Revolvermagasinet
  9. References: <1dotlsINNcag@bigboote.WPI.EDU> <1992Nov11.190330.445@ifi.uio.no> <12NOV199201052124@uhdvx3.dt.uh.edu>
  10. Date: Thu, 12 Nov 1992 11:05:32 GMT
  11. Approved: I am God, I don't need approval
  12. Lines: 38
  13. Originator: janl@driva.ifi.uio.no
  14.  
  15.  
  16. In article <12NOV199201052124@uhdvx3.dt.uh.edu>, 9999sc01@uhdvx3.dt.uh.edu (Alexandre Khalil) writes:
  17. >In article <1992Nov11.190330.445@ifi.uio.no>, janl@ifi.uio.no (Jan Nicolai Langfeldt) writes...
  18. >> 
  19. >> 
  20. >>OBHack: Writing a "TSR" for CP/M, to make the "Function keys" have a function.
  21. >>  I managed the part with giving the f-keys a function (bios listings are
  22. >>  handy :-), but never finnished the TSR part.
  23. >   How did you plan to do this ?
  24.  
  25. The bios-entrypoint, if I recall correctly, is somewhere in hi-mem,
  26. and pointed to by a fixed address in low mem. It indicats the highest
  27. address a program can use for storage. Move this and the bios jump
  28. table (which it points to) lower and you can get a free space up there
  29. to do whatever you want.
  30.  
  31. One way was to let the program start be started, move to hi-mem and
  32. adjust the bios-entrypoint as described above. Then change the kbd
  33. interupt vector and terminate. Another way was to let my prog start
  34. the prog the f-key definitions were to work for after moving about on
  35. things. Then exit when the "child" program died. I tried the last,
  36. but I had little experience with "parsing" (the commandline) so I
  37. didn't manage to set up the FCB's like I needed to. Thinking of it now
  38. the first one might have been easier... Oh well.
  39.  
  40. This was done in wonderfull Z80 assembly on a norwegian CP/M machine
  41. called "Tiki" which I loved. All highly unportable. --- Remember zed?
  42. And that interactive dissassembler that Tom Christiansen (?????  vague
  43. memory) wrote?? The one he was offered bucks not to release to the
  44. public because it was so powerfull? I have the disks and 'puter
  45. somewhere still...
  46.  
  47. Nicolai
  48. -- 
  49. Nicolai Langfeldt, "Bugs made while you wait"             
  50. Internet: janl@ifi.uio.no
  51.  
  52.