tschak909 Posted December 20, 2020 Share Posted December 20, 2020 #FujiNet #Atari8bit I have made a cheat sheet showing how to use the N: device in BASIC to open, close, send, receive, etc. The page is here: https://github.com/FujiNetWIFI/fujinet-platformio/wiki/N%3A-Game-Developer-Cheat-Sheet Quote Link to comment https://forums.atariage.com/topic/314815-n-programming-cheat-sheet/ Share on other sites More sharing options...
+David_P Posted December 20, 2020 Share Posted December 20, 2020 Looking at the Receiving Data section: 120 INPUT A,B,C,D:REM GETTING FOUR NUMERIC VALUES Should there be an IOCB (#1) before the input? Quote Link to comment https://forums.atariage.com/topic/314815-n-programming-cheat-sheet/#findComment-4703651 Share on other sites More sharing options...
tschak909 Posted December 20, 2020 Author Share Posted December 20, 2020 4 minutes ago, David_P said: Looking at the Receiving Data section: 120 INPUT A,B,C,D:REM GETTING FOUR NUMERIC VALUES Should there be an IOCB (#1) before the input? Yup indeed. fixing it. 1 Quote Link to comment https://forums.atariage.com/topic/314815-n-programming-cheat-sheet/#findComment-4703653 Share on other sites More sharing options...
+David_P Posted January 4, 2021 Share Posted January 4, 2021 Looking over this... In theory, with two computers both with the N: driver installed, could you SAVE"N:TCP://OTHER.ATARI.ADDRESS:PORT/" while on the other computer LOAD"N:TCP://:PORT" to have the same file on both computers at the same time? Quote Link to comment https://forums.atariage.com/topic/314815-n-programming-cheat-sheet/#findComment-4716032 Share on other sites More sharing options...
tschak909 Posted January 4, 2021 Author Share Posted January 4, 2021 not as things stand, because you have to accept the connection via a secondary command. Quote Link to comment https://forums.atariage.com/topic/314815-n-programming-cheat-sheet/#findComment-4716033 Share on other sites More sharing options...
+David_P Posted January 4, 2021 Share Posted January 4, 2021 That actually makes perfect sense. If the second computer specified LOAD"N:TCP//SOURCE.ATARI.ADDRESS:PORT" would that work, since you're not in listening mode? Quote Link to comment https://forums.atariage.com/topic/314815-n-programming-cheat-sheet/#findComment-4716034 Share on other sites More sharing options...
tschak909 Posted January 4, 2021 Author Share Posted January 4, 2021 if we really want to do that, a new protocol could be made to support that (with explicit conventions for binding a listening socket, and accepting connections etc) As it is, you could probably do it with UDP. -Thom Quote Link to comment https://forums.atariage.com/topic/314815-n-programming-cheat-sheet/#findComment-4716035 Share on other sites More sharing options...
+David_P Posted January 4, 2021 Share Posted January 4, 2021 Thanks. I'm thinking about a chat type situation, where one person can load and send the game they agree to play to the other, as a purely peer to peer type thing so no need for a TNFS server - there are so many possibilities with FujiNet! Quote Link to comment https://forums.atariage.com/topic/314815-n-programming-cheat-sheet/#findComment-4716039 Share on other sites More sharing options...
tschak909 Posted January 4, 2021 Author Share Posted January 4, 2021 Just now, David_P said: Thanks. I'm thinking about a chat type situation, where one person can load and send the game they agree to play to the other, as a purely peer to peer type thing so no need for a TNFS server - there are so many possibilities with FujiNet! This is why this platform exists, to do things I didn't think of. -Thom 1 Quote Link to comment https://forums.atariage.com/topic/314815-n-programming-cheat-sheet/#findComment-4716041 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.