Home » Personal collection » Commodore tapes » Commodore_64 » drawer_tr_tape01a_d60_c64_tape.wav » supermon enter
supermon enter
This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.
Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.
| Tape/disk: | Home » Personal collection » Commodore tapes » Commodore_64 » drawer_tr_tape01a_d60_c64_tape.wav |
| Filename: | supermon enter |
| Read OK: | ✔ |
| File size: | 030E bytes |
| Load address: | 0801 |
| Exec address: | 0000 |
File contents
1 HE$="0123456789ABCDEF"
10 PRINTCHR$(147);
20 FOR A=2048TO4587STEP8
30 GOSUB 1000
40 PRINT".";H$;:INPUT A$
50 FOR X=1 TO 16STEP2
60 B$=MID$(A$,X,2)
70 GOSUB 2000
80 POKE A+X/2,HEX
90 NEXT:NEXT
100 INPUT"SAVE TO TAPE OR DISK";TD$
120 IF TD$="D" THEN DE=8
130 IF TD$="T" THEN DE=1
140 FORA=0TO34:READ B:POKEA+49152,B:NEXT:POKE49153,DE:INPUT"ARE YOU SURE";S$
150 IF S$="N" THEN 100
160 SYS 49152
170 PRINT"MACHINE CODE SAVED"
200 END
1000 N1=INT(A/4096):N6=(A/4096-N1)*16:N2=INT(N6):N3=INT((N6-N2)*16)
1010 N4=(((N6-N2)*16)-N3)*16
1030 H$=MID$(HE$,N1+1,1)+MID$(HE$,N2+1,1)+MID$(HE$,N3+1,1)+MID$(HE$,N4+1,1)
1040 RETURN
2000 FOR V=1TO16:B=V-1:IF LEFT$(B$,1)=MID$(HE$,V,1) THEN 2020
2010 NEXT
2020 HEX=B*16
2030 FOR V=1TO16:B=V-1:IF RIGHT$(B$,1)=MID$(HE$,V,1) THEN 2050
2040 NEXT
2050 HEX=HEX+B
2070 RETURN
10000 DATA 162,1,160,1,32,186,255,162,26,160,192,169,8,32,189,255,162,236,160
10010 DATA 17,169,251,32,216,255,96,83,85,80,69,82,77,79,78,0
HE$�"0123456789ABCDEF"