Log In  


Cart #22159 | 2016-06-03 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
5

Heh, been a while I played with PICO-8. Anyway, I had this idea, since the TI-83+ graphic calculator screen is smaller than PICO-8, you can probably emulate it inside of PICO-8? Well, the RAM is barely bigger than the TI-83+ and doesn't have 50 keys so that probably won't work, so I just wrote an equivalent of the Output() function, complete with the font (see the weird garbage in the gfx editor? That's the font. I abuse the fact one 16-color pixel takes the same space as 4 monochrome pixels), wrapping around the 96x64 screen and character 0xD6 is a newline. Now you can port your favourite 83+ BASIC games, provided they only used two buttons and the D-pad!

In this cartridge, I show all the characters of the font you can use between 0 and 255 (actually 1 and 247, the rest should be blank), press up and down to scroll. You can look at the code, there's the output function defined as such:

output(x,y,s)
x: row between 0 and 15
y: column between 0 and 7
s: character array to output (like, {0x48,0x65,0x6C,0x6C,0x6F} for "Hello", refer to this link for the codes)

Also, want finer control over x and y? Just comment line 4 out.

In conclusion, it may just be an additional constraint over the one specified for PICO-8: 96x64 monochrome screen with a 7x5 font, as opposed as a 128x128 16-color screen with a 5x3 font. Anyway, have fun!

P.S.: Small font next?

5


Nice!

Now port Pico-8 to the TI-83! ;)


Yeah, maybe on the later color models, who knows?



[Please log in to post a comment]