| Ira Goldklang's TRS-80 Revived Pages |
| File Transfer Instructions |
| If possible, please e-mail converted software to me, so that the site can continue to grow. |
| Step By Step Instructions on How to Use a Downloaded File | |||||||
| This example is meant to be beginning to end step-by-step instructions on how to take a file which has been downloaded from the internet, and run it in a TRS-80 emulator | |||||||
| For purposes of this example, I will assume: | |||||||
|
| Steps | ||||||||||||||||||||||||||||
| 1. | Download the file you want from the internet (download to C:\TRS-80) | |||||||||||||||||||||||||||
| 2. | Click here to download Jeff Vavaour's File Utilities (download to C:\TRS-80) | |||||||||||||||||||||||||||
| 3. | Click here to download a Model 1 Boot Disk (download to C:\TRS-80) | |||||||||||||||||||||||||||
| 4. | Go to DOS PROMPT under Windows '9x | |||||||||||||||||||||||||||
| 5. | CD\TRS-80 [ENTER] | |||||||||||||||||||||||||||
| 6. | PKUNZIP FILENAME [ENTER] | |||||||||||||||||||||||||||
| 7. | PKUNZIP JVFILES [ENTER] | |||||||||||||||||||||||||||
| 8. | PKUNZIP LDOS531 [ENTER] | |||||||||||||||||||||||||||
| 9. |
VFORMAT 35 DSKIMAGE [ENTER] (It should say 'Formatting 35 tracks. Done.') |
|||||||||||||||||||||||||||
| 10. |
VWRITE FILENAME.CMD DSKIMAGE [ENTER] (It should say 'Writing FILENAME.CMD') |
|||||||||||||||||||||||||||
| 11. |
Start the emulator, mount the disks, reboot the emulator ...
|
|||||||||||||||||||||||||||
| 12. | Enter a valid date and press [ENTER] | |||||||||||||||||||||||||||
| 13. | Enter a valid time and press [ENTER] | |||||||||||||||||||||||||||
| 14. | FILENAME [ENTER] | |||||||||||||||||||||||||||
| That's it ... if you want to run a BASIC program (called FILENAME/BAS) instead of a /CMD Program do the following two steps instead of Step 14 ... | ||||||||||||||||||||||||||||
| 14. | BASIC [ENTER] | |||||||||||||||||||||||||||
| 15. | RUN"FILENAME/BAS:1" [ENTER] | |||||||||||||||||||||||||||
| Step By Step Instructions on How to Do Tape Transfers | |
| Thomas Ally has written up step by step instructions on how to convert trs 80 cassettes to .cas format using david keil's model 1 emulator - should work with model 3 emulator also. | |
| 1. | Get a trs 80 emulator :) I suggest david keil's emulator (the reason I like his emulator is because you can save programs as wav files - doing this will give you a baseline file to look at so you will have knowledge of what a good recorded wav looks like) |
| 2. | Get yourself a patch cable and a tape recorder - i use a cable from radio shack and a boom box since my old trs80 cassette recorder is messed up. |
| 3. | Hook up the patch cable with one end in your sound cards microphone jack and one end to the earphones jack on the tape recorder. I have a sblive so i use the line in jack instead of the microphone jack, it is handier since you can still use your microphone. If you use the line in jack change your computers settings so that it recognizes the line in jack. |
| 4. | Run TRS81.EXE in Cassette BASIC mode - do this by pressing the F5 key and change "computer type" to Level II BASIC (I found that if you don't do this that your tapes hardly ever transfer correctly). |
| 5. | Record a test wav using the emulator by writing a small program with the emulator. For example:
10 CLS 20 PRINT "HELLO WORLD!" 30 END |
| 6. | Saving the File: Press the Shift-F11 key Put in a new virtual tape called TEST Press the "R" key to record Press the ESC key to take you back to the emulator Type CSAVE"TEST" to save the program. |
| 7. | Checking the File: Use a wav editor such as Goldwave to open up the test.wav file you created in step 6 (test.wav is your base file) This will show you how a TRS-880 cassette should look when recorded properly. David's wavs record at 22727 hz 8bit mono on my machine and not 23000 hz like his documentation says. That is why test.wav is important. |
| 8. | With Goldwave open or whatever wave editor you use open, it's now time to record your own tapes. First open test.wav back up - this will make your wave editor use its properties of test.wav when recording the new wav. rewind your trs80 tape and start recording your trs 80 cassette. by the way, start out with a tape that has basic programs on it such as dancing demon if you have it, since its alot easier to load basic tapes than system tapes. you may have to adjust your volume alot until your new wav looks like the test.wav. choose save as and input a new name to save your recording under so as not to disturb test.wav. Your new wave should look kind of like a solid block if its a good recording, if not the tape may be going bad or the recorders heads need to be cleaned. |
| 9. | Now test the new recording on the emulator - start up the emulator. hit shift F11 and hit enter - type in the name that you saved your wave as. hit p key to play the tape then hit the escape key to return to the emulator. Type cload to load the tape, you should see the ** blinking while the tape loads. If you dont you may have to repeat step 7 until your volume is correct. once you get the basic program to load, hit the shift F11 key to bring up the wav tape menu and press the s key to stop the tape. press escape key and then press the F11 key to bring up the .cas tape menu, and hit r to record making sure to load a virtual cassette into the virtual tape recorder. Hit escape key again and type csave"myprog" and your done. Make sure your baud rate is set to 500 for model 1 use or 1500 for model 3 use before typing csave. |
| NOTE) once you get your tape recorders volume set for play back, dont mess with it unless absolutely neccessary. | |
| To transfer SYSTEM tapes, I do all the steps above and use a trs 80 program called tape to disk. first i transfer the program from the wav tape to disk, then i tranfer the file from disk to the .cas tape. Start with trying to convert known basic tapes before moving on to system tapes, since system tapes are more finicky on the volume adjustments. I put my emulator into disk mode to do that after I have made sure it is correctly recorded in level II basic mode. | |
| Niels Horn of Rio de Janeiro, Brasil has developed a way to use a Model III or IV to enable the transfer of Model I disks!! | |
| 1. | Boot Model III/IV with NewDos/80 v2.0 |
| 2. | Format an 80-track disk in :1 to Single Sided, Single Density using TI=A,TD=A,TC=80,SPT=10,TSR=0,GPL=2,DDSL=40,DDGA=2 |
| 3. | Copy the Model I files to the 80-track SSSD disk |
| 4. | Boot Model III/IV with LDOS v6.0 |
| 5. | Format a 40-track DSDD disk |
| 6. | Copy the files from the 80-track SSSD disk to the 40-track DSDD disk |
| 7. | Place destination disk from step 6 into IBM and READDISK it |
|
Why all this hastle? Well, neither NewDos/80 v2.0 nor Single Density disks can be read in an IBM drive. Since an IBM can EASILY read LDOS disks, you need a uniform format between NewDos/80 v2.0 and LDOS ... Single Density!!! The 80 Track is not vital but you will have a LARGE chore trying to copy a Double Density disk onto a 40 track single density disk. |
|
TI=AL,TD=A,TC=35,SPT=10,TSR=3,GPL=2,DDSL=17,DDGA=2 (80 track drive)or
TI=A,TD=A,TC=35,SPT=10,TSR=3,GPL=2,DDSL=17,DDGA=2 (35 or 40 track drive)
TI=C,TD=G,TC=80,SPT=36,TSR=0,GPL=8,DDSL=35,DDGA=2 (Must be 80 track drive)
READDISK /2 /n:80 /8 a: filename
Use Transfer (by MichTron).
Use of this program requires a working Model I and 5.25" IBM disks formatted to single-sided single-density by the TRANSFER program.
Will move files from a Model I to an IBM via the IBM formatted disks.
The package consists of a Multidos system with three programs on it, with the IBMI/CMD program for the Model I.
You read the diskette on the computer and then, using the menu, transfer the files to the boot disk.
TRANSFER requires a two or three drive computer. Single drive systems won't work.
One way is to transfer data over the TRS-80's serial port or printer port. That's probably the best way if you have a Model I, because a stock Model I can read and write only single density, but many PCs cannot deal with single density. Jeff Vavasour's Model I emulator includes instructions on how to do this. One user has written some notes on how to do this ...
A faster and more convenient way, if you can get it to work, is to read the disks in a PC with a 5" floppy drive. Under MS-DOS or MS Windows, try Matthew Reed's freeware READDISK program. See http://www.arrowweb.com/mkr/readdisk_doc.html.
Alternatively, if you have problems with READDISK or you are using Linux, you can copy the disks with an emulator, as follows.
There are at least three possibilities:
(A) One way would be to transfer data from your newer computer to a real TRS-80 through its serial port or printer port. That may be the only way if you have a Model I, because a stock Model I can read and write only single density, but many PCs cannot deal with single density. However, I don't know of any software for transferring data to the TRS-80 through a serial or parallel port.
(B) A faster and more convenient way, if you can get it to work, is to write the disks in a PC with a 5" floppy drive. Here is a procedure you can follow.
Most of the TRS-80 emulators have programs for doing this. Read the instructions for your emulator to find out how to use them. Sometimes the program runs on the emulated Z-80 (a /CMD file); other times it runs on the host operating system (an .EXE file).
Under Jeff Vavasour's Model I Emulator, the relevant program is VREAD.EXE. Under Jeff's Model III/4 emulator, it is EXPORT/CMD. Under Matthew Reed's Model I/III emulator, the program is TRSREAD.EXE and is available only with the registered version. Under xtrs, the program is called EXPORT/CMD (not the same program as Jeff's).
Most of the TRS-80 emulators have programs for doing this. Read the instructions for your emulator to find out how to use them. Sometimes the program runs on the emulated Z-80 (a /CMD file); other times it runs on the host operating system (an .EXE file).
Under Jeff Vavasour's Model I Emulator, the relevant program is VWRITE.EXE. Under Jeff's Model III/4 emulator, it is IMPORT/CMD. Under Matthew Reed's Model I/III emulator, the program is TRSWRITE.EXE and is available only with the registered version. Under xtrs, the program is called IMPORT/CMD (not the same program as Jeff's).
| A USENET discussion (in response to my questions) produced the following. Since I want to ensure that proper credit is accorded, first comes their name, then their part: |
| (Bill Vermillion bv@wjv.com) |
| The basic difference between SD and DD is that the former includes a clock bit between ever data bit. DD derives the clock from the data. The difference between the two as far as the computer goes is being able to have a much finer clock resolution. |
| HD gets it's increased density by using smaller particles. As with most things which get smaller, the smaller they are the stronger they have to be so as not to deform. The physically stronger particles are also less resistant to magentization so we have to use a higher current to magnetize them. This is called the coercivity. [Think of it as being able to coerce someone to do something - the more resistant they are to change the more force you have to apply. Sounds like some computer people I know!] |
| Mark P. Fishman (mfishman@ll.mit.edu) |
| The floppy controller that is part of the Adaptec 1522 SCSI controller (ISA, non-bus-mastering, relatively cheap but good) can read/write/format FM (Single Density) floppies, including LDOS-format SD floppies. TRSDOS2.3 directory tracks CANNOT be handled on these because of the DAM, but once converted to LDOS (or Model III DOSPLUS) format they work fine. (Same problem as going from WD1771 to WD1793, but even less flexible I think.) |
| Possibly the floppy controller on an Adaptec 1542 (ISA, bus mastering, seomwhat pricier) also works; I haven't tested. |
| Amardeep S Chana (amardeep_chana@yahoo.com) |
| You can still find some Acculogic ISApport SCSI adapters which used the SMC FDC37C65 on eBay from time to time and they go for about $10 or less. These won't do single density on a 1.2MB HD drive, though. Only 360K DD. |
| The Adaptec 1542 and 1522 used the NS8473 controller. eBay might be a cheap source for these as well. I've seen them listed from time to time but didn't pay too much attention since they are only 5MB/S (i.e. they should go cheap). |
| Don't worry about them interfering with your existing SCSI subsystem, which is probably PCI based and will have much different I/O address and IRQ mappings. Don't forget to disable the motherboard's FDC. |
| Also, don't discount the possibility that your motherboard controller can support single density. Boot up LSDOS on a Model 4 emulator and format a single density real floppy disk. If it verifies okay, then you are all set. |
| If you want to read TRSDOS 2.x or NEWDOS/80 1.x diskettes you need a real Model I. Lacking that use a Model III/4 and CONVERT them first. Then an FM capable PC should be able to read them. |
| Louis Schulman (louiss@gate.net)d |
| In my experience, any Western Digital MFM/floppy or RLL/floppy or stand-alone controller will work fine with single density. Model numbers are something like 1003, 1002, 1007, etc. These are available in abundance from any suplus source, including flea markets. The last one I got cost a buck. You can probably buy a whole PC-clone with one of these cards for $5. |
| I have mine in an IBM XT-286 with a 360K drive. With a Central Point Option card, I can even copy TRS-DOS 2.3 disks |
| Tim Mann (mann@pa.dec.com)d |
| I'm giving the PC Catweasel another try, by the way. I had some kind of misunderstanding with the designer that resulted in my first card never coming back from repair, but I finally gave up and ordered another from a different distributor. If all goes well this will provide a moderate priced (about US$ 85) way to read all kinds of floppy disks in a PC, even including Model I TRSDOS single density with the 0xFA data address marks. |
| I should have another card in a week or two [message was dated 5/2/00], and then I'll have to find a little time to write an FM demodulator for it. The card comes with demodulators for MFM and some odd formats like Apple's GCR, but not FM. I already have a simple FM demodulator written, but I may need to modify it a bit when I have the real hardware in hand. I'm initially doing this for Linux, but I suppose I'll do some kind of MS-DOS version too. |
| Under Linux, I'd like to eventually integrate Catweasel support directly into xtrs, but that will probably come later if at all. The first thing I'll probably do is write the single-density disk dump program for Linux, then look at porting it to DOS. |
| Since the program doesn't exist yet I can't promise anything. However, if the disk is all in single density, the program should be able to dump it to DMK format without even noticing whether it is "copy protected" or not. A similar program with an MFM demodulator might be able to do the same for copy protected disks that are all in double density, but I'm less sure about that. Disks that mix single and double density on the same track will be harder. I'll probably tackle that problem, but I don't know how well it will work out. The trick will be figuring out where to switch between interpreting the data as FM and as MFM. |
| Tim Mann wrote (on 6/10/00): |
| Here's something that should be of interest to folks who have old TRS-80 disks they'd like to read but are having trouble doing it with modern hardware. Actually, it could be of interest to folks with disks from obscure old CP/M systems and the like too. |
| A small company in Germany makes a specialized PC ISA card that, with the proper software, allows any kind of floppy disk to be read (and maybe written, too). The company is called Individual Computers, and the card is called the Catweasel ISA. There are also Amiga versions. See the following URLs for information on the card and how to order one: http://www.jschoenfeld.com/, and http://members.tripod.com/~apd2/catweasl.htm. |
| Catweasel cards were in short supply for a while, and I had some trouble getting a working unit, but I have one now. I've just written a program for it that can copy any TRS-80 disk (in fact, any disk written by a WD177x/179x floppy disk controller, or by any PC floppy disk controller) to the DMK format that's used by David Keil's TRS-80 emulator for MS-DOS and by my TRS-80 emulator (xtrs) for Unix. The program auto-detects FM (single density) vs. MFM (double or high density) encoding, even on disks that have some sectors of each on the same track, like dual-boot Model I/III disks. |
| My program (called cw2dmk, at least for now) works both on Linux and on MS-DOS or Windows 95/98, and I'll be releasing it in source code form after I've cleaned it up a little more. It's partly based on the Catweasel driver for Linux (see http://www.tu-harburg.de/~semk2104/cwfloppy/) written by Michael Krause. His driver works only with MS-DOS and Amiga formats, and only in double or high density, but it's nice because it lets Linux treat the disks as having real file systems on them that the kernel supports. My program only lets you make a disk image that works with an emulator. The original driver is GPL'ed, so my program will be too. |
| I've already used the program to copy about 50 single density and "copy protected" TRS-80 disks that I got from Kim Watt to DMK format, and they all seem to work on xtrs. Even weird stuff like original TRSDOS 2.x single density disks with FA data address marks on the directory (which even PC's that can otherwise handle single density don't seem to be able to read), and games that do a WD17xx Read Track command and look for specific data in the gaps as part of their copy protection, were easy to read and the images work on xtrs. I haven't tried the images on David Keil's emulator yet, but I don't expect problems -- maybe a few minor ones with games that do especially strange things with the floppy disk controller. I did have to fix a couple of minor emulation inaccuracies (well, bugs) in xtrs to make a couple of the games boot. |
| 8" disks should even work, though I haven't plugged in my 8" drive yet. I had no problems reading a 5.25" high density (1.2MB) disk, which looks identical to 8" double density at the controller interface, so I think true 8" will probably work on the first try. |
| The program seems to work well already, but there are two things I'd still like to add: (1) Automatically detecting the type of drive you're using and guessing the number of tracks (35, 40, or 80) and number of sides on the media -- right now you have to tell the program this using command-line options, and (2) Writing the older .DSK (or JV3) format that Matthew Reed and Jeff Vavasour's TRS-80 emulators require, when the disk is not so "protected" that it can't be represented in that format. Those shouldn't be too hard once I get my next burst of energy. |
| I'm hoping a few other TRS-80 folks will buy Catweasel cards now that this program is available. I don't get a commission or anything. :-) |
| On 7/1/2001, Tim released v2.1 of his Catweasel to TRS-80 program. |