Breaking and Saving 2068 Programs

See all articles from The Plotter v2 n7
Author(s): Dennis Jurries
Publication: The Plotter
Pub Details: The Plotter v2 n7 (Volume 2, Issue 7)
Pages: 3

Most programs that you can purchase for the 2068 when loaded start running and if you try breaking into them they dump, lock up the computer, or will not accept the break command. These programs usually consist of at least three programs in one. The first part consists of a simple loader that tells the computer to load the SCREEN$ and load the machine code program and may have some basic program that intermixes with the machine code program. The first part may be hidden when you break into it by having the BOARDER, PAPER, and INK colors all the same. Change the paper color if this is so and relist it.

The following procedure works if these three parts are loaded from a simple loader program. Replace the abbreviations below with the file names you find in the loader program.

MC     - machine code
         program name
Basic  - basic program
         name
Screen - screen string
         program name

1. LOAD the proagram until the screen display is displayed then BREAK and LIST. This listing will give you the starting address of the machine code (found in the line RAND USR #), the name of the MC, and SCREEN$ programs.

2. LOAD the MC program (LOAD “MC” CODE)

3. PEEK the MC program looking for the length. This can be done by looking in the MC until you find a long group of 0’s (say 32).

4. SAVE “Basic”LINE 1
SAVE “Screen”SCREEN$
SAVE “MC”CODE #1,#2
#1 is the starting address from RAND USR. #2 is the length of the MC routine determined by subtracting the starting address from the ending address found when you peeked the MC and found the start of the 0’s or by using the top of memory 65535 (IE. say start address from RAND USR 42000: 65535-42000 = 23535 then SAVE “MC”CODE 42000, 23535).

5. After completing the above and VERIFING each step, press NEW and ENTER. LOAD the program copy you just made and try it out.