Cleanup code
This commit is contained in:
parent
cd6c6216f1
commit
2153c573df
|
@ -5,6 +5,9 @@
|
||||||
**/iso/Info
|
**/iso/Info
|
||||||
/iso
|
/iso
|
||||||
|
|
||||||
|
# Custom configs should not be part of JabyEngine
|
||||||
|
#**/config
|
||||||
|
|
||||||
.lfsconfig
|
.lfsconfig
|
||||||
|
|
||||||
*.d
|
*.d
|
||||||
|
|
|
@ -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__
|
|
|
@ -3,12 +3,6 @@
|
||||||
|
|
||||||
namespace JabyEngine {
|
namespace JabyEngine {
|
||||||
struct DefaultConfiguration {
|
struct DefaultConfiguration {
|
||||||
struct Test {
|
|
||||||
static constexpr const char* string() {
|
|
||||||
return "I am default string";
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
struct BIOSFont {
|
struct BIOSFont {
|
||||||
static constexpr GPU::PositionU16 texture_load_pos() {
|
static constexpr GPU::PositionU16 texture_load_pos() {
|
||||||
return GPU::PositionU16::create(320, 256);
|
return GPU::PositionU16::create(320, 256);
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
#include <PSX/System/IOPorts/dma_io.hpp>
|
#include <PSX/System/IOPorts/dma_io.hpp>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include <PSX/jabyengine_config.hpp>
|
|
||||||
#include <PSX/GTE/gte.hpp>
|
#include <PSX/GTE/gte.hpp>
|
||||||
#include <PSX/System/syscalls.hpp>
|
#include <PSX/System/syscalls.hpp>
|
||||||
#include "../../reference/inline_n.h"
|
#include "../../reference/inline_n.h"
|
||||||
|
@ -145,8 +144,6 @@ namespace JabyEngine {
|
||||||
static constexpr auto DebugY = 0;
|
static constexpr auto DebugY = 0;
|
||||||
static constexpr auto DebugScale = 1.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");
|
__debug_boot_print_at(GPU::Color24::White(), DebugX, DebugY, DebugScale, "Starting Planschbecken\n");
|
||||||
printf("Heap starts @0x%p\n", &__heap_start);
|
printf("Heap starts @0x%p\n", &__heap_start);
|
||||||
printf("BSS from 0x%p to 0x%p (%u)\n", &__bss_start, &__bss_end, __bss_len);
|
printf("BSS from 0x%p to 0x%p (%u)\n", &__bss_start, &__bss_end, __bss_len);
|
||||||
|
|
Loading…
Reference in New Issue