Article View: net.micro.pc
Article #7490Re: Help Wanted (Please!)
From: R.D.Eager
Date: Fri, 01 Aug 1986 09:29
Date: Fri, 01 Aug 1986 09:29
28 lines
1077 bytes
1077 bytes
To make COMMAND.COM read the AUTOEXEC.BAT file, you must include the /P
(Permanent copy) switch.
To get the number of paragraphs, I do something like:
ORG 0
$BEGIN=$
.
.
.
[after last byte of wanted code]
SIZE=$-$BEGIN
[arithmetic to round SIZE to next 16 byte boundary]
.
.
MOV DX,(OFFSET SIZE SHR 4) ; is this the right register? no manual here...
.
That should do it.
--
Bob Eager
rde@ukc.UUCP
rde@ukc
...!mcvax!ukc!rde
Phone: +44 227 66822 ext 7589
Technical Details
Message-ID:
<1754@eagle.ukc.ac.uk>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!seismo!mcvax!ukc!rdeReferences:
<239@curly.ucla-cs.ARPA>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!mcvax!ukc!rde From: rde@ukc.ac.uk (R.D.Eager) Newsgroups: net.micro.pc Subject: Re: Help Wanted (Please!) Message-ID: <1754@eagle.ukc.ac.uk> Date: Fri, 1-Aug-86 05:29:29 EDT Article-I.D.: eagle.1754 Posted: Fri Aug 1 05:29:29 1986 Date-Received: Sat, 2-Aug-86 23:39:38 EDT References: <239@curly.ucla-cs.ARPA> Reply-To: rde@ukc.ac.uk (R.D.Eager) Distribution: net Organization: U of Kent at Canterbury, Canterbury, UK Lines: 28