Skip to content

Manawyrm/fxIP

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

TCP/IP for Casio fx-9860 graphical calculators (with SLIP support, uIP stack)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published