MEGA65 / mega65-core

MEGA65 FPGA core
Other
239 stars 84 forks source link

Ethernet buffer mapping at $d800 not working #693

Closed ki-bo closed 1 year ago

ki-bo commented 1 year ago

Test Environment (required) You can use MEGA65INFO to retrieve this.

Describe the bug When using the Ethernet I/O personality, the content of the RX ethernet buffer should be visible to the CPU at $d800, but this is actually not working, only colour RAM data is available there. Same if accessing ffd2800, which should always provide the ethernet personality (not using the special $d02f knock sequence).

To Reproduce Steps to reproduce the behavior:

  1. Fill colour RAM with some known pattern
  2. Enable Ethernet I/O personality
  3. Check data at $d800 or $ffd2800, it still shows colour RAM data instead of the RX eth buffer

Expected behavior Ethernet RX buffer visible instead

Additional context @gardners confirmed that the development branch seems to lack the needed mapping code in the core. It needs to be checked whether this is a regression or was like that already for older bitstreams.