mirror of
https://github.com/bobbimanners/emailler.git
synced 2024-11-19 12:30:51 +00:00
git-svn-id: http://svn.code.sf.net/p/netboot65/code@162 93682198-c243-4bdb-bd91-e943c89aac3b
This commit is contained in:
parent
76ae659e45
commit
7263bbacdf
@ -120,20 +120,18 @@ listen_on_port_80
|
|||||||
;http callback - will be executed whenever data arrives on the TCP connection
|
;http callback - will be executed whenever data arrives on the TCP connection
|
||||||
http_callback
|
http_callback
|
||||||
ldaxi #nb65_param_buffer
|
ldaxi #nb65_param_buffer
|
||||||
nb65call #NB65_GET_INPUT_PACKET_INFO
|
nb65call #NB65_GET_INPUT_PACKET_INFO
|
||||||
|
|
||||||
lda nb65_param_buffer+NB65_PAYLOAD_LENGTH+1
|
lda nb65_param_buffer+NB65_PAYLOAD_LENGTH+1
|
||||||
cmp #$ff
|
cmp #$ff
|
||||||
bne .not_eof
|
bne .not_eof
|
||||||
lda #1
|
lda #1
|
||||||
sta connection_closed
|
sta connection_closed
|
||||||
rts
|
rts
|
||||||
.not_eof
|
.not_eof
|
||||||
|
|
||||||
ldax nb65_param_buffer+NB65_PAYLOAD_POINTER
|
ldax nb65_param_buffer+NB65_PAYLOAD_POINTER
|
||||||
stax temp_ptr
|
stax temp_ptr
|
||||||
lda nb65_param_buffer+NB65_PAYLOAD_LENGTH
|
ldax nb65_param_buffer+NB65_PAYLOAD_LENGTH
|
||||||
sta buffer_length
|
stax buffer_length
|
||||||
rts
|
rts
|
||||||
|
|
||||||
;look for NB65 signature at location pointed at by AX
|
;look for NB65 signature at location pointed at by AX
|
||||||
|
Loading…
Reference in New Issue
Block a user