Login
This is a preview website! Changes made may get reset and will not carry over to the final version! Original website still up at https://old.smilebasicsource.com

PetitModem

Root / Submissions / [.]

rei_nntndCreated:
Download:23DX324V
Version:Size:

Phono Transceiver for SmileBasic, and compress/decompress utility

PetitModem

  • speed
    • 300bps 1080+-100Hz FSK / 1750+-100Hz FSK (ITU-T V.21 corresponding.※)
    • 600bps 1500+-200Hz FSK (ITU-T V.23 corresponding※)
    • 1200bps •1300+-400Hz FSK (ITU-T V.23 corresponding※)
    • 2400bps •1800 pi/4 DQPSK (ITU-T V.26bis corresponding※)
  • Duplex: Half / Simplex
  • Synchronous method: start-stop(StartBit:1,StopBit:1)
  • Binary transfer protocol: original(YMODEM-like)
    • simplex mode
    • with ARQ(Automatic Repeat reQuest) mode
  • Error detection: CRC16(Koopman)
  • Charactor set: UCS-4/UTF-8 convert on SmileBasic

LZSSLib

  • Algorithm: LZSS
  • File Format
    • TXT PRG ⇔ PZT
    • BMP PNG JPG ⇔ PZG
    • DAT ⇔ PDA

Instructions:

PC version is http://rei.to/petitmodem_en.html. (you need .NetFramework 4.0 or later.)
Was 2400 bps there before, or is it a new speed?

Replying to:h267
Was 2400 bps there before, or is it a new speed?
I think it's new

Why is line 24 commented out?
'IF ((EXTFEATURE AND 1)!=0) THEN USEPCM%=1
I uncommented it and the PCM seems to work fine (at least for 3DS->PC transfer) even at 2400 bps

Replying to:12Me21
Why is line 24 commented out?
'IF ((EXTFEATURE AND 1)!=0) THEN USEPCM%=1
I uncommented it and the PCM seems to work fine (at least for 3DS->PC transfer) even at 2400 bps
Because I have not tested enough the PCM feature on old 3DS. If it works, you can use it. but I think you don't need it. PCMstream has two advantage. one is "continuous wave" and the other is "low quantized error". In this version, All packets have "two sec" length which is capable even in WAVSETA. and the quantized error is small enough at 2400bps according to my calculation and measurement. I think we need PCMSTREAM abobe 9600bps.

Oh, mine is outdated

Looks like it's time to update it.

This works much better than the previous version on my computer!

Can you add a simple browse for files option in the LZSS as an alternative to the drag and drop? I'm a Linux user and Wine does not support drag and drop.

This submission should be way more popular

Replying to:Simeon
This submission should be way more popular
This looks great, but alas at the moment I don't have a PC with windows.

More Windows-only software. DansGame

Hey, rei, you've made a very good job with this one! I have a request - can you please either make the PC software open source or replace winmm.dll with https://github.com/naudio/NAudio? Your software runs perfectly fine under mono, and winmm is the only thing that prevents it from being functional on Linux/OSX.

According to http://smilebasicsource.com/forum?fpid=14093#post_14093, adding a 1K resistor between ground and the 3DS' MIC line helps... but that info is more useful here than there, so I'm repeating it here.

Replying to:SquareFingers
According to http://smilebasicsource.com/forum?fpid=14093#post_14093, adding a 1K resistor between ground and the 3DS' MIC line helps... but that info is more useful here than there, so I'm repeating it here.
That is strange.

I could not get this to work.... even after running it for 27 hours

Replying to:LAX18
I could not get this to work.... even after running it for 27 hours
I was using a 3.5mm AUX cable, that only carried sound from the 3DS to the computer. The settings were Simplex with 600 bps

Replying to:LAX18
I could not get this to work.... even after running it for 27 hours
Simplex only needs 1 way communication.

The website has a newer version: http://rei.to/petitmodem_en.html "Last modified on Apr 03 2018."

How would I know i I had the framework installed? I finally got a pc running windows and I would like to test this out

Replying to:Imasheep
How would I know i I had the framework installed? I finally got a pc running windows and I would like to test this out
Just download the program and see if it works. I'm pretty sure .NET comes with windows.