Cleanup code
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -5,6 +5,9 @@
|
||||
**/iso/Info
|
||||
/iso
|
||||
|
||||
# Custom configs should not be part of JabyEngine
|
||||
#**/config
|
||||
|
||||
.lfsconfig
|
||||
|
||||
*.d
|
||||
|
||||
6
config/DebugColor/jabyengine_custom_config.hpp
Normal file
6
config/DebugColor/jabyengine_custom_config.hpp
Normal file
@@ -0,0 +1,6 @@
|
||||
#include "../dummy_default_config.hpp"
|
||||
|
||||
struct CustomConfiguration : public DefaultConfiguration {
|
||||
};
|
||||
|
||||
#define __USE_DEBUG_COLOR__
|
||||
@@ -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
0
config/Readme.md
Normal 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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user