home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / ibm / pc / programm / 310 < prev    next >
Encoding:
Internet Message Format  |  1992-07-30  |  1.5 KB

  1. Xref: sparky comp.sys.ibm.pc.programmer:310 alt.msdos.programmer:2104 comp.os.msdos.programmer:8193
  2. Newsgroups: comp.sys.ibm.pc.programmer,alt.msdos.programmer,comp.os.msdos.programmer
  3. Path: sparky!uunet!sun-barr!ames!elroy.jpl.nasa.gov!nntp-server.caltech.edu!heathh
  4. From: heathh@cco.caltech.edu (Heath Ian Hunnicutt)
  5. Subject: Re: DOS Kernel/COMMAND.COM
  6. Message-ID: <1992Jul30.234641.2048@cco.caltech.edu>
  7. Sender: news@cco.caltech.edu
  8. Nntp-Posting-Host: bartman
  9. Organization: California Institute of Technology, Pasadena
  10. References: <1992Jul29.213404.22198@mnemosyne.cs.du.edu> <lzpmf+m.resnicks@netcom.com>
  11. Distribution: usa
  12. Date: Thu, 30 Jul 1992 23:46:41 GMT
  13. Lines: 25
  14.  
  15. resnicks@netcom.com (Steve Resnick) writes:
  16. >After DOS 3.0 the .EXE loader is in the DOS Kernel (MSDOS.SYS) instead of
  17. >COMMAND.COM. The things you need to handle: INT 23 - Control C, INT 24 -
  18. >Critical Errors (this is fun, believe me.) Depending on how you do your
  19. >I/O and what you are going to run under, you may want to execute INT 28
  20. >(DOS Idle) when waiting for input. I have written a shell replacement for
  21. >DOS, and it works fairly well (at least my interface to DOS does. The 
  22. >code has a lot of malloc/calloc errors). If you need some assistance
  23. >feel free to ask  :) 
  24.  
  25.  
  26. >Cheers!
  27. >Steve
  28.  
  29.     Here's something I've wondered about:  When you write a shell
  30. replacement, how do you set up the master environment?  Did you just
  31. malloc some memory and then adjust the correct pointer in your PSP to
  32. point to it?
  33.  
  34. Thanks,
  35. Heath
  36.  
  37. -- 
  38. On Saturday, April 18, 1992, this .sig became self-aware.
  39.  
  40.