You can help CodeWalrus stay online by donating here. | New CodeWalrus | Old (dark mode) | Old (light) | Discord server

Getting started with TI-84 Plus CE Programming [ASM] [ICE] [BASIC] [emulator]

b/Calculator Talk Started by Dream of Omnimaga, March 25, 2015, 10:36:41 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

u/Duke "Tape" Eiyeron April 04, 2015, 05:54:29 AM
There was an attempt to make a common langue between Casio and TI : the MLC. It didn't got very popular though...
u/Dream of Omnimaga April 04, 2015, 06:34:21 AM
Actually it was somewhat popular back then. It's just that the project founder quit calc stuff early in the project, which pretty much led to its demise. Also, the one in charge of the TI-86 version ran into issues with memory constraints (such as a 8 KB executable limit)

A lot of the MLC discussion was on Epic Programming Studio programming team forums, which I was staff at. But that team disbanded in late 2005.
u/tr1p1ea April 07, 2015, 10:18:56 AM
It's amazing how much of this stuff you remember :).

Another parser test, this time TIOS getKey vs ASM lib getkey. All code is the same besides the key function:



I believe the TIOS getKey actually isnt slow, rather its the key-repeat.
u/Duke "Tape" Eiyeron April 07, 2015, 11:46:12 AM
Meeeh, I want to get back on game programming! When I seee such graphisms, I'm amazed by the richness of details of this spritesheet.
u/Dream of Omnimaga April 08, 2015, 04:08:40 AM
Lol tr1p1ea thanks. I even remember some exact community event dates or member nicks from the old MC board. O.O

And woah BASIC getkey is so slow compared to ASM. That makes me want to investigate in FF to see if dungeon movements aren't actually throttled by getKey XD.
u/Snektron April 08, 2015, 07:07:14 AM
But everything is faster in ASM so that's not really a surprise :P
u/Duke "Tape" Eiyeron April 08, 2015, 12:48:12 PM
Yeah, but the result is still pretty pretty, so, whatever the language to make this, it's cool.
u/Dream of Omnimaga April 08, 2015, 04:18:54 PM
^this. As long as the code is optimized whenever possible and isn't slower than what the BASIC language is capable of.
u/Snektron April 08, 2015, 05:22:05 PM
Imagine making a demo like this in Brainc o.o
u/Dream of Omnimaga April 09, 2015, 01:40:48 PM
Can we even display anything other than text in brainc, such as sprites?
u/Snektron April 09, 2015, 02:58:39 PM
Yeah, you'd have to add some instructions (like pixel-on or something) or define a specific location in the ram as the screen (kinda like PlotSScreen)
u/Duke "Tape" Eiyeron April 09, 2015, 03:17:18 PM
Better : you map some sort of opcode parser in the BF memory, like the first 8 bytes to detect the operation and the arguments of the operation.
u/Dream of Omnimaga April 09, 2015, 05:09:14 PM
We should stick to C and ASM I think. Let's not make stuff even more complicated for people who have troubles learning low-level languages. :P


Also @tr1p1ea, For xLIBC, I think there should be an extra option allowing you to use map data made of tiles from 0 to F instead of 00 to FF. The 16 tiles you would be able to use would either be defined in a list before launching the real command, a much slower string or if none is specified, then only tile 0 through 15 in tilepic 0 or 1 would be used. I'm thinking that a list would be better because TI-BASIC string storage (even in Ans) is very slow.
{tile1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16:real(3,0,X,Y,MAPWIDTH,MAPSTRING,XSTART,YSTART,XEND,YEND,UPDATELCD,TILEMODE

Axe Parser had ways to use such map data and it was much smaller in size. It could be handy for people who have simpler tilemap data who wants to save space.
Last Edit: April 09, 2015, 06:05:46 PM by DJ Omnimaga
u/Duke "Tape" Eiyeron April 10, 2015, 03:13:18 PM
Yeah, you mean using 4 bytes for each tile? YEah that could be feasible as even Axe Parser does have a function for dat "nibble{}"
Website statistics


MyCalcs | Ticalc.org | Cemetech | Omnimaga | TI-Basic Developer | MaxCoderz | TI-Story | Casiocalc.org | Casiopeia | The Museum of HP Calculators | HPCalc.org | CnCalc.org | Music 2000 Community | TI Education | Casio Education | HP Calcs | NumWorks | SwissMicros | Sharp Calculators
Powered by EzPortal