initial commit

This commit is contained in:
Lauchmelder 2022-02-28 16:04:25 +01:00
commit ff8389a76b
No known key found for this signature in database
GPG key ID: C2403C69D78F011D
46 changed files with 9118 additions and 0 deletions

27
src/debugger/Debugger.hpp Normal file
View file

@ -0,0 +1,27 @@
#pragma once
#include <vector>
#include "DebugWindow.hpp"
class Bus;
class Debugger
{
public:
Debugger(Bus* bus);
~Debugger();
bool Update();
void Render();
public:
bool isOpen = true;
private:
Bus* bus;
bool running = false;
bool overrideResetVector = false;
uint16_t resetVector = 0x0000;
std::vector<DebugWindow*> windows;
};