better font rendering and start of z80 access

This commit is contained in:
2026-08-30 11:59:05 +02:00
parent 793c816148
commit 073a538794
28 changed files with 2960 additions and 44 deletions

20
core_comm.c Normal file
View File

@@ -0,0 +1,20 @@
#include "core_comm.h"
#include "pico/multicore.h"
#include "pico/platform.h"
bool core1_to_core0_try_write(uint32_t data) {
hard_assert(get_core_num() == 1);
return multicore_fifo_push_timeout_us(data, 0);
}
void core1_to_core0_write_blocking(uint32_t data) {
hard_assert(get_core_num() == 1);
multicore_fifo_push_blocking(data);
}
bool core0_try_read_from_core1(uint32_t *data) {
hard_assert(get_core_num() == 0);
hard_assert(data != NULL);
return multicore_fifo_pop_timeout_us(0, data);
}