2021-03-17 20:32:19 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
int GetDisassemblyLine(const WORD nOffset, DisasmLine_t& line_);
|
2022-05-01 13:24:35 +00:00
|
|
|
std::string FormatDisassemblyLine(const DisasmLine_t& line);
|
2021-03-17 20:32:19 +00:00
|
|
|
void FormatOpcodeBytes(WORD nBaseAddress, DisasmLine_t& line_);
|
|
|
|
void FormatNopcodeBytes(WORD nBaseAddress, DisasmLine_t& line_);
|
|
|
|
|
2022-02-26 17:54:06 +00:00
|
|
|
std::string FormatAddress(WORD nAddress, int nBytes);
|
2022-05-01 13:24:35 +00:00
|
|
|
char* FormatCharCopy(char* pDst, const char* pEnd, const char* pSrc, const int nLen);
|
2021-03-17 20:32:19 +00:00
|
|
|
|
|
|
|
char FormatCharTxtAsci(const BYTE b, bool* pWasAsci_ = NULL);
|
|
|
|
char FormatCharTxtCtrl(const BYTE b, bool* pWasCtrl_ = NULL);
|
|
|
|
char FormatCharTxtHigh(const BYTE b, bool* pWasHi_ = NULL);
|
|
|
|
char FormatChar4Font(const BYTE b, bool* pWasHi_, bool* pWasLo_);
|
|
|
|
|
|
|
|
void GetTargets_IgnoreDirectJSRJMP(const BYTE iOpcode, int& nTargetPointer);
|
|
|
|
|
|
|
|
void DisasmCalcTopFromCurAddress(bool bUpdateTop = true);
|
|
|
|
void DisasmCalcCurFromTopAddress();
|
|
|
|
void DisasmCalcBotFromTopAddress();
|
|
|
|
void DisasmCalcTopBotAddress();
|
|
|
|
WORD DisasmCalcAddressFromLines(WORD iAddress, int nLines);
|