LoginLogin

SB Modem/Terminal

Root / Submissions / [.]

12Me21Created:
Download:CPDEX34J
Version:Size:
aaaaaaaaaaaa I don't feel like explaining this now.... videos: https://www.youtube.com/watch?v=B9qgHVggwiA (alternate font, requires modifying code, uhh...) https://www.youtube.com/watch?v=i-XZK7H0Nj0 (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:

Requirements:

- 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)

Compiling

- 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

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.

Replying to:HTV04
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.
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.

Ow my ears

Replying to:HTV04
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.
Oh right I should've mentioned that oops

How do I run this?