Adjusted to commit 3d5dd29988

This commit is contained in:
Oliver Schmidt 2017-05-18 23:23:03 +02:00
parent 5144fcc803
commit a16b18c9cd

View File

@ -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