Skip to content

Latest commit

 

History

History
43 lines (32 loc) · 1.99 KB

README.md

File metadata and controls

43 lines (32 loc) · 1.99 KB

fxIP

TCP/IP stack and IRC client for Casio fx-9860/9750 calculators

 

Screenshot of ping

YouTube video of fxIP's IRC client, connecting to irc.libera.chat
YouTube video of fxTerm, a simple RS232 terminal application

fxIP is a port of uIP 1.0 to Casio fx-9750/fx-9860 calculators.
It (currently) requires calculators with a SuperH SH4a CPU, needs quite a bit of SRAM.

fxIP connects to IP networks via SLIP encapsulation over the 3-pin 2.5mm 5V serial port/UART.
By default, it connects to irc.libera.chat (without SSL).

TobleMiner wrote the SCIF UART driver, the ringbuffer implementation, the object-log storage,
which is used to store IRC and log messages for display and fixed issues with endianess on SuperH and the SLIP encapsulation.

Network setup (needs root)

slattach -s 115200 -p slip -v -d -L /dev/ttyUSB0
ip addr add 10.10.10.1/24 dev sl0
ip link set mtu 576 dev sl0
ip link set sl0 up
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
echo "1" > /proc/sys/net/ipv4/ip_forward

Building Add-In

Requires fxsdk and gint to build.
gint needs to be patched using gint.patch before building.

touch src/main.c && make clean && fxsdk build-fx && cp -f Fxip.g1a ~/Exchange/Test/

Credits

fxIP uses the following fantastic projects:
fxsdk by Lephenixnoir
c-object-log by TobleMiner
uIP 1.0 by Adam Dunkels