2013-08-06 15:12:30 +00:00
|
|
|
;
|
|
|
|
; Expose include-file symbol names to C code.
|
|
|
|
;
|
|
|
|
|
|
|
|
.export _atmos_ping, _atmos_shoot, _atmos_explode
|
|
|
|
.export _atmos_zap, _atmos_tick, _atmos_tock
|
|
|
|
|
|
|
|
.include "atmos.inc"
|
|
|
|
|
2017-12-15 22:51:39 +00:00
|
|
|
.proc _atmos_ping
|
|
|
|
bit $31
|
|
|
|
bvs L1 ; Atmos?
|
|
|
|
jmp PING
|
|
|
|
L1: jmp PING1
|
|
|
|
.endproc
|
|
|
|
|
|
|
|
.proc _atmos_shoot
|
2017-12-17 17:45:57 +00:00
|
|
|
bit $31
|
2017-12-15 22:51:39 +00:00
|
|
|
bvs L1 ; Atmos?
|
|
|
|
jmp SHOOT
|
|
|
|
L1: jmp SHOOT1
|
|
|
|
.endproc
|
|
|
|
|
|
|
|
.proc _atmos_explode
|
2017-12-17 17:45:57 +00:00
|
|
|
bit $31
|
2017-12-15 22:51:39 +00:00
|
|
|
bvs L1 ; Atmos?
|
|
|
|
jmp EXPLODE
|
|
|
|
L1: jmp EXPLODE1
|
|
|
|
.endproc
|
|
|
|
|
|
|
|
.proc _atmos_zap
|
2017-12-17 17:45:57 +00:00
|
|
|
bit $31
|
2017-12-15 22:51:39 +00:00
|
|
|
bvs L1 ; Atmos?
|
|
|
|
jmp ZAP
|
|
|
|
L1: jmp ZAP1
|
|
|
|
.endproc
|
|
|
|
|
|
|
|
.proc _atmos_tick
|
2017-12-17 17:45:57 +00:00
|
|
|
bit $31
|
2017-12-15 22:51:39 +00:00
|
|
|
bvs L1 ; Atmos?
|
|
|
|
jmp TICK
|
|
|
|
L1: jmp TICK1
|
|
|
|
.endproc
|
|
|
|
|
|
|
|
.proc _atmos_tock
|
2017-12-17 17:45:57 +00:00
|
|
|
bit $31
|
2017-12-15 22:51:39 +00:00
|
|
|
bvs L1 ; Atmos?
|
|
|
|
jmp TOCK
|
|
|
|
L1: jmp TOCK1
|
|
|
|
.endproc
|