Petit Computer

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Petit Computer
Publisher(s)Nintendo DSi
  • JP: SmileBoom
  • WW: GameBridge
Nintendo 3DS, Wii U, Nintendo Switch
  • WW: SmileBoom
Platform(s)Nintendo DS
Nintendo DSi
Nintendo 3DS
Wii U
Nintendo Switch
ReleaseNintendo DS
  • JP: March 9, 2011
Nintendo DSi
  • JP: March 14, 2012
  • NA: July 19, 2012
  • EU: July 25, 2013
Nintendo 3DS
  • JP: November 19, 2014
  • NA: October 15, 2015
  • EU: August 17, 2017
Wii U
  • JP: December 14, 2016
Nintendo Switch
  • JP: May 23, 2019
  • WW: 2019
Genre(s)Software development application

Petit Computer is a software development application for the Nintendo DSi and later systems, developed by SmileBoom in Japan. The application is built around a custom dialect of BASIC known as SmileBASIC (not to be confused with the 3DS sequel with the same name). Users can write games and other software using the onscreen keyboard and run the applications from within Petit Computer. The platform supports text-based console applications, visual applications, and any combination of the two. Input is available via hardware buttons, touchscreen input, or the onscreen keyboard.

In addition to the code editor and interpreter, Petit Computer includes a simple shell for file management, as well as file sharing functionality. Files can be shared by a direct wireless connection between two DS systems, or by the use of QR codes.

The usage of QR codes enabled some users to develop desktop software that can be used to write SmileBASIC and generate a QR code for easy transfer to the DS.[3]

Petit Computer comes with several simple sample applications, 5 sample games, and several graphics-editing applications, all written in SmileBASIC with viewable source code.[4] The latter applications can be used to create sprites, backgrounds, and other resources that can then be used within user-created software. Hundreds of premade sprites and tiles are included with Petit Computer. An extensive manual is available from within Petit that describes the basic features and limitations of SmileBASIC, as well as brief descriptions of most of the commands and their syntax.

SmileBASIC language[edit]

Petit Computer uses a customized dialect of BASIC known as SmileBASIC designed specifically for the DSi. Applications written in SmileBASIC can read input from all of the DS's hardware buttons except the Select button (which is always used to terminate the current application) as well as the touch screen, draw graphics and sprites to both screens, and play music written in Music Macro Language. Standard console commands are provided for reading, writing, and manipulating strings. An exhaustive set of graphical commands exists for displaying and manipulating sprites, background graphics, panels, and more, with support for layering, translation, rotation, scaling, palette swapping, and other features, on both screens (some features are limited on the touch screen). Up to 16 channels can be used to play simultaneous audio, with support for fully featured user-defined software instruments and sequenced music.


Nintendo Life gave the application 7/10 stars, praising its power and potential, but criticizing the presentation as tailored towards seasoned programmers, as well as the "tedious" method of entering code via the touch-screen keyboard.[3] Peter Willington at PocketGamer said the interface "puts you off experimenting" due to the difficulties in entering and navigating text, and complained that error messages weren't useful, but described himself as "massively proud" of his accomplishments with the software and write that "experienced hands will be able to make any kind of software they like".[5]


A sequel designed for the Nintendo 3DS, with new features and fewer limitations, released on November 19, 2014 in Japan, October 15, 2015 in North America and August 17, 2017 in Europe. The sequel is titled SmileBASIC (the same name as the dialect of BASIC used in both applications).[6] Nintendo Life gave the application 8/10 stars, praising the removal of QR codes and the power of the language, but again criticizing the cumbersome keyboard.[7] It was recently announced that SmileBASIC would be ported to the Wii U.[8] The program was removed from the North America eShop on July 11, 2016 due to an exploit that existed in between versions 3.2.1 and up to version 3.3.1 of the program. The exploit was fixed in version 3.3.2 of the application, and as a result SmileBASIC was put back up for sale on the North American eShop on August 10, 2016.[9] As of system version 11.1.0-X released September 12, 2016, when trying to load the game, the system does not allow users to launch the title until the software is updated to version 3.3.2 or higher, forcing users to download the patch, rendering the exploit unusable even if the older version of the game is available.[10]


  1. ^ "Petit Computer - GameBridge".
  2. ^ "Developed in-house". SmileBoom. 18 October 2016.
  3. ^ a b Nintendo Life. "Petit Computer (DSiWare) Review - Nintendo Life". Nintendo Life.
  4. ^ "Sample Program - Petit Computer". Petit Computer. Archived from the original on 17 February 2015.
  5. ^ "The problem with programming: my adventure in BASIC with Petit Computer for DS". Pocket Gamer. 7 September 2013.
  6. ^ "SmileBASIC".
  7. ^ "SmileBASIC Review". Nintendo Life. 15 December 2015.
  8. ^ "SmileBASIC is Heading to Wii U, With Cross-Platform Support and DLC Also Confirmed". 17 October 2015.
  9. ^
  10. ^