mirror of
https://github.com/bobbimanners/emailler.git
synced 2024-11-19 12:30:51 +00:00
Adjusted to commit 3d5dd29988
This commit is contained in:
parent
5144fcc803
commit
a16b18c9cd
12
test/dns.s
12
test/dns.s
@ -9,7 +9,6 @@
|
|||||||
.import dns_set_hostname
|
.import dns_set_hostname
|
||||||
.import dns_resolve
|
.import dns_resolve
|
||||||
.import dns_ip
|
.import dns_ip
|
||||||
.import dns_status
|
|
||||||
|
|
||||||
|
|
||||||
; keep LD65 happy
|
; keep LD65 happy
|
||||||
@ -64,17 +63,10 @@ do_dns_query:
|
|||||||
bcc :+
|
bcc :+
|
||||||
ldax #dns_lookup_failed_msg
|
ldax #dns_lookup_failed_msg
|
||||||
jsr print
|
jsr print
|
||||||
jmp @print_dns_status
|
jmp print_cr
|
||||||
: ldax #dns_ip
|
: ldax #dns_ip
|
||||||
jsr print_dotted_quad
|
jsr print_dotted_quad
|
||||||
@print_dns_status:
|
jmp print_cr
|
||||||
jsr print_cr
|
|
||||||
lda dns_status
|
|
||||||
jsr print_hex
|
|
||||||
lda dns_status+1
|
|
||||||
jsr print_hex
|
|
||||||
jsr print_cr
|
|
||||||
rts
|
|
||||||
|
|
||||||
overwrite_with_hardcoded_dns_server:
|
overwrite_with_hardcoded_dns_server:
|
||||||
ldx #3
|
ldx #3
|
||||||
|
Loading…
Reference in New Issue
Block a user