3
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
5
;;; TI-73/82/83/83+/84+/85/86 ROM Dumper
7
;;; Copyright (c) 2012 Benjamin Moody
9
;;; This program is free software; you can redistribute it and/or modify
10
;;; it under the terms of the GNU General Public License as published by
11
;;; the Free Software Foundation; either version 2 of the License, or
12
;;; (at your option) any later version.
14
;;; This program is distributed in the hope that it will be useful,
15
;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
16
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
;;; GNU General Public License for more details.
19
;;; You should have received a copy of the GNU General Public License
20
;;; along with this program. If not, see <http://www.gnu.org/licenses/>.
22
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
31
LINK_STATUS_MASK equ 3
57
APP_PUSH_ERRORH equ 59h
58
APP_POP_ERRORH equ 5Ch
60
_ClrScrnFull equ 4546h
66
_GetVariableData equ 5092h
72
_RunIndicOff equ 4570h
74
_WriteAByteSafe equ 80C6h
78
.addinstr B_CALL * EF 3 NOP 1
80
#define CLEAR_LCD B_CALL _ClrScrnFull
81
#define GET_CSC B_CALL _GetCSC
82
#define PUT_CHAR B_CALL _PutC
83
#define PUT_DECIMAL B_CALL _DispHL
84
#define PUT_STRING B_CALL _PutS
85
#define RUN_INDIC_OFF B_CALL _RunIndicOff
86
#define SET_ROM_PAGE out (memPort), a
88
#define EXIT_KEY_STR db 0C1h, "MODE]"
93
#define CALC_ROM_SIZE 0