From e4943550f52b98382b20283936c9b98b576d628a Mon Sep 17 00:00:00 2001 From: jonnosan Date: Fri, 17 Apr 2009 11:21:00 +0000 Subject: [PATCH] git-svn-id: http://svn.code.sf.net/p/netboot65/code@118 93682198-c243-4bdb-bd91-e943c89aac3b --- client/ip65/function_dispatcher.s | 6 ++++-- client/test/test_cart_api.s | 6 ++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/client/ip65/function_dispatcher.s b/client/ip65/function_dispatcher.s index 9eaa134..42f8c74 100644 --- a/client/ip65/function_dispatcher.s +++ b/client/ip65/function_dispatcher.s @@ -144,10 +144,11 @@ init_failed: tax dey lda (nb65_params),y - jsr dns_set_hostname - bcc @dns_error + jsr dns_set_hostname + bcs @dns_error jsr dns_resolve bcs @dns_error + ldy #NB65_DNS_HOSTNAME_IP ldx #4 @copy_dns_ip: @@ -300,6 +301,7 @@ init_failed: iny lda tftp_filesize+1 sta (nb65_params),y + .byte $92 clc @tftp_error: rts diff --git a/client/test/test_cart_api.s b/client/test/test_cart_api.s index cf8f1cb..6da65cb 100644 --- a/client/test/test_cart_api.s +++ b/client/test/test_cart_api.s @@ -156,6 +156,9 @@ init: stax nb65_param_buffer+NB65_TFTP_POINTER ldax #nb65_param_buffer call #NB65_TFTP_CALLBACK_UPLOAD + bcc :+ + jmp print_errorcode +: @download_test: @@ -174,6 +177,9 @@ init: stax nb65_param_buffer+NB65_TFTP_POINTER ldax #nb65_param_buffer call #NB65_TFTP_CALLBACK_DOWNLOAD + bcc :+ + jmp print_errorcode +: lda #'$' jsr print_a lda nb65_param_buffer+NB65_TFTP_FILESIZE+1