Search Posts:

Copy Machine Lang PET Cassette Programs

View Entire Thread

Return to Threads

  by Bill Degnan - 07/22/2010 20:13
Let's say you want to copy a PET (or C64) cassette tape program. You load the program you want to save, try to LIST it, and than you realize it's a machine language program (there is no BASIC listing). Unlike BASIC programs, you can't simply load a program on the source cassette and then save it on a target cassette using BASIC commands.

Here is how to make a copy of a machine language program using the TIM monitor program. TIM is built into the PET ROMs

1. load program on source cassette

2. SYS 1024 (to enter TIM monitor)

3. at the . prompt type:

S S "FILENAME",01, 033F, 1491 [enter]

4. The computer should ask you to press play and record on the tape drive.

01 = tape unit 1.
033F = start location of machine lang program in memory
1491 - end location of machine lang program in memory.

If you're making a copy of a program on a PET with an internal drive and you want to copy to the external drive the tape unit would be 02.



Buy a Commodore Computer Poster

Popular Topics and FAQs

Past Issues:

PB1 EPROM 2708

This image was selected at random from the archive. Click image for more photos and files from this set.