Describe the issue
The MSB and LSB of the FIFO count have an Endian issue with the 6809
To reproduce
ldd $FF54 Read 16-bit FIFO count
Expected behavior
Should return 16-bit FIFO count, not just the LSB or just the MSB
The core appears to be latching the 16-bit data at the wrong time
Hardware version
Foenix JR2 x1 received around Dec 2024, black PCB
Uses: F256JrJr_FNX6809_June14th_RC0017_0003.mcs
Describe the issue
The MSB and LSB of the FIFO count have an Endian issue with the 6809
To reproduce
ldd $FF54 Read 16-bit FIFO count
Expected behavior
Should return 16-bit FIFO count, not just the LSB or just the MSB
The core appears to be latching the 16-bit data at the wrong time
Hardware version
Foenix JR2 x1 received around Dec 2024, black PCB
Uses: F256JrJr_FNX6809_June14th_RC0017_0003.mcs