From 847ddb3e5bed35c321a068b1247815b0837cec85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Gaier?= Date: Fri, 9 Feb 2024 10:18:01 -0500 Subject: [PATCH] Prepare an easy to test configuration --- include/PSX/jabyegine_config.hpp | 2 ++ src/Library/src/BootLoader/start_boot.cpp | 3 +++ 2 files changed, 5 insertions(+) diff --git a/include/PSX/jabyegine_config.hpp b/include/PSX/jabyegine_config.hpp index db8360d0..6f249f34 100644 --- a/include/PSX/jabyegine_config.hpp +++ b/include/PSX/jabyegine_config.hpp @@ -2,6 +2,8 @@ #include "GPU/gpu_types.hpp" namespace JabyEngine { + #define TEST_STR "Planschbecken sind default" + struct Configuration { struct BIOSFont { static constexpr auto TextureLoadPos = GPU::PositionU16::create(320, 256); diff --git a/src/Library/src/BootLoader/start_boot.cpp b/src/Library/src/BootLoader/start_boot.cpp index 55cc12d5..4529cd9c 100644 --- a/src/Library/src/BootLoader/start_boot.cpp +++ b/src/Library/src/BootLoader/start_boot.cpp @@ -3,6 +3,7 @@ #include #include +#include #include #include #include "../../reference/inline_n.h" @@ -144,6 +145,8 @@ namespace JabyEngine { static constexpr auto DebugY = 0; static constexpr auto DebugScale = 1.0; + //TODO: for now v + printf("Config-Str: %s\n", TEST_STR); __debug_boot_print_at(GPU::Color24::White(), DebugX, DebugY, DebugScale, "Starting Planschbecken\n"); printf("Heap starts @0x%p\n", &__heap_start); printf("BSS from 0x%p to 0x%p (%u)\n", &__bss_start, &__bss_end, __bss_len);