Never output data on access to $CFFF.

This commit is contained in:
Oliver Schmidt 2023-11-13 00:51:43 +01:00
parent e26dff7f5f
commit ac598c4a7b
2 changed files with 4 additions and 4 deletions

View File

@ -91,7 +91,7 @@ void __time_critical_func(board)(void) {
break;
}
} else {
if (!strb || active) {
if (!strb || (active && (addr != 0x0FFF))) {
pio_sm_put(pio0, sm_read, firmware[addr]);
}
}

View File

@ -25,9 +25,9 @@ SOFTWARE.
*/
#include <stdio.h>
#include "pico/printf.h"
#include "pico/stdlib.h"
#include "pico/multicore.h"
#include <pico/printf.h>
#include <pico/stdlib.h>
#include <pico/multicore.h>
#include "bus.pio.h"
#include "board.h"