Cleanup code

This commit is contained in:
jaby 2024-02-20 22:02:41 -05:00
parent cd6c6216f1
commit 2153c573df
6 changed files with 9 additions and 20 deletions

3
.gitignore vendored
View File

@ -5,6 +5,9 @@
**/iso/Info
/iso
# Custom configs should not be part of JabyEngine
#**/config
.lfsconfig
*.d

View File

@ -0,0 +1,6 @@
#include "../dummy_default_config.hpp"
struct CustomConfiguration : public DefaultConfiguration {
};
#define __USE_DEBUG_COLOR__

View File

@ -1,11 +0,0 @@
#include "../dummy_default_config.hpp"
struct CustomConfiguration : public DefaultConfiguration {
struct Test {
static constexpr const char* string() {
return "I am a custom string";
}
};
};
#define __USE_DEBUG_COLOR__

0
config/Readme.md Normal file
View File

View File

@ -3,12 +3,6 @@
namespace JabyEngine {
struct DefaultConfiguration {
struct Test {
static constexpr const char* string() {
return "I am default string";
}
};
struct BIOSFont {
static constexpr GPU::PositionU16 texture_load_pos() {
return GPU::PositionU16::create(320, 256);

View File

@ -3,7 +3,6 @@
#include <PSX/System/IOPorts/dma_io.hpp>
#include <stdio.h>
#include <PSX/jabyengine_config.hpp>
#include <PSX/GTE/gte.hpp>
#include <PSX/System/syscalls.hpp>
#include "../../reference/inline_n.h"
@ -145,8 +144,6 @@ namespace JabyEngine {
static constexpr auto DebugY = 0;
static constexpr auto DebugScale = 1.0;
//TODO: for now v
printf("Config-Str: %s\n", Configuration::Test::string());
__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);