mirror of
https://github.com/bobbimanners/emailler.git
synced 2024-08-20 17:29:45 +00:00
git-svn-id: http://svn.code.sf.net/p/netboot65/code@140 93682198-c243-4bdb-bd91-e943c89aac3b
This commit is contained in:
parent
6f8995d235
commit
ce183ea301
@ -6,6 +6,7 @@ MEMORY {
|
||||
DEFAULTS: start = $8018, size = $1E, file = %O;
|
||||
ROM: start = $8036, size = $3FC8, define = yes, file = %O;
|
||||
RAM: start = $C010, size = $0fE0, define = yes;
|
||||
RAM2: start = $0334, size = $CB, define = yes; #extra scratch area - Tape I/O buffer
|
||||
|
||||
|
||||
}
|
||||
@ -16,5 +17,6 @@ SEGMENTS {
|
||||
RODATA: load = ROM, run=ROM, type = ro;
|
||||
DATA: load = ROM, run = RAM, type = rw, define = yes;
|
||||
BSS: load = RAM, type = bss;
|
||||
TCP_VARS: load = RAM2, type = bss;
|
||||
IP65ZP: load = IP65ZP, type = zp;
|
||||
}
|
||||
|
@ -14,6 +14,21 @@
|
||||
.export tcp_remove_listener
|
||||
.export tcp_send
|
||||
|
||||
|
||||
.segment "TCP_VARS"
|
||||
tcp_cxn_state =0
|
||||
tcp_cxn_local_port =1
|
||||
tcp_cxn_remote_port =3
|
||||
tcp_cxn_remote_ip =5
|
||||
tcp_cxn_local_seq =9
|
||||
tcp_cxn_remote_seq =13
|
||||
|
||||
tcp_cxn_entry_size =17
|
||||
tcp_max_connections =10
|
||||
|
||||
tcp_connections:
|
||||
.res tcp_max_connections*tcp_cxn_entry_size
|
||||
.code
|
||||
tcp_add_listener:
|
||||
tcp_remove_listener:
|
||||
tcp_send:
|
||||
@ -25,4 +40,3 @@ tcp_init:
|
||||
rts
|
||||
|
||||
|
||||
.res 2000 ;fixme
|
@ -1,16 +0,0 @@
|
||||
;stub functions that allows us to build a UDP only stack by linking in dummy tcp functions
|
||||
|
||||
.export tcp_init
|
||||
.export tcp_process
|
||||
.export tcp_add_listener
|
||||
.export tcp_remove_listener
|
||||
.export tcp_send
|
||||
|
||||
|
||||
tcp_add_listener:
|
||||
tcp_remove_listener:
|
||||
tcp_send:
|
||||
tcp_process:
|
||||
sec
|
||||
tcp_init:
|
||||
rts
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user