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

  1. Xref: sparky comp.sys.ibm.pc.programmer:307 alt.msdos.programmer:2103 comp.os.msdos.programmer:8180
  2. Newsgroups: comp.sys.ibm.pc.programmer,alt.msdos.programmer,comp.os.msdos.programmer
  3. Path: sparky!uunet!darwin.sura.net!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!The-Star.honeywell.com!umn.edu!csus.edu!netcomsv!mork!resnicks
  4. From: resnicks@netcom.com (Steve Resnick)
  5. Subject: Re: DOS Kernel/COMMAND.COM
  6. Message-ID: <lzpmf+m.resnicks@netcom.com>
  7. Date: Thu, 30 Jul 92 17:05:32 GMT
  8. Organization: What? Me organized? You should see my checkbook!
  9. References: <1992Jul29.213404.22198@mnemosyne.cs.du.edu>
  10. Distribution: usa
  11. Lines: 37
  12.  
  13. In article <1992Jul29.213404.22198@mnemosyne.cs.du.edu> cnanayak@nyx.cs.du.edu (Chevan Nanayakkara @ Nyx) writes:
  14. >I was wondering if someone could help me locate some information about writing
  15. >a command.com replacement for DOS.  I've read through all my books and they
  16. >pretty much say "create a .COM file assign it to the SHELL environment variable
  17. >and from there it is a substitute for COMMAND.COM", pretty rotten advice.  I'd
  18. >like to know what services I'd have to take care of and how.  Also how do I 
  19. >find a list of what internal services command.com performs.  I've got some code
  20. >I'm plugging through but if someone can point me in the direction of some text
  21. >I would appreciate it very much.  I've never done a lot of systems programming
  22. >before so something lucid would be nice (although that is probably asking a
  23. >lot).  Thanks very much in advance,
  24. >--
  25. >---Tear Here Please
  26. >Chevan (Sleepy) Nanayakkara  -  csnanaya@cadehp0.eng.utah.edu - best
  27. >or chevan.nanayakkara@m.cc.utah.edu or cnanayak@nyx.cs.du.edu
  28. >Posting from NYX! - The *BEST* Public Access NEWS site in the Universe :-).
  29.  
  30.  
  31. After DOS 3.0 the .EXE loader is in the DOS Kernel (MSDOS.SYS) instead of
  32. COMMAND.COM. The things you need to handle: INT 23 - Control C, INT 24 -
  33. Critical Errors (this is fun, believe me.) Depending on how you do your
  34. I/O and what you are going to run under, you may want to execute INT 28
  35. (DOS Idle) when waiting for input. I have written a shell replacement for
  36. DOS, and it works fairly well (at least my interface to DOS does. The 
  37. code has a lot of malloc/calloc errors). If you need some assistance
  38. feel free to ask  :) 
  39.  
  40.  
  41. Cheers!
  42. Steve
  43.  
  44. -- 
  45. ------------------------------------------------------------------------------
  46. Steve Resnick - resnicks@netcom.com steve@axebbs.kludge.com FidoNet: 1:143/105
  47. "I just want to be the one you run to, I just want to be the one you come to.
  48. I just want to be there for someone, when the night comes" - J. Cocker
  49. -----------------------------------------------------------------------------
  50.