diff --git a/client/ip65/function_dispatcher.s b/client/ip65/function_dispatcher.s index 1abf2c6..1743937 100644 --- a/client/ip65/function_dispatcher.s +++ b/client/ip65/function_dispatcher.s @@ -127,7 +127,6 @@ irq_handler_installed: cpy #NB65_TFTP_DIRECTORY_LISTING bne :+ jsr set_tftp_params - bcs @tftp_error jsr tftp_directory_listing @after_tftp_call: ;write the current load address back to the param buffer (so if $0000 was passed in, the caller can find out the actual value used) diff --git a/client/ip65/tftp.s b/client/ip65/tftp.s index c84e69b..745361a 100644 --- a/client/ip65/tftp.s +++ b/client/ip65/tftp.s @@ -26,7 +26,7 @@ .import udp_add_listener .import udp_remove_listener - + .import output_buffer .import udp_callback .import udp_send @@ -58,6 +58,8 @@ tftp_filename: .res 2 ;name of file to d/l or filemask to get directory listing ;packet offsets tftp_inp = udp_inp + udp_data tftp_outp: .res 128 +;= output_buffer + ;everything after filename in a request at a relative address, not fixed, so don't bother defining offset constants tftp_server_port=69