Author Topic: Petit Computer  (Read 98020 times)

0 Members and 1 Guest are viewing this topic.

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Petit Computer
« on: July 22, 2012, 02:40:30 pm »
Petit Computer is a program for the Nintendo DSi and 3DS available on the DSiware that lets you use a programming language on the console, SmileBasic, a variant of the Microsoft BASIC found on computers of the 70s and 80s such as the Commodore 64.

It's 800 points on the DSi, there's lots of features such as support of sprites, music, etc. and the samples provided are pretty great, so you can effectively make your own DSi homebrew.
« Last Edit: July 22, 2012, 02:53:32 pm by Juju »

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline shmibs

  • しらす丼
  • Administrator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2132
  • Rating: +281/-3
  • try to be ok, ok?
    • View Profile
    • shmibbles.me
Re: Petit Computer
« Reply #1 on: July 22, 2012, 02:49:00 pm »
ooh, that's pretty cool =D
how much does 800 points translate to in cash moneys?
« Last Edit: July 22, 2012, 02:52:54 pm by shmibs »

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Petit Computer
« Reply #2 on: July 22, 2012, 02:52:02 pm »
Interesting stuff they released there. I wonder if it will be able to achieve games like Reuben Quest, Metroid, Sonic and the like?

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: Petit Computer
« Reply #3 on: July 22, 2012, 02:59:50 pm »
800 points is $8 (they only let you buy points in increments of 1000 though, which is $10+taxes).

I'm pretty sure you will be able to make at least something like Reuben Quest, as the support of sprites is pretty good. There is memory limitations, but I think calc84maniac already found a workaround for saving data to an image file.

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Petit Computer
« Reply #4 on: July 22, 2012, 03:02:25 pm »
Actually, there really aren't very many memory limitations. Programs can go up to 9999 lines or 512KB, and you can store tilemap/sprite data in external files. The image file idea was mainly a workaround for large amounts of save game data, or external level packs. Most hardcoded data you can put directly into your program.
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: Petit Computer
« Reply #5 on: July 22, 2012, 03:34:52 pm »
so we'll be seeing WFRNG in 3DS soon?

Offline shmibs

  • しらす丼
  • Administrator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2132
  • Rating: +281/-3
  • try to be ok, ok?
    • View Profile
    • shmibbles.me
Re: Petit Computer
« Reply #6 on: July 22, 2012, 03:45:03 pm »
* shmibs has more questions:
is there an on-screen, touch keyboard for writing things? if so, how difficult is it to use?
can you use the other buttons in your programs? if so, can you use other hardware as well?
can you write programs on a computer and transfer them over?
does juju have a beard or just really long sideburns?

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Petit Computer
« Reply #7 on: July 22, 2012, 04:05:10 pm »
* shmibs has more questions:
is there an on-screen, touch keyboard for writing things? if so, how difficult is it to use?
can you use the other buttons in your programs? if so, can you use other hardware as well?
can you write programs on a computer and transfer them over?
does juju have a beard or just really long sideburns?

There is an onscreen keyboard, and it's not too hard to use (you have a stylus, after all). Plus, it pulls up autocomplete stuff for all of the different SMILEBASIC commands.
You can use all of the buttons except for SELECT (which is the BREAK key), and you can also use the touch screen. You also have access to quite a bit of the DS's 2D hardware and some nice built-in sprite movement/collision routines as well.
You can write programs on the computer only with a certain fanmade application (which is japanese but also has an english version)
And Juju has a beard because he's a pirate.
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Petit Computer
« Reply #8 on: July 22, 2012, 05:03:57 pm »
Actually, there really aren't very many memory limitations. Programs can go up to 9999 lines or 512KB, and you can store tilemap/sprite data in external files. The image file idea was mainly a workaround for large amounts of save game data, or external level packs. Most hardcoded data you can put directly into your program.
Seems pretty good although the fact each character of code might be one byte rather than tokens on a calculator would probably compromise the feasibility of a Reuben clone.

Are files using external files hard to send between users or do you end up with two QR codes to scan? Reuben has quite a bit of sprites too, so if they were included in the code or something code size would become an issue.
« Last Edit: July 22, 2012, 05:04:25 pm by DJ_O »

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Petit Computer
« Reply #9 on: July 22, 2012, 05:07:25 pm »
Large programs will require multiple QR codes anyway, due to the limited amount of data that can be stored in a QR code. As long as a game is good, it's worth more QR codes XD
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Petit Computer
« Reply #10 on: July 22, 2012, 05:07:56 pm »
Ah ok. Is it long to scan/install tho if you got to scan like 8 QR codes?

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Petit Computer
« Reply #11 on: July 22, 2012, 05:14:10 pm »
It might take a couple minutes since you have to line up the image each time. Also, I think there's a way you can group multiple files into one set of QR codes.

Also, a little more info on memory:
You can have up to 2048 named variables/arrays, and up to 262144 total array elements. You can also store up to 4096 total non-empty strings (up to 256 characters long) in variables or string arrays at a time. More strings can be used if defined as DATA in the program and then loaded into variables.
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: Petit Computer
« Reply #12 on: July 22, 2012, 05:18:39 pm »
And how do we produce said QR codes?

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Petit Computer
« Reply #13 on: July 22, 2012, 05:21:12 pm »
And how do we produce said QR codes?
You'll have to save the files to your SD card and then use the online converter at http://www.petitcomputer.com/.
« Last Edit: July 22, 2012, 05:22:47 pm by calc84maniac »
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline Nick

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1166
  • Rating: +161/-3
  • You just got omnom'd
    • View Profile
    • Nick Steen
Re: Petit Computer
« Reply #14 on: July 22, 2012, 05:28:32 pm »
wow, nice :o and it seems like it has some kind of built in GUI, or is that the program itself that made it?

it's awesome :)