display and gem lgic seperate cpu cores, audio fixed, display scaling implemented, psram aktivatet for threads in core

This commit is contained in:
2025-12-01 01:09:49 +01:00
parent 68c2f3bd35
commit ab5d1f01ea
297 changed files with 93353 additions and 1135 deletions
+8
View File
@@ -0,0 +1,8 @@
idf_component_register(
SRCS "peanut_gb.c"
INCLUDE_DIRS "."
REQUIRES "esp_timer"
)
# Optimize emulator core for maximum performance
target_compile_options(${COMPONENT_LIB} PRIVATE -O3)
+18
View File
@@ -0,0 +1,18 @@
/**
* @file peanut_gb.c
* @brief Peanut-GB wrapper with audio stubs
*/
#include <stdint.h>
#define ENABLE_LCD 1
#define ENABLE_SOUND 1
// Audio stubs (required by Peanut-GB when ENABLE_SOUND=1)
static uint8_t audio_read(const uint16_t addr) {
return 0xFF;
}
static void audio_write(const uint16_t addr, const uint8_t val) {
// Handled by gb_init_sound callback
}
#include "peanut_gb.h"
File diff suppressed because it is too large Load Diff