MEGA65 / mega65-core

MEGA65 FPGA core
Other
240 stars 85 forks source link

MAP instruction sets LSBs of map when setting MB regs #635

Open gardners opened 1 year ago

gardners commented 1 year ago

Test Environment (required) You can use MEGA65INFO to retrieve this. Current head of development

Describe the bug

LDA #$FF
LDX #$0F
LDA #$FF
LDX #$0F
MAP
EOM

should only set the MB regs of the mapping. But it also overwrites the LSBs of the map registers.

To Reproduce See above code snippet.

Expected behavior Only the MB fields of the MAP location should be set.

Screenshots N/A

Additional context Required to be fixed for ETHLOAD.M65 to run out of colour RAM