The shoutbox is currently out of service. Join us on Discord instead.

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

Started by DJ Omnimaga, March 25, 2015, 10:36:41 pm

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

DJ Omnimaga

They are the same size and the only advantage they offer over matrices is that their width can be altered as you wish, just like xLIBC and Axe map data. You can also use custom list names, which is impossible with matrices, and the limit is 999 elements instead of 400 (unless that was changed too?)

Not sure if they are faster, since I haven't tried that.

tr1p1ea

Earlier today calc84 found that some IO is mapped to RAM! This means that we can access with LCD for example, without needing and exploits or hax!

This is VERY good news as it will allow us to achieve greater performance and keep data sizes down.

I have also located the parser hook and can confirm that it works stock which could mean that an xLIB on the CE is likely possible.

Here is a vid of a palette test:



Ill post more info later today if i can :).

DJ Omnimaga

Awesome tr1p1ea! I'M really glad to read that. My main worry was the parser hook, because without them this severely limited some possibilities, especially hybrid BASIC programmers. What about Flash apps, though? I thought that parser hooks could only be installed from a Flash app?

And it's good that direct LCD access is still possible. Hopefully we can do extremely fast games on this platform.

Btw, could you test the following code?

While 1
ClrHome
Output(1,1,"0123456789ABCDEF0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789ABCDEF0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789ABCDEF0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789ABCDEF0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789ABCDEF0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ
End


I am curious about how fast this refreshes compared to the CSE? That might give me an idea of what enhancements a CE version of First Fantasy could benefit from.

Also since this calc lacks a 160x120 mode, will xLIBC have a mode where the GRAM is the entire screen rather than one half at a time?

tr1p1ea

The GRAM thing might work a bit different, as there is no LCD interlacing and no windowing. The buffer is still divided into 2 halves when using 8-bit palettes, however instead of being side-by-side like CSE, its top-bottom.

Ill test that when i get home!

DJ Omnimaga

Aah ok. I guess I don't mind, though, if the xLIBC syntax isn't made entirely different unless necessary by any limitation and stuff.

Caleb Hansberry

Awesome! It could be years before I get one though since I don't ever buy things new - my CSE came from winning a contest. But I love drooling over what other people get to experience :P like for the Nspire.

Nice tr1plea! What does the fox say though  ???

Adriweb

Quote from: DJ Omnimaga on March 31, 2015, 12:50:51 amBtw, could you test the following code?

While 1
ClrHome
Output(1,1,"0123456789ABCDEF0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789ABCDEF0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789ABCDEF0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789ABCDEF0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789ABCDEF0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ
End


I am curious about how fast this refreshes compared to the CSE? That might give me an idea of what enhancements a CE version of First Fantasy could benefit from.


Each full "refresh" takes 0.7s on average, on my 84+CE.
Co-founder & co-administrator of TI-Planet and Inspired-Lua

DJ Omnimaga

Ok thanks. That seems a bit faster than on my CSE, although not by much. Still an improvement, though.

DJ Omnimaga

Bwahahahahaha! http://tiplanet.org/forum/viewtopic.php?p=179794#p179794

http://zippy.gfycat.com/InbornConcernedFulmar.webm

Basically, the following code

While not(getKey
"abcd...........
"Searc.."+Ans
{1→⌊A
End


Will freeze your calc.

I hope TI fix this >.< (not that it's easily triggerable due to being useless code, but you never know)

tr1p1ea

Ok so I managed to get some parser stuff running and made a small tilemap demo:

www.youtube.com/watch?v=iNrhNgNze3o

The entire map is redrawn each frame and the scrolling is 8-pixels at a time. The code an be optimised for more speed as well.

Very encouraging when compared to the CSE!

DJ Omnimaga

I love the speed, it seems on-par with the monochrome calcs. :D

Duke "Tape" Eiyeron

Nice! It's actually way better than CSE! Now with vertical scrolling?

DJ Omnimaga

Yup. Also this will be easier to port games between the CSE, HP Prime and Nspire, since speed on the ez80 calc won't be a serious issue . Mario is definitively possible for sure, now, even if not at 60 fps.

Duke "Tape" Eiyeron

It'll be hard to do very graphical effects though, 20MHz is hard. THink of the Prizm (but welp, it had a strange FPS lock) about speed and quality.

Snektron

Quote from: tr1p1ea on April 03, 2015, 12:31:33 am
Ok so I managed to get some parser stuff running and made a small tilemap demo:

www.youtube.com/watch?v=iNrhNgNze3o

The entire map is redrawn each frame and the scrolling is 8-pixels at a time. The code an be optimised for more speed as well.

Very encouraging when compared to the CSE!


:o it's like a proper done CSE :D

Quote from: DJ Omnimaga on April 03, 2015, 04:58:03 pm
Yup. Also this will be easier to port games between the CSE, HP Prime and Nspire, since speed on the ez80 calc won't be a serious issue . Mario is definitively possible for sure, now, even if not at 60 fps.


if only there was a common language, that would be awesome O.O
(Source portin' time)
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


Powered by EzPortal