File tree Expand file tree Collapse file tree 4 files changed +41
-37
lines changed Expand file tree Collapse file tree 4 files changed +41
-37
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ include '../include/library.inc'
4
4
5
5
library 'FILEIOC' , 3
6
6
7
+ ;-------------------------------------------------------------------------------
8
+ ; no dependencies
9
+ ;-------------------------------------------------------------------------------
10
+
7
11
;-------------------------------------------------------------------------------
8
12
; v1 functions
9
13
;-------------------------------------------------------------------------------
@@ -44,11 +48,6 @@ library 'FILEIOC', 3
44
48
export ti_AllocEqu
45
49
;-------------------------------------------------------------------------------
46
50
47
- ;-------------------------------------------------------------------------------
48
- dependencies
49
- ; none
50
- ;-------------------------------------------------------------------------------
51
-
52
51
;-------------------------------------------------------------------------------
53
52
resizeBytes := $ E30C0C
54
53
currSlot := $ E30C11
Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ include '../include/library.inc'
4
4
5
5
library 'GRAPHX' , 8
6
6
7
+ ;-------------------------------------------------------------------------------
8
+ ; no dependencies
9
+ ;-------------------------------------------------------------------------------
10
+
7
11
;-------------------------------------------------------------------------------
8
12
; v1 functions
9
13
;-------------------------------------------------------------------------------
@@ -122,11 +126,6 @@ library 'GRAPHX', 8
122
126
;-------------------------------------------------------------------------------
123
127
export gfx_SetCharData
124
128
125
- ;-------------------------------------------------------------------------------
126
- dependencies
127
- ; none
128
- ;-------------------------------------------------------------------------------
129
-
130
129
;-------------------------------------------------------------------------------
131
130
LcdSize := LcdWidth * LcdHeight
132
131
InterruptStackSize := 4000 ; minimum stack size to provide for interrupts if moving the stack
Original file line number Diff line number Diff line change @@ -3,48 +3,55 @@ include 'ti84pceg.inc'
3
3
include 'tiformat.inc'
4
4
5
5
macro library? name *, version *
6
-
7
6
local lib
8
7
element lib.base
8
+ virtual
9
+ lib.exports.area::
10
+ end virtual
11
+ virtual
12
+ lib.relocations.area::
13
+ end virtual
9
14
10
- macro dependencies?
11
- irpv export , lib.exports
12
- dw export
13
- end irpv
14
- lib.dependencies = $
15
- lib.base_offset = $%
16
- org lib.base
17
- end macro
15
+ form at ti archived appvar name
16
+ org 0
17
+ db 192 , 193 , version
18
+ dw lib.exports
19
+ lib.dependencies:
20
+ lib.base_offset := $%
21
+ org lib.base
18
22
19
23
macro export? function *
20
- lib.exports equ function - lib.base
24
+ virtual lib.exports.area
25
+ dw function - lib.base
26
+ end virtual
21
27
end macro
22
28
23
29
macro @ez80.word @value *
24
30
local value , address
25
31
value = @value
26
32
address = $
27
33
if value relativeto lib.base
28
- lib.relocations equ address - lib.base
34
+ virtual lib.relocations.area
35
+ dw address - lib.base
36
+ end virtual
29
37
@ez80.word value - lib.base
30
38
else
31
39
@ez80.word value
32
40
end if
33
41
end macro
34
42
35
- form at ti archived appvar name
36
- org 0
37
- lib.init = $
38
- db 192 , 193 , version
39
-
40
43
postpone
41
- lib.end = $% - lib.base_offset
42
- irpv relocation , lib.relocations
43
- dw relocation
44
- end irpv
44
+ virtual lib.exports.area
45
+ load lib.exports: $ - $$ from $$
46
+ end virtual
47
+ virtual lib.relocations.area
48
+ load lib.relocations: $ - $$ from $$
49
+ end virtual
50
+
51
+ lib.end_offset := $%
52
+ dw lib.relocations
45
53
dl lib.dependencies
46
- dl lib.end
47
-
54
+ dl lib.end_offset - lib.base_offset
48
55
end postpone
49
56
50
57
purge library?
Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ include '../include/library.inc'
4
4
5
5
library 'KEYPADC' , 2
6
6
7
+ ;-------------------------------------------------------------------------------
8
+ ; no dependencies
9
+ ;-------------------------------------------------------------------------------
10
+
7
11
;-------------------------------------------------------------------------------
8
12
; v1 functions
9
13
;-------------------------------------------------------------------------------
@@ -13,11 +17,6 @@ library 'KEYPADC', 2
13
17
export kb_Reset
14
18
;-------------------------------------------------------------------------------
15
19
16
- ;-------------------------------------------------------------------------------
17
- dependencies
18
- ; none
19
- ;-------------------------------------------------------------------------------
20
-
21
20
;-------------------------------------------------------------------------------
22
21
kb_Scan:
23
22
; Scans the keypad and updates data registers
You can’t perform that action at this time.
0 commit comments