https://github.com/blaknite/rc2014-inet
Internet tools for the RC2014
https://github.com/blaknite/rc2014-inet
Last synced: 3 months ago
JSON representation
Internet tools for the RC2014
- Host: GitHub
- URL: https://github.com/blaknite/rc2014-inet
- Owner: blaknite
- License: mit
- Created: 2022-06-20T01:23:48.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-06-22T06:50:39.000Z (about 3 years ago)
- Last Synced: 2025-02-03T23:55:57.143Z (5 months ago)
- Language: C
- Size: 29.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rc2014-inet
Internet tools for the RC2014 Pro running CP/M - https://rc2014.co.uk
## Tools
### HTTPD
A HTTP server which serves files from the current drive. Listens on the default port 80. It has a 1KB limit on request header size and only responds to GET and HEAD requests.
### PING
Rudimentary ping command. Current outputs a tcpdump-like debug log for all ICMP packets. Not timing due to lack of RTC.
## Run
These tools expect SIO port 2 to be connected to device that supports SLIP. It currently runs on the fixed IP 192.168.1.51. I've been connecting via a Raspberry Pi via the `slattach` command.
## Build
Get z88dk from https://www.z88dk.org and then run the following command to build from source
```sh
zcc +cpm -O3 -DAMALLOC httpd.c slip.c ip.c icmp.c tcp.c http.c -o httpd.com -create-app
```## Many thanks
I learned a lot from the following repos:
- https://github.com/jes/cpmhttpd
- https://github.com/saminiir/level-ip