[Coco] CoCo 3 MMU test for all

Darren A. darccml at hotmail.com
Mon Jan 21 15:41:43 EST 2008


Roger,

Here is a small BASIC loader that can be used to perform a LOADM without the verify issue. It should work with any Disk Basic since the only ROM routine used is CONSOLE IN at $A176.

It utilizes a small machine code routine that it places in the first 50 bytes of the cassette buffer at $1DA (its position-independent so you can use a different address if needed). The routine does an auto EXEC after completing the LOADM, so there is no need to use a special segment in the bin file to do that.

Just change the file name in line 10 to LOADM the desired file.

10 FL$="MYPROGRM.BIN
20 A=&H1DA
30 READ B$:IF B$="XX" THEN 60
40 POKE A,VAL("&H"+B$)
50 A=A+1:GOTO 30
60 OPEN "I",1,FL$:POKE &H6F,1
70 EXEC &H1DA
100 DATA BD,A1,76,34,02,8D,24,1F
110 DATA 02,8D,20,DD,9D,1F,01,A6
120 DATA E0,27,04,6E,9F,00,9D,BD
130 DATA A1,76,D6,70,26,08,A7,80
140 DATA 31,3F,26,F3,20,DA,C6,17
150 DATA 7E,AC,46,8D,00,BD,A1,76
160 DATA 1E,89,39,XX

Darren


_________________________________________________________________
Helping your favorite cause is as easy as instant messaging. You IM, we give.
http://im.live.com/Messenger/IM/Home/?source=text_hotmail_join


More information about the Coco mailing list