? SB Modem/Terminal ● SmileBASIC Source

Sign In

*Usernames are case-sensitive
Forgot my password

SB Modem/Terminal

Public Key
Min. Compat.
3 votes
Description aaaaaaaaaaaa I don't feel like explaining this now.... videos: [url=https://www.youtube.com/watch?v=B9qgHVggwiA]https://www.youtube.com/watch?v=B9qgHVggwiA[/url] (alternate font, requires modifying code, uhh...) [url=https://www.youtube.com/watch?v=i-XZK7H0Nj0]https://www.youtube.com/watch?v=i-XZK7H0Nj0[/url] (old, 4000bps) https://github.com/12Me21/sbterm 8000 bits/sec modem + terminal emulator I guess it would make more sense to make some kind of file transfer tool but oh well Currently only PC -> 3DS transfer is finished. Instructions


- 3DS (I've only tested on a new 3DS but it should work on the original too I guess) - SmileBASIC version 3.3? or newer - Computer with audio output - Linux (No I am NOT making this work on windows lol) - Pulseaudio - Pulseaudio api development stuff (uhhh) - Some other things that are hopefully already installed - 3DS audio input/output splitter (see <that page I can never find>. Commercially available splitters will work but are unreliable)


- Download https://github.com/12Me21/sbterm - run make (outputs executable file called pty)

Connecting audio cables

- For the 3DS to recognize the external mic, you have to plug the splitter into the 3DS BEFORE connecting anything else. You can tell if it was detected because the 3DS won't use its internal mic and won't respond to noises anymore. If you didn't make your own adapter (with the resistor connecting mic and ground) you'll have to unplug it and plug it back in a few dozen times before it's detected.
Notes Credits: 12Me21 Yttria <probably some other people that I forgot about> Gavin Haynes (Pulseaudio example code https://stackoverflow.com/a/29980624/6232794) R. Koucha (Pseudo-Terminal example code http://rachid.koucha.free.fr/tech_corner/pty_pdip.html) Other useful pages: https://invisible-island.net/xterm/ctlseqs/ctlseqs.html https://en.wikipedia.org/wiki/ANSI_escape_code https://linux.die.net/man/5/terminfo https://pubs.opengroup.org/onlinepubs/007908799/xcurses/terminfo.html https://freedesktop.org/software/pulseaudio/doxygen/index.html
4 Comment(s) random_god random_god Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength QSP Contest 1 Contest Participant I participated in the first SmileBASIC Source QSP Contest! Video Games I like to play video games! Hobbies Ow my ears HTV04 HTV04 Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Avatar Taboo I didn't change my avatar for 180 days Website Second Year My account is over 2 years old Website Can I use the Linux Subsystem for Windows with this (is this a Ubuntu console application) If it's possible then this is basically Windows-compatible too. Yttria Yttria Yes, this [should] work in WSL (though I don't think recent versions have been tested in it): see the "Audio support" section on https://trzeci.eu/configure-graphic-and-sound-on-wsl/ for getting pulseaudio set up. You will need a PA server on the windows side. 12Me21 12Me21 Syntax Highlighter Received for creating the code syntax highlighter on SBS Night Person I like the quiet night and sleep late. Express Yourself Oh right I should've mentioned that oops