Skip to content

Commit b29f359

Browse files
Remove cluttery includes
1 parent 63ee266 commit b29f359

File tree

6 files changed

+24
-42
lines changed

6 files changed

+24
-42
lines changed

src/core_makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,6 @@ LDFLAGS ?= \
156156
$(CEDEV)/include/fasmg-ez80/ld.fasmg \
157157
$(LDDEBUGFLAG) \
158158
$(LDMAPFLAG) \
159-
-i 'range rom $$000000 : $$3FFFFF' \
160-
-i 'range ram $$D00000 : $$FFFFFF' \
161159
-i 'range bss $$$(BSSHEAP_LOW) : $$$(BSSHEAP_HIGH)' \
162160
-i 'symbol __low_bss = bss.base' \
163161
-i 'symbol __len_bss = bss.length' \

src/fileioc/fileioc.asm

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
;-------------------------------------------------------------------------------
2-
include '../include/ez80.inc'
3-
include '../include/ti84pceg.inc'
4-
include '../include/tiformat.inc'
5-
format ti archived appvar 'FILEIOC'
62
include '../include/library.inc'
73
;-------------------------------------------------------------------------------
84

src/graphx/graphx.asm

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
;-------------------------------------------------------------------------------
2-
include '../include/ez80.inc'
3-
include '../include/ti84pceg.inc'
4-
include '../include/tiformat.inc'
5-
format ti archived appvar 'GRAPHX'
62
include '../include/library.inc'
73
;-------------------------------------------------------------------------------
84

src/include/library.inc

Lines changed: 23 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,12 @@
1-
macro library_private
1+
include 'ez80.inc'
2+
include 'ti84pceg.inc'
3+
include 'tiformat.inc'
4+
5+
macro library? name*,version*
26

37
local lib
48
element lib.base
59

6-
postpone
7-
virtual
8-
irpv relocation, lib.relocations
9-
dw relocation
10-
end irpv
11-
load lib.relocation_table: $-$$ from $$
12-
end virtual
13-
end postpone
14-
15-
postpone
16-
lib.end = $% - lib.base_offset
17-
dw lib.relocation_table
18-
dl lib.dependencies
19-
dl lib.end
20-
end postpone
21-
22-
macro library? name,version
23-
lib.numfunctions = 0
24-
org 0
25-
lib.init = $
26-
db 192,193,version
27-
end macro
28-
2910
macro dependencies?
3011
irpv export, lib.exports
3112
dw export
@@ -35,7 +16,7 @@ macro library_private
3516
org lib.base
3617
end macro
3718

38-
macro export? function
19+
macro export? function*
3920
lib.exports equ function-lib.base
4021
lib.numfunctions = lib.numfunctions + 1
4122
end macro
@@ -52,6 +33,21 @@ macro library_private
5233
end if
5334
end macro
5435

36+
format ti archived appvar name
37+
lib.numfunctions = 0
38+
org 0
39+
lib.init = $
40+
db 192,193,version
41+
42+
postpone
43+
lib.end = $% - lib.base_offset
44+
irpv relocation, lib.relocations
45+
dw relocation
46+
end irpv
47+
dl lib.dependencies
48+
dl lib.end
49+
50+
end postpone
51+
52+
purge library?
5553
end macro
56-
library_private
57-
purge library_private

src/keypadc/keypadc.asm

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
;-------------------------------------------------------------------------------
2-
include '../include/ez80.inc'
3-
include '../include/ti84pceg.inc'
4-
include '../include/tiformat.inc'
5-
format ti archived appvar 'KEYPADC'
62
include '../include/library.inc'
73
;-------------------------------------------------------------------------------
84

0 commit comments

Comments
 (0)