Files
open-roms/src/kernal
chris 29124377fc CLOSE: send LISTEN, CLOSE, UNLISTEN to a serial device
close_iec sent its CLOSE command under ATN without first addressing the
device with LISTEN and without UNLISTEN after it, and built the command
with ORA $E0 (zero page) instead of ORA #$E0, so the byte it sent was
the secondary address ORed with whatever $E0 held. The drive never
learned of the CLOSE, so a file written on a channel was never written
to the disk.

The contract (Michael Steil, "Commodore Peripheral Bus: Part 2",
https://www.pagetable.com/?p=1031): CLOSE of a file on a serial device
sends LISTEN, then $E0 plus the secondary address, then UNLISTEN.
close_iec now does that, as iec_close_load already does for LOAD.

Not reported upstream (https://github.com/MEGA65/open-roms).
2026-10-15 02:15:38 +02:00
..
2020-09-20 20:22:36 +02:00
2020-09-20 20:22:36 +02:00
2020-12-04 21:55:50 +01:00
2020-10-22 20:13:53 +02:00
2020-09-20 20:22:36 +02:00
2020-09-20 20:22:36 +02:00
2020-12-04 21:55:50 +01:00
2020-12-04 21:55:50 +01:00
2020-09-20 20:22:36 +02:00
2020-12-15 23:01:40 +01:00
2020-09-20 20:22:36 +02:00
2020-09-20 20:22:36 +02:00
2025-02-05 18:40:56 +01:00
2021-02-24 21:11:41 +01:00
2020-09-20 20:22:36 +02:00
2020-09-20 20:22:36 +02:00