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
@@ -6,7 +6,7 @@ and the graphics come out the same; and time them.
|
||||
python3 test-compile.py [--only NAME] [--keep DIR]
|
||||
|
||||
The programs are the ones in basic/examples (with their waits for the clock
|
||||
and the sound chip taken out, which an emulator can't time) and the programs
|
||||
taken out, which an emulator can't time) and the programs
|
||||
of the other basic/test-*.py suites, plus programs here that go through each
|
||||
statement and the errors.
|
||||
"""
|
||||
@@ -115,9 +115,6 @@ def examples():
|
||||
lines[810] = "810 FOR J=0 TO 14: FOR I=0 TO 19" # a corner of the set
|
||||
lines[900] = '900 INK 7: LOCATE 30,1: PRINT "MANDELBROT DONE";'
|
||||
lines[910] = '910 PRINT " WHOLE DEMO DONE"'
|
||||
if name == "sound":
|
||||
for n in (90, 170, 230): # waits for the envelopes
|
||||
lines[n] = "%d REM" % n
|
||||
if name == "sprites": # 30 frames, the same each time
|
||||
lines[50] = "50 REM" # (RANDOMIZE takes the clock)
|
||||
lines[390] = "390 REM" # the wait for the next frame
|
||||
|
||||
Reference in new issue
Block a user