forked from ChristopherNeufeld/HP67-lisp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
constants.lisp
31 lines (21 loc) · 820 Bytes
/
constants.lisp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
;; Constants used in the program
(defpackage :HP67-INTERNALS
(:use :COMMON-LISP)
(:export :STACK-REGISTERS :STACK-MEMORY ;; stack.lisp
:STACK-PROGRAM-MEMORY :STACK-ERROR-STATE
;; engine.lisp
:HANDLE-ONE-KEYPRESS :GET-NEW-STACK-OBJECT
:GET-NEW-MODE-OBJECT
;; key-structs.lisp
:KEY-STRUCT-ABBREV
:KEY-STRUCT-KEY-LOCATION
:LOCATION-CATEGORY-1 :LOCATION-CATEGORY-2
:LOCATION-COL :LOCATION-ROW :LOCATION-NARROW-KEY
:GET-KEY-STRUCTS
;; display.lisp
:FORMAT-FOR-PRINTING
))
(in-package :HP67-INTERNALS)
(defparameter *digits-in-display* 10)
(defparameter *overflow-exponent* 99) ;; larger than this, and
;; there's an error