Return
The Whole Enchilada
Updated: 14-Aug-98
Status: Being reviewed

Please Note: The information in this document has just been translated over from the printed version (14-Aug-98) and is being reviewed. There are errors! This notice will go away once all the obvious errors are corrected. From there, this document will be upgraded over time.

HOW TO USE FLOPPY.CO AND DUET.CO CONCURRENTLY

Model 100/102 computers run machine language programs from only one place in memory; and only one machine language program may occupy this memory area at one time--unless they're relocated but that's another story. Thus, using more than one machine language program at one time means swapping between these programs. The following program will swap between FLOPPY.CO and DUET.CO.

0 REM SWAP.BA
10 CLS
20 PRINT "(1) FLOPPY.CO set-up"
30 PRINT "(2) DUET.CO set-up"
40 PRINT "(3) Clear all..."
50 PRINT "(4) Do nothing... return to menu"
60 PRINT "Enter choice: "
70 Z$=INKEY$:IF Z$ = "" THEN 70
80 IF Z$ = "1" THEN 1000
90 IF Z$ = "2" THEN 2000
100 IF Z$ = "3" THEN 3000
110 IF Z$ = "4" THEN MENU
120 GOTO 70
1000 CLS:PRINT@130,"FLOPPY.CO set-up..."
1010 CLEAR0,MAXRAM:CLEAR256,59400:MENU
2000 CLS:PRINT@130,"DUET.CO set-up..."
2010 CLEAR0,MAXRAM:CLEAR255,61802:MENU
3000 CLS:PRINT@130,"Clear all..."
3010 CLEAR0,MAXRAM:MENU

  1. Go into BASIC
  2. Key the program in, hitting <enter> after each line
  3. When finished, enter SAVE"SWAP.BA" <enter>
  4. Get out of BASIC ... back to the menu

Use SWAP.BA before using a different .CO file from the one you just used.

The numbers (59400 and 61800) in SWAP.BA were acquired by finding the TOP number for the related .CO file. This is easily accomplished by going into BASIC and issuing the commands:

CLEAR0,MAXRAM
LOADM"filename

Three numbers will be presented followed by OM? Error ... this is good.

Top  (This is the number you'll need to plug into the pgm)
End
Exe