Skip to content

Commit 98ac683

Browse files
committed
Reduce the size of VAR.TXT
1 parent fff0c04 commit 98ac683

File tree

1 file changed

+1
-86
lines changed

1 file changed

+1
-86
lines changed

VAR.TXT

+1-86
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,7 @@
22
* Definitions in this file
33
*
44
* Register Workspaces
5-
DEF WRAPSP,SCRNWS,ARRYWS,INPTWS
6-
* Arrays
7-
DEF LINLST,FMTLST,MGNLST
8-
* WRAP.TXT
9-
DEF FMTEND,MGNEND,LNWDT1,LNWDTH
10-
* SCRNWRT.TXT
11-
DEF SRCLIN,INDENT,CPI,NXTFMT
12-
DEF DSPSTR,CURSTR
13-
* INPUT.TXT
14-
DEF PARINX,LININX,CHRPAX,CHRLIX
15-
DEF WINOFF
16-
DEF INSTMD
17-
* KEY.TXT
18-
DEF TIMER,PREVKY,KEYBUF
19-
DEF BUFSTR,BUFEND,BUFWRT,BUFRD
5+
DEF ARRYWS
206

217
* Areas of memory that absolutely have
228
* to be in RAM and could never be part
@@ -26,76 +12,5 @@
2612
* Areas for workspace registers
2713
*
2814
TEXT 'WORKSPCE'
29-
WRAPSP BSS >20
30-
SCRNWS BSS >20
3115
ARRYWS BSS >20
32-
INPTWS BSS >20
33-
34-
*
35-
* Areas for changeable values
36-
*
37-
38-
TEXT 'VARIABLE'
39-
* Address of line list
40-
LINLST DATA 0
41-
* Address of format line list
42-
FMTLST DATA 0
43-
* Address of margin list
44-
MGNLST DATA 0
45-
46-
* WRAP.TXT
47-
FMTEND DATA 0
48-
MGNEND DATA 0
49-
* Width of first paragraph line
50-
* If there is no indent it will match
51-
* LNWDTH.
52-
LNWDT1 DATA 0
53-
* General line width
54-
LNWDTH DATA 0
55-
56-
* SCRNWRT.TXT
57-
SRCLIN DATA 0
58-
INDENT DATA 0
59-
CPI DATA 0
60-
NXTFMT DATA 0
61-
DSPSTR DATA 0
62-
CURSTR DATA 0
63-
64-
* INPUT.TXT
65-
* Current Paragraph Index
66-
PARINX DATA 0
67-
* Line Index in Paragraph
68-
LININX DATA 0
69-
* Character Index in Paragraph
70-
CHRPAX DATA 0
71-
* Character Index in line
72-
CHRLIX DATA 0
73-
* Window offset
74-
WINOFF DATA 0
75-
* Insert Mode. 0 = insert, -1 = overwrit
76-
INSTMD DATA 0
77-
EVEN
78-
79-
* KEY.TXT
80-
* Time remaining before character repeat
81-
TIMER DATA 0
82-
* The previously detected key press.
83-
* Wait a while before letting this key
84-
* repeat.
85-
PREVKY BYTE 0
86-
* First address of key buffer
87-
BUFSTR
88-
* Buffer to store keypresses
89-
KEYBUF BSS >20
90-
* First address after key buffer
91-
BUFEND
92-
* Address where the next keypress
93-
* should be stored.
94-
BUFWRT DATA 0
95-
* Next address to read a keypress from.
96-
* If the value here is equal to the
97-
* value in BUFWRT, then there are no
98-
* new characters to write.===
99-
BUFRD DATA 0
100-
10116
END

0 commit comments

Comments
 (0)