Skip to content

Commit a2dab35

Browse files
committed
Cleanup imports/exports.
1 parent 2a0ea21 commit a2dab35

68 files changed

Lines changed: 68 additions & 211 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/interp/absneg.asm

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,7 @@
2727
; ABS / NEG routines
2828
; ------------------
2929

30-
; From runtime.asm
3130
.import neg_AX
32-
33-
; From interpreter.asm
3431
.importzp next_instruction
3532

3633
.segment "RUNTIME"

src/interp/addsub.asm

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,7 @@
2727
; Add / Sub routines
2828
; ------------------
2929

30-
; From runtime.asm
31-
.import neg_AX
32-
33-
; From interpreter.asm
34-
.import stack_l, stack_h
30+
.import neg_AX, stack_l, stack_h
3531
.importzp next_ins_incsp
3632

3733
.segment "RUNTIME"

src/interp/bgetput.asm

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,7 @@
2727
; Block-GET and Block-PUT
2828
; -----------------------
2929

30-
.import CIOV_CMD_POP2
31-
32-
; From runtime.asm
33-
.importzp IOCHN
34-
35-
; From interpreter.asm
36-
.importzp sptr
37-
.import stack_l, stack_h
30+
.import CIOV_CMD_POP2, stack_l, stack_h
3831

3932
.include "atari.inc"
4033

src/interp/bitand.asm

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
; Bitwise AND
2828
; -----------
2929

30-
; From interpreter.asm
3130
.import stack_l, stack_h
3231
.importzp next_ins_incsp
3332

src/interp/bitexor.asm

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
; Bitwise EXOR
2828
; ------------
2929

30-
; From interpreter.asm
3130
.import stack_l, stack_h
3231
.importzp next_ins_incsp
3332

src/interp/bitor.asm

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
; Bitwise OR
2828
; ----------
2929

30-
; From interpreter.asm
3130
.import stack_l, stack_h
3231
.importzp next_ins_incsp
3332

src/interp/cdata.asm

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,8 @@
2727
; Read constant data
2828
; ------------------
2929

30-
; From interpreter.asm
3130
.import EXE_JUMP
32-
.importzp cptr, sptr, saddr
31+
.importzp cptr, saddr
3332

3433
.segment "RUNTIME"
3534

src/interp/chr.asm

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929

3030
.importzp next_instruction
3131

32-
3332
.segment "RUNTIME"
3433

3534
EXE_CHR: ; AX = CHR( AX )

src/interp/close.asm

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,7 @@
2828
; ---------------
2929

3030
.export CIOV_CMD, CIOV_IOERR
31-
32-
; From runtime.asm
33-
.importzp IOCHN, IOERROR
34-
35-
; From interpreter.asm
36-
.importzp next_instruction
31+
.importzp IOERROR, next_instruction
3732

3833
.include "atari.inc"
3934

@@ -47,10 +42,10 @@ EXE_CLOSE:
4742
tax
4843
lda #CLOSE
4944

50-
; Calls CIO with given command, stores I/O error, resets IOCHN, pops stack
45+
; Calls CIO with given command, stores I/O error and pops stack
5146
CIOV_CMD:
5247
sta ICCOM, x
53-
; Calls CIOV, stores I/O error, resets IOCHN and pops stack
48+
; Calls CIOV, stores I/O error and pops stack
5449
jsr CIOV
5550
CIOV_IOERR:
5651
sty IOERROR

src/interp/cmpstr.asm

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@
2727
; String comparisons
2828
; ------------------
2929

30-
; From interpreter.asm
3130
.import stack_l, stack_h, pushXX_set0
32-
; From runtime.asm
3331
.importzp tmp1, tmp2, tmp3
3432

3533
.segment "RUNTIME"

0 commit comments

Comments
 (0)