Created
July 5, 2021 18:54
-
-
Save houmei/8ade8635d34993758fc0692269636ae1 to your computer and use it in GitHub Desktop.
FM-11 EXTENDED MEMORY READ / F-BASIC4.0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
100 CLEAR ,&H4FFF | |
110 DEF FNH$(A)=RIGHT$("0"+HEX$(A),2) | |
120 M=&HFD80 | |
130 S=PEEK(&HFD93) | |
140 PRINT "MSR: ";FNH$(S) | |
150 FOR I=0 TO 15 | |
160 PRINT "MMR: ";FNH$(I);" ";FNH$(PEEK(M+I));"000" | |
170 NEXT I | |
180 T=&HFD85 | |
190 FOR I=2 TO 15 | |
200 M=I*16 | |
210 POKE T,M | |
220 PRINT HEX$(I);"0000:"; | |
230 FOR J=0 TO 15: PRINT " ";FNH$(PEEK(&H5000+J));:NEXT J | |
240 PRINT | |
250 NEXT I |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment