Remove the sound chip; Ctrl-Alt-Del opens the monitor
The sound chip (rtl/sound.v, ports 90h-9Dh, the PmodAMP2 on JA) is removed: its ports now read FFh like any unused port, the JA pins are free, and the manual, README, example and tests no longer mention it. No game used it. Ctrl-Alt-Del raises the monitor's NMI (STOPPED BY CTRL-ALT-DEL) instead of resetting; pressed in the monitor, again within 2 s, or while an NMI is still pending it restarts the computer. The monitor gains RESET (port 62), and BASIC returns to the main screen at start-up. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
addf0157fc
commit
305c608bb5
19 files changed
+1707
-2021
No files matched your search
+1
-1
@@ -14,7 +14,7 @@ tokens, from basic/basic.c), and turned into C, which GCC compiles. Numbers,
|
||||
numeric variables and arrays, arithmetic, and all the control statements
|
||||
(GOTO, GOSUB, ON, FOR ... NEXT, IF ... THEN ... ELSE, block IF, DO ... LOOP,
|
||||
EXIT, SELECT CASE, END, STOP) become machine code, using the FPU directly.
|
||||
Every other statement (PRINT, INPUT, strings, graphics, sound, files, DATA
|
||||
Every other statement (PRINT, INPUT, strings, graphics, files, DATA
|
||||
and READ, DEF FN ...) and the functions without a fast path are handed, as
|
||||
tokens, to the interpreter in BASIC's ROM through a fixed jump table at 9F00h
|
||||
(rt_table in basic.c), so they do exactly what they do interpreted. Control
|
||||
|
||||
Reference in new issue
Block a user