Files
CoCo3_Plus_MiSTer/rtl
Alan SterembergandClaude Opus 5.5 72a50a16bb Cart start-up: cold boot "DK" carts; wire up "Cart Interrupt Disabled"
A cart loaded after boot in Multi-Pak slot 3 made CART toggle every CPU cycle
forever -- the autostart of a program pak, whose CART pin is tied to Q. A
disk-style ROM (HDB-DOS, Disk BASIC) never drives CART; BASIC starts it from
the "DK" signature at power-on. Under the toggling, FujiNet's CFGLOAD.BIN
(which re-enables the CART interrupt) hung in an endless FIRQ after 17
DriveWire reads; an OSD reset cleared it.

- A cart whose first two bytes are "DK" now gets a cold boot (the existing
  AMW/EE_Cold_Bt path) instead of the autostart interrupt.
- OSD "Cart Interrupt Disabled" (status[16] -> SWITCH[4]) was not connected;
  it now suppresses the slot-3 autostart interrupt.
- Program paks are unchanged: Arkanoid loaded after boot still autostarts.

Verified in the Verilator sim with the hardware sequence (cart loaded after
boot, slot 3, no reset): the FujiNet S3 cart now reads all 98 sectors of
CONFIG, matching the MiSTer after a manual reset. Regression tests unchanged.

The sim gains --cart-frame N to load the cart after boot, as the OSD and MGL
do; loading it before reset had hidden the problem.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-10-02 07:15:44 -04:00
..
2021-12-21 16:01:35 -08:00
2023-10-23 19:35:57 -04:00
2021-12-21 16:01:35 -08:00
2021-12-21 16:01:35 -08:00
2021-12-21 16:01:35 -08:00
2022-01-24 19:14:43 -05:00
2024-05-14 23:00:16 -04:00
2024-05-14 23:00:16 -04:00
2024-03-18 18:22:32 -04:00
2024-02-16 22:27:15 -05:00
2026-01-13 23:54:33 -05:00
2024-05-14 23:00:16 -04:00
2024-05-14 23:00:16 -04:00
2021-12-21 16:01:35 -08:00
2021-12-21 16:01:35 -08:00
2021-12-21 16:01:35 -08:00
2021-12-21 16:01:35 -08:00
2021-12-21 16:01:35 -08:00
2022-02-18 22:12:46 -05:00
2024-05-14 23:00:16 -04:00
2024-05-14 23:00:16 -04:00
2021-12-21 16:01:35 -08:00
2024-01-29 10:55:00 -05:00
2021-12-21 16:01:35 -08:00
2021-12-21 16:01:35 -08:00