Files
CoCo3_Plus_MiSTer/rtl
Alan SterembergandClaude Opus 5.5 aae1ceabf1 RS-232 Pak: decode in any MPI slot; clock the receiver from the baud generator
Two bugs kept the FujiNet HDB-DOS SY6551 carts from working:

- $FF68-$FF6B were decoded only when the Multi-Pak I/O select was slot 1
  (MPI_SCS == 0), which the OSD cannot select. With the cart in slot 3 the
  6551 was unreachable: HDB-DOS polled status forever and sent nothing. On a
  real CoCo the SCS line covers only $FF40-$FF5F and the RS-232 Pak decodes
  $FF68 itself, so it now answers in any slot.

- With CTL bit 4 = 0 ("external receive clock") the receiver ran off the fixed
  1.8475 MHz enable, i.e. 115,200 baud. HDBDW3L3_19200.CCC writes CTL=$0F, so
  it transmitted at 19,200 and received at 115,200 -- every DriveWire sector
  failed its checksum. The receiver now uses the baud generator (RX_CLK =
  TX_CLK); unchanged for CTL=$1x and for baud select 0.

Verified in the Verilator sim against the real FujiNet daemon (FujiNet-PC):
the L3 cart at 19,200 loads FujiNet CONFIG with no checksum errors.

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
2023-10-23 19:35:57 -04:00