kbeckmann / PicoCart64

N64 development cart using a Raspberry Pi RP2040
BSD 2-Clause "Simplified" License
775 stars 44 forks source link

Ignore PI accesses properly #33

Closed kbeckmann closed 2 years ago

kbeckmann commented 2 years ago

Currently the code expects us to handle all PI read and write requests. If we don't, the state machine ends up in a bad state.

Example: User has a physical N64DD connected which will respond to certain memory accesses. If we also respond, there will be a bus conflict.

Solve this by e.g. resetting the state machine in the else case in the big while/if chain in n64_pi.c

How to test? Not sure, don't have a N64DD,