1
0
mirror of https://github.com/cc65/cc65.git synced 2025-01-10 19:29:45 +00:00
Oliver Schmidt 5493c9e7c2
Don't empty the Receive Data Register on filling the Transmit Data Register
The Receive Data Register and the Transmit Data Register share share a single address. Accessing that address with STA abs,X in order to fill the Transmit Data Register causes a 6502 false read which causes the Receive Data Register to be emptied.

The simplest way to work around that issue - which I chose here - is to move the base address for all ACIA accesses from page $C0 to page $BF. However, that adds an additional cycle to all read accesses. An alternative approach would be to only modify the single line `sta ACIA_DATA,x`.
2022-09-08 17:11:30 +02:00
..
2022-07-21 03:20:44 +02:00
2022-07-21 03:20:44 +02:00
2022-07-21 03:20:45 +02:00
2022-07-21 03:20:44 +02:00
2022-07-24 02:47:02 +02:00
2022-07-21 03:20:44 +02:00
2022-07-21 03:20:44 +02:00
2022-07-21 03:20:44 +02:00
2022-08-04 00:25:04 +02:00
2022-07-21 03:20:44 +02:00
2022-07-21 03:20:44 +02:00
2022-07-21 03:20:44 +02:00
2022-07-21 03:22:52 +02:00
2022-07-21 03:20:44 +02:00
2022-07-21 03:20:44 +02:00
2022-07-21 03:20:44 +02:00
2022-07-21 03:22:52 +02:00
2022-07-21 03:20:44 +02:00
2022-07-21 03:20:44 +02:00
2022-07-21 03:20:44 +02:00
2022-07-21 03:20:44 +02:00
2022-07-21 03:20:44 +02:00
2022-07-21 03:20:44 +02:00
2022-07-21 03:22:52 +02:00
2022-09-02 11:55:54 +02:00
2022-07-21 03:22:52 +02:00