Search Posts:

Saving Memory to Disk Commodore PET

SHARE

Return to Threads

  Saving Memory to Disk Commodore PET by Bill Degnan - 10/27/2009 22:11
Here are the directions for saving a block of memory (as in a program written to memory from a machine language program loaded from cassette) to disk.

1. format your disk. I have a 2040 attached to my Commodore PET 2001-16N

OPEN 1,8,15
PRINT#1,"N0:DISKNAME, 01"

2. Load the program you have, know where it's been loaded. For example, BREAKOUT is loaded by cassette into memory locations 033F to 1491

SYS 1024 - command to load TIM monitor from READY prompt of PET

.S "0:BREAKOUT",08,033F,1491

this means on drive 0, create a file called BREAKOUT on unit 8 that consists of what's in memory locations 033F through 1491. Drive 0 on unit 8 is the right hand drive of the model 2040.

The disk drive should activate and create the file. Reboot. Load the program

load "breakout",8,0 (assuming the disk is still in the right side drive)

Enjoy.

Reply
  Copy Machine Lang PET Cassette Programs 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.

NOTE.
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.

Reply

Resources:


Buy a Commodore Computer Poster

Popular Topics and FAQs


  • Commodore B Series Tips and Tricks
  • Aerocomp TRS 80 M 1 Expansion Unit DDC
  • Items Wanted
  • Lobo Max 80
  • Zenith Z-19-CN
  • Prototype PET 2001 photo
  • Using Toggle Switches to Analyze Memory
  • Commodore Disk Archive Project
  • PET 2001 Prototype at Gametronics 1977
  • Jim Butterfield Photo
  • IMSAI 8080 With Processor Tech. Cutter
  • Secrecy is the keystone of all tyranny
  • Cromemco System Three
  • Northstar Horizon - Boot Problem
  • Computer History and Restoration Links
  • Commodore BX-256-80 - 8088 Co-processor
  • S-100 board testing with Z-80 ICE
  • Donner 3500 - an early portable computer
  • Digital (DEC) PDP 11/05 NC Assembly
  • Univac 1219 rescue
  • IMSAI 1.4 BASIC vs. MITS 8K BASIC
  • Fido BBS listing node list 6-13-1986
  • PDP 8e
  • MITS 88-2 SIO (2SIO) for BASIC
  • Visual Technology Inc Model 1050
  • Amiga 2500 Restoration
  • The Evolution Of IBM Computers
  • Replacement teletype print hammer head
  • Archiving and Copying Software 101
  • Computers Built 1940 - 1950
  • CBM B-520 (a.k.a B256-80 or B500 256)
  • RCA COSMAC Microkit
  • Commodore 64K C-116 Mods
  • MITS 8800b Turnmon 9600 baud
  • Catweasel, 8in and 5 1/4
  • Raspberry Pi as Gateway to Internet
  • Digital PDP11 late 1969 early 1970
  • PDP 11/40 72 inch cabinet model
  • PDP 11/40 Industrial 11 model
  • Digitial MicroVAX 3100 30 System
  • Digital VAX 4000-200
  • Commodore 64 / 1541 DRIVEKNOCK
  • Booting the System Using RL02 drive
  • PACS: Reflections by Kathleen Mauchly
  • Tele-Graphic Computer Systems Inc.
  • Commodore B Series SID Jukebox?
  • Installing Core into PDP 11/40
  • Setting Up OpenVMS 7.1 DNS CLERK
  • Felt-Tarrant Comptometer Model J
  • NextStation Color
  • Digital Rainbow (PC100-B2)
  • 1970 Compusad Compulogical Tutor
  • Archiving Papertapes Using DSI NC 2400
  • 1976 P.C.C. Features the MAI JOLT 6502
  • 1961 Beckman DEXTIR Computer
  • UNIVAC 1 and UNIVAC File Computer 1
  • Past Issues:


    Amstrad PCW8256 printer

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