text
stringlengths
0
99.6k
TAPE
+ ROM trapped LOAD and SAVE routines
+ tape image files with directory
+ ultra fast loading
++ TapeIO Turbo Tape loader for PC tape connector
++ MakeTape utility
_____________________
8. FILE TRANSFERS
The emulator uses two types of image files to store the information in the
format C64 programs can handle. There are two types of image files:
- .T64 files represent tape image files. Though the C64 tape drives were slow
and unreliable, this type of storage on PC systems has certain advantages
over other methods. The most important is that a tape image file contains a
tape directory with the information about all the files stored in the image
file. This way you can easily see the contents and select the file you wish
to access. Instead of the slow C64 loader, fast PC routines take care of
loading and saving, thus minimizing the time necessary for such operations.
The last important feature is that multiple C64 files can be stored in one
tape image file. This helps you organize big collections of C64 software. The
emulator provides the tools for manipulating .T64 files: the tools built in
the emulator desktop, MAKETAPE utility for creating tape image files and
importing files, FIXTAPE utility to fix CONV64 created files and TAPEIO
utility, which is a Turbo Tape loader for PC.
- .D64 files represent disk image files. These files are actually a faithful
reproduction of the 1541 formatted floppy disk contents. They contain the
data of all disk sectors in the order they appear on a real 1541 disk. The
emulator emulates a 1541 floppy drive so that emulated C64 programs can read
and write emulated disks just like real disks. Of course, you can store
hundreds of floppy disks to image files and use them simply by selecting them
in the disk file selection screen. The emulator also includes a COM1541
utility that will let you transfer data from 1541 disks to image files.
8.1. Using the COM1541 utility
COM1541 will let you transfer data from 1541 (or compatible) floppy drive to
disk image files that can be used with the emulator. If you have a big
collection of 1541 disks, you can now easily transfer them to your PC system.
To run COM1541 successfully you need to do the following:
If you are running COM1541 for the first time, run CONFIG and set the 1541
port to your LPT port's I/O address. If you do not know the address, you will
need to experiment to find the right one.
Connect the PC's LPT port and 1541's serial port with the cable (please refer
to file LPT1541.DOC for details about the connection).
Then you can run COM1541 by typing on the command line:
COM1541
If you are not running COM1541 from the emulator's home directory, you need
to use a switch to specify LPT port I/O address. Use 1 for 278, 2 for 378 and
3 for 3BC. Example:
COM1541 2
COM1541 will try to connect using LPT port at I/O address 378.
Upon successful program execution the 1541 drive led should blink and the
drive motor start running for a while. A short menu will display on the
screen:
[D] Display disk directory
[I] Import disk (BAM allocated sectors only)
[F] Import full disk (all sectors)
[X] Exit
Insert a disk to 1541 drive and press 'D' to see the directory. If the
directory seems O.K., everything is ready for disk transfer. It is up to you
to select a method of disk transfer. Usually selecting 'I' will transfer the
disks the fastest and correctly. This method will transfer only the sectors
marked as used in the disk Block Allocation Map, but as C64 programmers
managed to do lots of irregular tricks with the 1541 floppies, not all
applications mark the sectors as used. Thus you can press 'F' to select full
disk transfer.
After selecting a transfer method, COM1541 will prompt for a file name. If a
file with the same name already exists it will be rewritten! You do not need
to add an extension, because COM1541 will add .D64 by default. If no file
name is given, the default file name is IMPORT.D64. If this is the case,
rename the file after transferring to avoid possible later difficulties.
When COM1541 finishes transferring the disk, exit with 'X'. The disk image
file is now ready to use with the emulator. Run C64S and check it.
8.2. Using TAPEIO utility
TAPEIO utility is actually a TURBO TAPE compatible loader for PC. The files
loaded without errors are stored to a .T64 file so they can be used
immediately with the emulator. To use it you need to connect a C64 tape