IP65 is a TCP/IP stack for 6502 based computers.
| Applications | Telnet Client | Gopher Client | HTTP Client | HTTP Server | Ping | |
|---|---|---|---|---|---|---|
| Services | TCP | DHCP/DNS/TFTP | Echo | |||
| Transport | UDP | ICMP | ||||
| Network | IP | |||||
| Addressing | ARP | |||||
| Ethernet driver | CS8900A (RR-NET/Uthernet) | Wiznet W5100 | ||||
| Host computer | C64/C128 | Apple ][ | VIC-20 | |||
| Green: Working Yellow: Partial Red: Unimplemented | ||||||
ip65-2009-01-22.zip (paradroid.net)
Release Maintainer Changes ------- ---------- ------- 2011-01-15 Jonno Downes drivers for Wiznet W5100 ethernet, VIC-20 host 2009-12-23 Jonno Downes TCP and telnet bugfixes, vt100 emulation, XMODEM support 2009-10-31 Jonno Downes Added Web Application Server functions 2009-08-02 Jonno Downes More TCP functionality, includes telnet 2009-07-12 Jonno Downes Initial TCP implementation (use -DTCP to include) 2009-03-21 Jonno Downes Added technical reference documentation 2009-03-15 Jonno Downes Added DHCP, DNS & TFTP 2009-01-22 Per Olofsson Added copymem fix from Jonno Downes. Added MPL license. 2008-09-27 Per Olofsson Added timeout fix for ineth_tx from David Schmidt. 2006-09-20 Per Olofsson Fixed checksum calculation for odd packet sizes. 2006-02-22 Per Olofsson Added fix for sending of packets larger than 256 bytes from Ewen Wannop and Glenn Jones.
gangedport = 60064
jsr ip65_init
lda #<gotpacket
ldx #>gotpacket
sta udp_callback
stx udp_callback + 1
lda #<gangedport
ldx #>gangedport
jsr udp_add_listener
main:
jsr ip65_process
jmp main
gotpacket:
sei
lda $01
pha
lda udp_inp
sta $01
lda udp_inp + 1
ldx udp_inp + 2
sta zp_data
stx zp_data + 2
ldy udp_inp + 3
copy:
lda udp_inp + 3,y
sta (zp_data),y
dey
bne copy
pla
sta $01
cli
rts