mirror of
https://github.com/bobbimanners/emailler.git
synced 2025-01-29 02:33:21 +00:00
git-svn-id: http://svn.code.sf.net/p/netboot65/code@215 93682198-c243-4bdb-bd91-e943c89aac3b
This commit is contained in:
parent
dca0e387eb
commit
34d06b9fae
10
CHANGES.txt
10
CHANGES.txt
@ -1,8 +1,4 @@
|
|||||||
- bugfix - NB65 API not setting "ip initialized" flag correct, hence extra DHCP inits occuring
|
- telnet now supports vt100 emulation (thanks to Lars Stollenwerk)
|
||||||
|
- gopher: fixed bug preventing connection to jamtronix.com
|
||||||
|
|
||||||
|
|
||||||
0.9.8
|
|
||||||
- created stubs for TCP functions
|
|
||||||
- split nb65 cart images into 8k (UDP only - green) & 16k (UDP+TCP - purple) images
|
|
||||||
0.9.7
|
|
||||||
- tweak directory listing code in server so $ works by itself
|
|
||||||
- client & server updated to support subdirectories (prefixed by $)
|
|
@ -618,10 +618,16 @@ prompt_for_gopher_resource:
|
|||||||
stax resource_port
|
stax resource_port
|
||||||
lda #'/'
|
lda #'/'
|
||||||
sta resource_selector
|
sta resource_selector
|
||||||
lda #0
|
lda #$0d
|
||||||
sta resource_selector+1
|
sta resource_selector+1
|
||||||
|
|
||||||
|
lda #$0a
|
||||||
|
sta resource_selector+2
|
||||||
|
|
||||||
|
lda #0
|
||||||
|
sta resource_selector+3
|
||||||
sta resource_selector_length+1
|
sta resource_selector_length+1
|
||||||
lda #1
|
lda #3
|
||||||
sta resource_selector_length
|
sta resource_selector_length
|
||||||
lda #'1'
|
lda #'1'
|
||||||
sta displayed_resource_type
|
sta displayed_resource_type
|
||||||
|
@ -1 +1 @@
|
|||||||
.byte "1.0.16"
|
.byte "1.0.19"
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
;a simple HTTP server
|
;a simple HTTP server
|
||||||
;to use - call httpd_start with AX pointing at routine to call for each inbound page
|
;to use - call httpd_start with AX pointing at routine to call for each inbound page
|
||||||
;call httpd_stop to exit gracefully.
|
|
||||||
.include "../inc/common.i"
|
.include "../inc/common.i"
|
||||||
|
|
||||||
.ifndef KPR_API_VERSION_NUMBER
|
.ifndef KPR_API_VERSION_NUMBER
|
||||||
|
@ -176,26 +176,45 @@ telnet_connect:
|
|||||||
|
|
||||||
lda telnet_use_native_charset
|
lda telnet_use_native_charset
|
||||||
bne @no_conversion_required
|
bne @no_conversion_required
|
||||||
txa
|
|
||||||
cmp #$0d
|
|
||||||
bne @not_cr
|
|
||||||
|
|
||||||
;if we get a CR in ascii mode, send CR/LF
|
|
||||||
ldy tcp_send_data_len
|
txa
|
||||||
|
|
||||||
|
jsr vt100_transform_outbound_char
|
||||||
|
|
||||||
|
sta temp_a
|
||||||
|
tya
|
||||||
|
bne :+
|
||||||
|
jmp @main_polling_loop ;Y=0 means nothing to send
|
||||||
|
:
|
||||||
|
|
||||||
|
cmp #2
|
||||||
|
beq :+
|
||||||
|
ldx temp_a
|
||||||
|
jmp @no_conversion_required
|
||||||
|
:
|
||||||
|
|
||||||
|
|
||||||
|
lda temp_a
|
||||||
|
stax buffer_ptr
|
||||||
|
ldy #0
|
||||||
|
:
|
||||||
|
lda (buffer_ptr),y
|
||||||
|
beq @send_char
|
||||||
sta scratch_buffer,y
|
sta scratch_buffer,y
|
||||||
inc tcp_send_data_len
|
inc tcp_send_data_len
|
||||||
ldx #$0a
|
iny
|
||||||
jmp @no_conversion_required
|
bne :-
|
||||||
@not_cr:
|
|
||||||
txa
|
jmp @send_char
|
||||||
jsr native_to_ascii
|
|
||||||
tax
|
|
||||||
@no_conversion_required:
|
@no_conversion_required:
|
||||||
txa
|
txa
|
||||||
ldy tcp_send_data_len
|
ldy tcp_send_data_len
|
||||||
sta scratch_buffer,y
|
sta scratch_buffer,y
|
||||||
inc tcp_send_data_len
|
inc tcp_send_data_len
|
||||||
|
|
||||||
@send_char:
|
@send_char:
|
||||||
|
|
||||||
ldax #scratch_buffer
|
ldax #scratch_buffer
|
||||||
jsr tcp_send
|
jsr tcp_send
|
||||||
bcs @error_on_send
|
bcs @error_on_send
|
||||||
@ -454,7 +473,7 @@ terminal_type_response:
|
|||||||
.byte $fa; SB
|
.byte $fa; SB
|
||||||
.byte $18 ; TERMINAL TYPE
|
.byte $18 ; TERMINAL TYPE
|
||||||
.byte $0 ; IS
|
.byte $0 ; IS
|
||||||
.byte "xterm" ;we pretend to be a vt100
|
.byte "vt100" ;what we pretend to be
|
||||||
.byte $ff ; IAC
|
.byte $ff ; IAC
|
||||||
.byte $f0 ; SE
|
.byte $f0 ; SE
|
||||||
terminal_type_response_length=*-terminal_type_response
|
terminal_type_response_length=*-terminal_type_response
|
||||||
@ -492,7 +511,7 @@ telnet_state_got_suboption=3
|
|||||||
buffer_length: .res 2
|
buffer_length: .res 2
|
||||||
|
|
||||||
telnet_state: .res 1
|
telnet_state: .res 1
|
||||||
|
temp_a: .res 1
|
||||||
iac_response_buffer: .res 64
|
iac_response_buffer: .res 64
|
||||||
iac_response_buffer_length: .res 1
|
iac_response_buffer_length: .res 1
|
||||||
scratch_buffer : .res 40
|
scratch_buffer : .res 40
|
||||||
|
2
dist/version_number.txt
vendored
2
dist/version_number.txt
vendored
@ -1 +1 @@
|
|||||||
1.0.16
|
1.0.19
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user