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
@@ -2838,6 +2838,7 @@ int main(void)
|
||||
new_prog();
|
||||
g_clear(0);
|
||||
newline();
|
||||
out_c(27); out_c('['); out_c('?'); out_c('4'); out_c('7'); out_c('l'); /* off the monitor's screen */
|
||||
puts_("DARTMOUTH-STYLE BASIC RISC-V ON A BASYS 3");
|
||||
newline();
|
||||
if (setjmp(errjmp)) {
|
||||
|
||||
Reference in new issue
Block a user