mirror of
https://github.com/bobbimanners/emailler.git
synced 2025-01-06 08:31:19 +00:00
git-svn-id: http://svn.code.sf.net/p/netboot65/code@147 93682198-c243-4bdb-bd91-e943c89aac3b
This commit is contained in:
parent
eae6af0475
commit
a3c2899880
@ -677,7 +677,7 @@ tcp_process:
|
||||
bne @fin
|
||||
jmp @not_fin
|
||||
@fin:
|
||||
|
||||
.byte $92
|
||||
;is this the current connection?
|
||||
jsr check_current_connection
|
||||
bcc :+
|
||||
|
@ -240,12 +240,13 @@ init:
|
||||
stax tcp_connect_ip+2
|
||||
|
||||
|
||||
lda #0
|
||||
sta cxn_closed
|
||||
ldax #80
|
||||
jsr tcp_connect
|
||||
jsr check_for_error
|
||||
|
||||
|
||||
lda #0
|
||||
sta cxn_closed
|
||||
|
||||
ldax #http_get_length
|
||||
stax tcp_send_data_len
|
||||
ldax #http_get_msg
|
||||
@ -254,10 +255,12 @@ init:
|
||||
|
||||
@loop_till_end:
|
||||
jsr ip65_process
|
||||
lda cxn_closed
|
||||
cmp #1
|
||||
lda #1
|
||||
cmp cxn_closed
|
||||
|
||||
beq @loop_till_end
|
||||
|
||||
rts
|
||||
|
||||
|
||||
ldax #tcp_callback_routine
|
||||
@ -295,6 +298,7 @@ init:
|
||||
tcp_callback_routine:
|
||||
|
||||
|
||||
|
||||
lda tcp_inbound_data_length
|
||||
cmp #$ff
|
||||
bne @not_end_of_file
|
||||
|
Loading…
Reference in New Issue
Block a user