-
Notifications
You must be signed in to change notification settings - Fork 70
N: Game Developer Cheat Sheet
europlus edited this page Sep 23, 2024
·
4 revisions
- Start with TNFS://atari-apps.irata.online/Games/lightcycles.atr.
- Use dupdsk on the disk to duplicate it to a new disk
- Boot the new disk.
OPEN #1,12,0,"N:TCP://OTHER.ATARI.ADDRESS:PORT/"
OPEN #1,12,0,"N:TCP://:PORT/"
100 IF PEEK(748)=0 THEN 100
110 XIO 65,#1,12,0,"N:":REM ACCEPT THE CONNECTION, #1 IS NOW CONNECTED TO THE OTHER ATARI
PRINT #1;"SENDING SOME STUFF"
PRINT #1;A;",";B;",";C;",";D:REM SENDING MULTIPLE NUMERIC VALUES
PUT #1,A:XIO 15,#1,12,0,"N:":REM SENDING ONE BYTE WITH A FLUSH
100 STATUS #1,A:IF PEEK(746)=0 THEN 200:REM GO DO SOMETHING ELSE, NOTHING HERE.
110 INPUT #1;A$:REM RECEVING THAT STRING FROM ABOVE
120 INPUT #1,A,B,C,D:REM GETTING FOUR NUMERIC VALUES
130 GET #1,A:REM GETTING ONE BYTE.
Tip
If you do a GET or an INPUT, and nothing is waiting, the program will block, waiting for input. This can be used to your advantage to synchronize the two end points, see the reversi example.
CLOSE #1
Copyright 2024 Contributors to the FujiNetWIFI project.
Join us on Discord: https://discord.gg/7MfFTvD
- Home
- What is FujiNet?
- The Definition of Done
- Board bring up for FujiNet Platform.IO code
- The Complete Linux CLI Guide
- The Complete macOS CLI Guide
- Development Env for Apps
- FujiNet-Development-Guidelines
- System Quickstarts
- FujiNet Flasher
- Setting up a TNFS Server
- FujiNet Configuration File: fnconfig.ini
- AppKey Registry - SIO Command $DC Open App Key
- CP-M Support
- BBS
- Official Hardware Versions
- Prototype Board Revisions
- FujiNet Development Guidelines
- Atari Programming
- Apple Programming
- C64 Programming
- ADAM Programming
- Testing Plan
- Hacker List
- FujiNet VirtualMachine