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 03h
56
_runindicoff equ 4AB1h
60
#define CLEAR_LCD call _clrScrn
61
#define GET_CSC call _get_key
62
#define PUT_CHAR call _putc
63
#define PUT_DECIMAL xor a \ call _dispAHL
64
#define PUT_STRING call _puts
65
#define RUN_INDIC_OFF call _runindicoff
67
#define SET_ROM_PAGE out (memPort), a
69
#define EXIT_KEY_STR db "[EXIT]"
73
#define CALC_ROM_SIZE 256