🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.programmer
Article #17

Re: DOS Kernel/COMMAND.COM

#17
From: Heath Ian Hunnicutt
Date: Thu, 30 Jul 1992 23:46
24 lines
1502 bytes
resnicks@netcom.com (Steve Resnick) writes:
>After DOS 3.0 the .EXE loader is in the DOS Kernel (MSDOS.SYS) instead of
>COMMAND.COM. The things you need to handle: INT 23 - Control C, INT 24 -
>Critical Errors (this is fun, believe me.) Depending on how you do your
>I/O and what you are going to run under, you may want to execute INT 28
>(DOS Idle) when waiting for input. I have written a shell replacement for
>DOS, and it works fairly well (at least my interface to DOS does. The 
>code has a lot of malloc/calloc errors). If you need some assistance
>feel free to ask  :) 


>Cheers!
>Steve

	Here's something I've wondered about:  When you write a shell
replacement, how do you set up the master environment?  Did you just
malloc some memory and then adjust the correct pointer in your PSP to
point to it?

Thanks,
Heath

-- 
On Saturday, April 18, 1992, this .sig became self-aware.
Technical Details
Message-ID: <1992Jul30.234641.2048@cco.caltech.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!ames!elroy.jpl.nasa.gov!nntp-server.caltech.edu!heathh
References: <1992Jul29.213404.22198@mnemosyne.cs.du.edu> <lzpmf+m.resnicks@netcom.com>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.ibm.pc.programmer,alt.msdos.programmer,comp.os.msdos.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!ames!elroy.jpl.nasa.gov!nntp-server.caltech.edu!heathh
From: heathh@cco.caltech.edu (Heath Ian Hunnicutt)
Subject: Re: DOS Kernel/COMMAND.COM
Message-ID: <1992Jul30.234641.2048@cco.caltech.edu>
Sender: news@cco.caltech.edu
Nntp-Posting-Host: bartman
Organization: California Institute of Technology, Pasadena
References: <1992Jul29.213404.22198@mnemosyne.cs.du.edu> <lzpmf+m.resnicks@netcom.com>
Distribution: usa
Date: Thu, 30 Jul 1992 23:46:41 GMT
Lines: 25