mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-06-19 10:29:29 +00:00
Start on cleanup of tab stops
This commit is contained in:
parent
c87216db65
commit
bf63cf3d53
|
@ -67,6 +67,22 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|||
// Font
|
||||
FontConfig_t g_aFontConfig[ NUM_FONTS ];
|
||||
|
||||
// Tabstops -- See TabStops_e
|
||||
static int aDisasmTabStopsMaster[ NUM_TAB_STOPS ] =
|
||||
{ 5, 14, 26, 30, 41, 48, 49, 51, 54, 59, 62 };
|
||||
|
||||
int g_aDisasmTabStops[ NUM_TAB_STOPS ] =
|
||||
{ 5, 14, 26, 30, 41, 48, 49, 51, 54, 59, 62 };
|
||||
|
||||
// sAddress, sOpcodes, sTarget, sTargetOffset, nTargetOffset, sTargetPointer, sTargetValue, sImmediate, nImmediate, sBranch );
|
||||
//> Address Seperator Opcodes Label Mnemonic Target [Immediate] [Branch]
|
||||
//
|
||||
//> xxxx: xx xx xx LABEL MNEMONIC 'E' =
|
||||
//> ^ ^ ^ ^ ^
|
||||
//> 6 17 27 41 46
|
||||
|
||||
static int g_aDisasmTabStopsPixels[ NUM_TAB_STOPS ];
|
||||
|
||||
// Private ________________________________________________________________________________________
|
||||
|
||||
char g_aDebuggerVirtualTextScreen[ DEBUG_VIRTUAL_TEXT_HEIGHT ][ DEBUG_VIRTUAL_TEXT_WIDTH ];
|
||||
|
|
|
@ -48,8 +48,28 @@
|
|||
{
|
||||
DISPLAY_HEIGHT = 384,
|
||||
MAX_DISPLAY_LINES = DISPLAY_HEIGHT / CONSOLE_FONT_HEIGHT,
|
||||
MAX_ADDRESS_HISTORY = 32
|
||||
};
|
||||
|
||||
enum TabStop_e
|
||||
{ // First set of tab stops are dynamic
|
||||
TS_OPCODE
|
||||
, TS_LABEL
|
||||
, TS_INSTRUCTION
|
||||
, TS_TARGET
|
||||
, TS_EFFECTIVE_ADDRESS // Effective Address : Preview Byte
|
||||
, TS_BRANCH // Branch Indicator
|
||||
, TS_CHAR // Preview (and Immediate) Char
|
||||
, _NUM_TAB_STOPS
|
||||
// Second set of tab stops are static
|
||||
, TS_REG_NAME = _NUM_TAB_STOPS
|
||||
, TS_REG_CHAR
|
||||
, TS_REG_HEX
|
||||
, TS_BREAKPOINT
|
||||
, NUM_TAB_STOPS
|
||||
};
|
||||
extern int g_aDisasmTabStops[ NUM_TAB_STOPS ];
|
||||
|
||||
int GetConsoleTopPixels( int y );
|
||||
|
||||
extern FontConfig_t g_aFontConfig[ NUM_FONTS ];
|
||||
|
|
Loading…
Reference in New Issue
Block a user