Refactoring unrecognized by Ghidra labels SUB_*, LAB_*, Data_*
This commit is contained in:
1 parent
695cae7bc9
commit
1182547754
8 files changed
+3288
-2686
No files matched your search
+40
-6
@@ -18,8 +18,6 @@ ASCII_LF EQU 0x0A ; 10 - LF (Line feed)
|
||||
ASCII_VTAB EQU 0x0B ; 11 - Vertical TAB
|
||||
ASCII_FF EQU 0x0C ; 12 - Form Feed
|
||||
ASCII_CR EQU 0x0D ; 13 - CR (Carriage return)
|
||||
;ASCII_SYN EQU 0x16 ; SYN (Synchronous idle)
|
||||
;ASCII_SUB EQU 0x1A ; SUB (Substitute), EOF - (End of file)
|
||||
ASCII_ESC EQU 0x1B ; 27 - ESC (Escape)
|
||||
ASCII_SP EQU 0x20 ; 32 - Space
|
||||
ASCII_CUR EQU 0x24 ; $
|
||||
@@ -27,7 +25,38 @@ ASCII_SQ EQU 0x27 ; '
|
||||
ASCII_BKSL EQU 0x5C ; \
|
||||
ASCII_DEL EQU 0x7F ; 127 - DEL (Delete)
|
||||
|
||||
CTRL_O EQU 0x0f ; 15
|
||||
CTRL_B EQU 0x02 ; Move the cursor back one word
|
||||
CTRL_C EQU 0x03 ; Break
|
||||
CTRL_E EQU 0x05 ; Delete to end of string
|
||||
CTRL_F EQU 0x06 ; Go to the beginning of the next word
|
||||
CTRL_N EQU 0x0E ; Go to to end of line
|
||||
CTRL_O EQU 0x0F ;
|
||||
CTRL_L EQU 0x0C ; Clear screen
|
||||
CTRL_U EQU 0x15 ; Delete line
|
||||
|
||||
KEY_HOME EQU 0x0B
|
||||
KEY_INS EQU 0x12
|
||||
|
||||
KEY_RT EQU 0x1C ; Move cursor Right
|
||||
KEY_LT EQU 0x1D ; Move cursor Left
|
||||
KEY_UP EQU 0x1E ; Move cursor Up
|
||||
KEY_DN EQU 0x1F ; Move cursor Down
|
||||
|
||||
KEY_F1 EQU 0x81 ; Functional key 1
|
||||
KEY_F2 EQU 0x82 ; Functional key 2
|
||||
KEY_F3 EQU 0x83 ; Functional key 3
|
||||
KEY_F4 EQU 0x84 ; Functional key 4
|
||||
KEY_F5 EQU 0x85 ; Functional key 5
|
||||
KEY_F6 EQU 0x86 ; Functional key 6
|
||||
KEY_F7 EQU 0x87 ; Functional key 7
|
||||
KEY_F8 EQU 0x88 ; Functional key 8
|
||||
KEY_F9 EQU 0x89 ; Functional key 9
|
||||
KEY_F10 EQU 0x8A ; Functional key 10
|
||||
KEY_F11 EQU 0x8B ; Functional key 11
|
||||
KEY_F12 EQU 0x87 ; Functional key 12
|
||||
|
||||
|
||||
|
||||
|
||||
_SPACE_ EQU 0x18 ; 24
|
||||
;_CDBL EQU 0x1e ; 30
|
||||
@@ -194,7 +223,7 @@ LSTOPK EQU IDIVTK + 1 - PLUSTK ; 0x0C 12
|
||||
; ---------------------------------------------------
|
||||
; Extended function tokens
|
||||
; ---------------------------------------------------
|
||||
|
||||
ONEFUN EQU 0x81
|
||||
_LEFT_ EQU 0x81 ; 129
|
||||
_RIGHT_ EQU 0x82 ; 130
|
||||
_MID_ EQU 0x83 ; 131
|
||||
@@ -212,6 +241,10 @@ _TAN EQU 0x8d ; 141
|
||||
_ATN EQU 0x8e ; 142
|
||||
_FRE EQU 0x8f ; 143
|
||||
|
||||
NUMGFN EQU 2 * _MID_ - 2 * ONEFUN + 1 ;
|
||||
BOTCON EQU (_SQR - ONEFUN) * 2
|
||||
|
||||
|
||||
; ---------------------------------------------------
|
||||
_INP EQU 0x90 ; 144
|
||||
_POS EQU 0x91 ; 145
|
||||
@@ -305,7 +338,6 @@ CALL_nn EQU 0xCD
|
||||
; --------------------------------------------------
|
||||
CONS1 EQU 0x88 ; 136
|
||||
CON1 EQU 0x2c20
|
||||
CTRL_C EQU 3
|
||||
NMLOFS EQU 6
|
||||
NMREL EQU 3
|
||||
MAXPRM EQU 32 ; 0x20
|
||||
@@ -319,5 +351,7 @@ REM_FLG EQU 0x04
|
||||
NMLO.C EQU 8
|
||||
CLMWID EQU 14 ; Comma columns
|
||||
LINLN EQU 40 ; Terminal line length
|
||||
PRMSIZ EQU 100 ; Definition block size
|
||||
NUMLEV EQU 60 ; Number of stack levels reserved
|
||||
|
||||
VRAMAD EQU 0xF000
|
||||
VRAMAD EQU 0xF000 ; Alphatronics VRAM address
|
||||
Reference in new issue
Block a user