Index of /geminiatari/FILES/DISKUTIL/CPBOOT

      Name                    Last modified       Size  Description

[DIR] Parent Directory 24-Sep-2006 15:42 - [TXT] CPBOOT.TOS 16-Oct-1988 06:00 10k

readme	881015


CPBOOT.TOS
==========

objective
---------
This program is designed to copy an executable boot sector from a disk of
one type of format to that of an other. 

why
---
The reason for this is that I wanted to make copies of TOS 1.4 Developer's
Release and place them on double sided disks. Well TOS 1.4 comes on a single 
sided disk and Atari did not provided a program to modify a boot sector with
the TOS loader. The only possible way to make copies was with GEM's disk to 
disk copy, which ment that I could only make single sided copies. I then tried
using MEMFIL14.ACC to read the boot sector from the TOS disk to that of a 
double sided disk. ** Smooth move Ex-lax **!!  I had forgotten that certain 
bits of info like number of tracks and sides, and the serial number, would be 
different on the two disks. So I ended up trashing a disk and all the info on 
it.

what
----
Basically all CPBOOT does is to read both the source and target boot sectors
from respective disks, copies from the source the branch code, filler, and
the boot sector code to the target sector. Then a call to Protobt() is made
in order to adjust the checksum for an executable boot sector, which is then 
written back to the target disk. See CPBOOT.C.

how
---
Just execute the program CPBOOT.TOS and follow the prompts. All work is done
on A drive so disk swapping will be necessary.

Disclaimer
----------
I do not take responsibilty for damage caused by careless use of this program.
Make sure that you follow the prompts, write tabs are up on disks you want to
protect and that you have backups of everything. This program was a one day
quick utility. You can modify the source for more checks like: does the target
already have a boot sector, have the disks actually been swapped, prompts
to select A: or B:, etc.

Environment
-----------
Mega ST2 with colour screen.
BDT's GEMCSH & MAKE
Old Acylon C
ALN 88/08/12 Linker
MADMAC v1.00
ACHAPP.S and ACHSLIB.S (Anthony's assembler library v1.02)


Hope this utility comes in handy.

- Ant