- [FIX] estaven mal els opcodes LDH i els nous ADD sp,e8 i LD hl,sp+e8
- [NEW] Modul sm83dis per a mostrar el desensamblat del codi completat - [NEW] Afegits moduls ui, ui_menu i ui_window, i el font.bmp, quasi tal qual des del projecte z80
This commit is contained in:
17
sm83dis.h
Normal file
17
sm83dis.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#pragma once
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
namespace sm83dis
|
||||
{
|
||||
void loadSymbols();
|
||||
void saveSymbols();
|
||||
const char *getAsm(const uint16_t pos);
|
||||
const char *getOpcode(const uint16_t pos);
|
||||
const int getOpcodeSize(const uint16_t pos);
|
||||
const char *getSymbol(const uint16_t pos);
|
||||
void setSymbol(const uint16_t pos, const char *sym);
|
||||
|
||||
const int getNumSymbols();
|
||||
const uint16_t getSymbolAddress(const int pos);
|
||||
}
|
||||
Reference in New Issue
Block a user