background image

12  |  Chapter 3

DRIVE – Mounting SD Based Images

The DRIVE command is multi-faceted. As 

stated above, issuing just the DRIVE command 

will give you a status on the CoCo SDC’s drive 

mapping. However, the DRIVE command, as 

displayed in the SDC-DOS updating section, 

also instructs the Atmega micro-controller to 

map the disk images stored on the SD card to a 

virtual drive.
The proper context for the command is:

DRIVE n, “path name”

Where n is the drive number; path name is the 

folder that holds your target disk image.
For example, issuing:

DRIVE 0, “APPS/TW64/TW64.DSK”

Would tell the Atmega to map DRIVE 0 to the 

TW64.DSK image in the folder listed in the 

path name.
Another example; let’s say you want to play 

Pitstop II, on the PITSTOP.DSK image, located 

in the Epyx folder under games. The command 

you would issue is:

DRIVE 0, “GAMES/EPYX/PITSTOP.

DSK

Entering the DIR command would display a list 

of the files on the disk image, just like it would 

with real floppy hardware. You can LOAD & 

RUN or LOADM & EXEC just as you would 

with conventional hardware.

Multiple Disks

As discussed earlier, one of the features 

CoCo SDC has over products that preceded 

it to market is the ability to use software that 

contains multiple disks, as well as software that 

uses non-standard DSKCON routines.
In order to use games and applications that 

utilize multiple disks, the CoCo SDC has a way 

of knowing when this is necessary. The disk 

images for multi-disk games and applications 

need to be located in the same folder, and 

the last character of the disk title must be a 

number. An example from early will be used – 

Sinistaar.
Entering the following command:

DIR “GAMES/SUNDOG/COCO3/SIN 

STAR/

Returns the following:

Now, to mount the first disk image in the 

folder, simply enter:

Содержание CoCo SDC

Страница 1: ...CoCo SDC...

Страница 2: ...re and software http cocosdc blogspot com Printed circuit board manufactured by Ed Snider https sites google com site thezippsterzone The clear acrylic case designed by Tim Lindner https youtu be OdSO...

Страница 3: ...e Basics 5 D E Compatibility Issues 5 Identifying the problem boards 6 Motherboard Modification 6 Finding a Suitable Enclosure 7 Updating SDC DOS 7 Rescuing After a Failed Update 8 Recovery Steps 9 3...

Страница 4: ...DW n 19 4 Using the Flash 21 Running a Cartridge Image 21 Erasing Banks and Sectors 22 Writing to the Flash 22 Copying a Block of Memory 23 5 About File Formats 25 DSK Images 25 Disk Geometry Table f...

Страница 5: ...a problem if you are primarily using the CoCo for BASIC programming or running OS9 software There are however a number of titles mostly commercial games that fail to work with those other systems The...

Страница 6: ...der allows firmware to be updated by the CoCo 128K In System Programmable Flash Accepts SD SDHC cards formatted with FAT16 or FAT32 file system Emulates a Tandy Floppy Disk Controller Emulate Dragon D...

Страница 7: ...ive options for board configuration Cartridge Auto Start and Dragon DRQ Mode The default setting has neither option enabled no jumper installed Installing a jumper between the center pin and the AUTO...

Страница 8: ...FF40 FF48 Flash Data Register FF42 FF4A Flash Control Register FF43 FF4B Command Status FF48 FF40 FDC Track Register I O Register 1 FF49 FF41 FDC Sector Register I O Register 2 FF4A FF42 FDC Data Reg...

Страница 9: ...on very well It s recommended that you completely shutdown the CoCo and MPI before swapping cards 3 The firmware in the CoCo SDC does not currently support long file names You must ensure that the nam...

Страница 10: ...fication to the CoCo 1 motherboard to fix the problem see details below Identifying the problem boards To determine if your CoCo 1 has one of the problematic motherboards you will need to open the cas...

Страница 11: ...losure is preferred as the FD 501 enclosure is slightly different and requires some modifications to work properly Both enclosures need to be modified to provide easier access to the DIP Switches whil...

Страница 12: ...tion by pressing the Y key After installation is complete the CoCo will re boot Press the D key to perform an installation of SDC DOS This will first load the ROM image into memory and ask which of th...

Страница 13: ...tically mount the SDC101 DSK file 0 SDC101 DSK When this file is read by the Atmega micro controller at boot the CoCo SDC is already mounted to the SDC101 DSK DO NOT COMPLETE THE FOLLOWING PROCEDURES...

Страница 14: ...10 Chapter 2...

Страница 15: ...irst column represents that drive number The second column in the table indicates whether or not Disk Image mode is currently on or off When Disk Image mode is off the corresponding real floppy drive...

Страница 16: ...ames The command you would issue is DRIVE 0 GAMES EPYX PITSTOP DSK Entering the DIR command would display a list of the files on the disk image just like it would with real floppy hardware You can LOA...

Страница 17: ...directory whose name started with the letters CH the above command could be shortened to DRIVE 0 GAMES CH DSK You may also omit the extension from the file name In this case the system will first try...

Страница 18: ...likely end in an I O error since no image was mounted This may not be the situation if you had to use the STARTUP CFG file discussed earlier so we ll start with the assumption of no mounted disks When...

Страница 19: ...ory for commands that access the SD card Once specified all subsequent commands that refer to files or directories on the SD card are relative to the Current Directory unless the path name begins with...

Страница 20: ...the SDF format use the NEW option DRIVE 0 SEVENLNK SDF NEW 1 In SDC DOS 1 2 the system was changed to create 40 track SDF images instead of 35 Track A new SDF disk image is like an un formatted flopp...

Страница 21: ...py 2 in SDC DOS Thats all You cannot actually change the disk image from SDC DOS Of course in Drivewire you need to have disk images assigned to a floppy disk Once the CoCo SDC has been assigned to a...

Страница 22: ...y disks if you have a Mult Pak Interface and a separate floppy controller When powering up the system the switch on the MPI must be set to the slot number containing the CoCo SDC board SDC DOS will ex...

Страница 23: ...it will be automatically loaded and run You can use this command to start The SDC Explorer program described here http cocosdc blogspot com p sdc explorer html DEF DW n You can now change the DriveWir...

Страница 24: ...20 Chapter 3...

Страница 25: ...ically be used to hold images of cartridge based software Program Paks The RUN command in SDC DOS has been extended to facilitate the execution of a cartridge image from any of the 8 Flash banks Simpl...

Страница 26: ...ingle sector or an entire bank Erase all four sectors of bank 3 KILL MEM 3 Erase only sector 2 of bank 6 KILL MEM 6 HE000 When erasing a single sector you can specify any address from C000 to FEFF The...

Страница 27: ...he copy 1 4 The bank and slot arguments are both optional and mutually exclusive You can provide one or the other but not both The bank argument can be provided when you are copying data from a specif...

Страница 28: ...24 Chapter 4...

Страница 29: ...cative of the image format be used for identification by humans DSK Images The DSK image format is named for the extension most commonly appearing on such files Images in this format consist of a simp...

Страница 30: ...escription 0 1 Sectors Per Track Default is 18 1 1 Side Count Default is 1 2 1 Sector Size Code Default is 1 256 bytes per sector 3 1 First Sector ID Default is 1 All of the bytes are optional but are...

Страница 31: ...of 1 or 2 It will also honor the Write Protect bit SDF Images The SDF image format is used to represent floppy disks that have a non standard layout which is anything other than 18 sectors per track a...

Страница 32: ...per Track Contents of the SDF 512 byte File Header Byte Offset Length in Bytes Description 0 4 Format signature and version string The ASCII characters SDF1 appear at the beginning of the file to iden...

Страница 33: ...00 rpm The SDF format does NOT support 8 inch floppy disks or high density 500 kbps images Any part of a track which is recorded in single density has each byte written twice in succession This preser...

Страница 34: ...2 2 The 14 low order bits of this 16 bit field contain the offset from the beginning of the Track Record to the first byte of the sector s Data field within the raw track data The two high order bits...

Страница 35: ...COCO SDC 31...

Страница 36: ...32 Chapter 5...

Страница 37: ...COCO SDC 33...

Страница 38: ...34...

Страница 39: ...ure 7 Erasing Banks 22 EXP 19 Explorer utility 19 F FAT16 3 FAT32 3 Flash 21 Flash memory 2 H HDB DOS 17 I IDE 1 image formats 25 J jumper 3 JVC 26 K KILL 22 L LED 3 13 Locking Disk Images 16 M Mother...

Страница 40: ......

Отзывы: