mirror of
https://github.com/bobbimanners/emailler.git
synced 2024-09-08 06:54:24 +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
|