__ ______ _ ____ _ _ _ \ \ / / ___| / | ___|| || | / | \ \ / / | | |___ \| || |_| | \ V /| |___ | |___) |__ _| | \_/ \____| |_|____/ |_| |_| =================================== VC 1541 Emulator V0.03 Copyright (c) 1997 Torsten Paul Lommatzscher Str. 26 01139 Dresden paul@os.inf.tu-dresden.de All Rights Reserved ------------------------------------------------------------------------------- README ------------------------------------------------------------------------------- 0. Contents 1. COPYRIGHT 2. What does this emulator emulate? 3. What does it not emulate? 4. Running the emulator 5. Accessing emulated disk drives 6. The cable ------------------------------------------------------------------------------- 1. COPYRIGHT This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. ------------------------------------------------------------------------------- 2. What does this emulator emulate? This program is intended to emulate the serial protocol that is used for the communication between a Commodore 64 computer and a VC 1541 Disk Drive. That means you can transfer data to and from the C64 without a special program on the C64. Saving files is currently not supported. Thats why you can only load program (PRG) files from the PC into the C64 with the actual version of the emulator. (SEQ/USR/REL files don't work) ------------------------------------------------------------------------------- 3. What does it not emulate? Nothing of the hardware is emulated by this program. Because of this it's not possible to support any type of fastloader. Although direct disk access could be emulated, it is not implemented. ------------------------------------------------------------------------------- 4. Running the emulator If you run it as vc1541.exe -h you get the following help screen that lists all valid options. usage: VC1541.EXE [-{h|8|9|10|11}] [+{8|9|10|11} filename] [+lpt {1|2|3}] -h: this help screen -8..-11: activate device 8..11 (default is 'c:\') +8..+11 filename: activate device 8..11 and attach to 'filename' +lpt x: use printer port x (default is '1') You *must* enable at least one device with '-X' or '+X filename' (with X equal 8, 9, 10 or 11) or the emulator will not be that useful. NOTE: filename given *must* be an absolute one, you can't give '..\XXX' ------------------------------------------------------------------------------- 5. Accessing emulated disk drives If you have the emulator running on PC (e.g. with device 8 activated) you can load the directory as usual with: load"$",8 This gives the directory of the device which can be a directory on the harddisk, a disk-image (.D64), a tape-image (.T64) or an archive created by the LYNX archiver (.LNX). Loading works as usual too: load"filename",8 To change the directories on the PC the directory loading command is slightly changed: load"$..",8 goes to the higher level PC directory load"$/dir1/dir2",8 change to absolute PC directory load"$d:/",8 change PC drives load"$d:/dir1/dir2",8 change PC drive and directory * load"$directory",8 changes the current PC directory * load"$diskimage.d64",8 attaches a diskimage in the current PC directory * load"$tapeimage.d64",8 attaches a tapeimage * load"$lynxarchive.lnx",8 attaches a LYNX archive The commands marked with a '*' accept filenames with '*' as a wildcard. E.g. you can use load"$g*",8 to attach the first file in the directory starting with 'g' (or change to the appropriate directory). ------------------------------------------------------------------------------- 6. The cable The program requires the following adapter cable to be connected between your parallel printer port (LPT1/LPT2/LPT3) and a commodore disk drive. This cable is also known as X1541 cable because it was used the first time by a program with this name. Nowadays it is used by many programs. IBM Lpt port Female: CBM IEEE serial port Female: ÚÄÄÄÄÄ¿ ÉÍÍÍÍ_ÍÍÍÍ» StrobeÄÄÅÄ1þ ÀÄÄÄ¿ Éͼ ÈÍ» _____ ³ þ14ÅÄAutoFeed DataÄÄ×ÄÄþ5 1þÄÄ×ÄÄSrqIn _____ (Data 0)³ 2þÄ¿ ³ º 6þÄÄÄÄÄÄ×ÄÄÄÄÄÄÄÄÄReset ³ ÀÄþ15³(Error) ClockÄÄ×ÄÄþ4 2þÄÄ×ÄÄ¿Ground ³ 3þ ³ ____ ÈÍ» 3þ Éͼ ÄÁÄ ³ þ16ÅÄInit ÈÍÍÍÍØÍÍÍͼ ³ 4þ ³ AtnÄÙ ³ þ17ÅÄSelectIn ÚÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ 5þ ³ ³ C64signal ³ IBMsignal Lpt port + 2 ³ ³ Úþ18³ ³ ³ ³ ³ 6þ ÃÄÄÄÅÄÄ¿Ground ³ 2 Ground ³ 18..25 Ground ³ ³ Ãþ19³ ÄÁÄ ³ 3 Atn ³ 1 Strobe bit 0 ³ ³ 7þ ³ ³ ³ 4 Clock ³ 14 AutoFeed bit 1 ³ ÷÷÷÷÷÷÷÷÷÷÷ ³ 5 Data ³ 17 SelectIn bit 3 ³ ³ Àþ25³ ³ 6 Reset ³ 16 Init bit 2 ³ ³13þ ÚÄÄÄÙ ÀÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ÀÄÄÄÄÄÙ ------------------------------------------------------------------------------- Have fun! -- Torsten Paul paul@os.inf.tu-dresden.de