Article View: net.micro.atari8
Article #539Re: writing DOS files
From: jhs
Date: Wed, 29 Oct 1986 22:17
Date: Wed, 29 Oct 1986 22:17
17 lines
1491 bytes
1491 bytes
OOPS, I guess my question could be misinterpreted. I want to cause DOS to write out a copy of DOS.SYS and a copy of DUP.SYS, which it will do only with the H command. But I want to do it under the control of an assembly language program. I have the DOS 2.0S source listing and a disassembly listing of DUP.SYS starting from the entry point of record for the H command, but I have been unable to figure out how to make it all work. Inside Atari DOS gives this listing for a routine called WRTDOS, which seems to do the deed, but it doesn't do it for me if I JSR to the advertised address. I wonder if I have to do an OPEN or something, as it says in the fine print "the CLOSE writes the final sector...". The reason for all this is to set up DOS files on a newly-installed RAMdisk. DOS won't let me just copy the DOS files over because it knows that the boot sector would be wrong. -John S.
Technical Details
Message-ID:
<8610292217.AA02663@mitre-bedford.ARPA>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!seismo!lll-crg!nike!ucbcad!ucbvax!MITRE-BEDFORD.ARPA!jhsReferences:
<8610292210.AA04854@chance.mitre.org>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!lll-crg!nike!ucbcad!ucbvax!MITRE-BEDFORD.ARPA!jhs From: jhs@MITRE-BEDFORD.ARPA Newsgroups: net.micro.atari8 Subject: Re: writing DOS files Message-ID: <8610292217.AA02663@mitre-bedford.ARPA> Date: Wed, 29-Oct-86 17:17:28 EST Article-I.D.: mitre-be.8610292217.AA02663 Posted: Wed Oct 29 17:17:28 1986 Date-Received: Fri, 31-Oct-86 20:30:10 EST References: <8610292210.AA04854@chance.mitre.org> Sender: daemon@ucbvax.BERKELEY.EDU Organization: The MITRE Corp., Bedford, MA Lines: 17