MEGA65 / mega65-core

MEGA65 FPGA core
Other
238 stars 84 forks source link

Writing to eth tx buffer via mapped $d800 is hitting colram instead #719

Closed ki-bo closed 10 months ago

ki-bo commented 11 months ago

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

Describe the bug The ethernet buffer can be mapped to $D800 by enabling the Ethernet I/O personality. When doing this, writing to $D800-$DFFF does not fill the eth TX buffer.

To Reproduce Steps to reproduce the behavior:

  1. Enable eth TX personality
  2. Fill packet data to $D800
  3. Send packet
  4. Packet is not sent correctly

Expected behavior The packet written to $D800 should be sent.

ki-bo commented 10 months ago

Found that the write to $d800 is always hitting colourram, even if eth personality is enabled. Writing to $ffd2800-$ffd2fff should not be intercepted by a colourram write.