You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm also in the mood to write a long, detailed explanation. SmileBASIC is fairly obscure, so hopefully someone learns from it. This is an explanation to this answer on PPCG.
The vowel list
V$="AEIOUY
I store the list of which letters are vowels in a string named V$; there is no "is this a vowel" builtin, and I refer to this list three times, so it's best to store it.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PTC uses two systems for import and export of files.
SD files are generated when an PTC file is exported to the SD card. They simply consist of a header on top of internal PTC file formats. The intended purpose of SD files is to store metadata and a hash so the file can be validated and converted into a QR set.
QR sets are used for distributing and importing PTC files by scanning them with the DSi/3DS camera. The information contained in the SD file wrapper is not stored literally in the QR data stream; it is used for validation and processed into a different format. Because QR codes have an upper bound on data storage, a PTC file has to be split into frames in a specific method; these frames are then converted into QR codes.
Note: All multibyte integers (like sizes) are little-endian. All literal byte values in this document (e.g. 50 54) are written in hexadecimal.
SD File Header
Files exported to SD card consist of a SD file header, and then the conte