mirror of
https://github.com/bobbimanners/emailler.git
synced 2024-11-13 20:04:37 +00:00
19 lines
218 B
ArmAsm
19 lines
218 B
ArmAsm
|
.include "../inc/common.i"
|
||
|
|
||
|
.export _icmp_ping
|
||
|
|
||
|
.import icmp_echo_ip
|
||
|
.import icmp_ping
|
||
|
|
||
|
.importzp sreg
|
||
|
|
||
|
_icmp_ping:
|
||
|
stax icmp_echo_ip
|
||
|
ldax sreg
|
||
|
stax icmp_echo_ip+2
|
||
|
jsr icmp_ping
|
||
|
bcc :+
|
||
|
ldx #$00
|
||
|
txa
|
||
|
: rts
|