mirror of
https://github.com/zellyn/goapple2.git
synced 2024-06-08 05:29:43 +00:00
Got intbasic compiling: converted macros, added support files
This commit is contained in:
parent
90ccbe1eca
commit
91eecf2edb
|
@ -1,6 +1,33 @@
|
||||||
10 * Macros used by intbasic.asm
|
10 * Macros used by intbasic.asm
|
||||||
20 INCW MAC
|
20 INCW MAC
|
||||||
30 INC ]1
|
30 INC ]1
|
||||||
40 BNE INCW_END
|
40 BNE INCW_END
|
||||||
50 INC ]1+1
|
50 INC ]1+1
|
||||||
60 INCW_END EOM
|
60 INCW_END EOM
|
||||||
|
70 MOVW MAC
|
||||||
|
80 LDA ]1
|
||||||
|
90 STA ]2
|
||||||
|
100 LDA ]1+1
|
||||||
|
110 STA ]2+1
|
||||||
|
120 EOM
|
||||||
|
130 ADDW MAC
|
||||||
|
140 CLC
|
||||||
|
150 LDA ]1
|
||||||
|
160 ADC ]2
|
||||||
|
170 STA ]3
|
||||||
|
180 LDA ]1+1
|
||||||
|
190 ADC ]2+1
|
||||||
|
200 STA ]3+1
|
||||||
|
210 EOM
|
||||||
|
220 CMPW MAC
|
||||||
|
230 LDA ]1
|
||||||
|
240 CMP ]2
|
||||||
|
250 LDA ]1+1
|
||||||
|
260 SBC ]2+1
|
||||||
|
270 EOM
|
||||||
|
280 DECW MAC
|
||||||
|
290 LDA ]1
|
||||||
|
300 BNE DECW_1
|
||||||
|
310 DEC ]1+1
|
||||||
|
320 DECW_1 DEC ]1
|
||||||
|
330 EOM
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
10 * Empty file to keep intbasic assembly happy.
|
10 * Empty file to keep intbasic assembly happy.
|
||||||
|
|
1
source/redbook/T.PART2
Normal file
1
source/redbook/T.PART2
Normal file
|
@ -0,0 +1 @@
|
||||||
|
10 * Empty file to keep intbasic assembly happy.
|
1
source/redbook/T.PART3
Normal file
1
source/redbook/T.PART3
Normal file
|
@ -0,0 +1 @@
|
||||||
|
10 * Empty file to keep intbasic assembly happy.
|
1
source/redbook/T.TABLE1
Normal file
1
source/redbook/T.TABLE1
Normal file
|
@ -0,0 +1 @@
|
||||||
|
10 * Empty file to keep intbasic assembly happy.
|
1
source/redbook/T.TABLE2
Normal file
1
source/redbook/T.TABLE2
Normal file
|
@ -0,0 +1 @@
|
||||||
|
10 * Empty file to keep intbasic assembly happy.
|
3594
source/redbook/intbasic-original.asm
Normal file
3594
source/redbook/intbasic-original.asm
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user