* WalrusIRC

You need to have 5 posts and not be part of restricted usergroups in order to use the WalrusIRC embedded shoutbox. However, you can also access our IRC channel called #CodeWalrus via EFnet.

Author Topic: Getting started with TI-84 Plus CE Programming  (Read 31293 times)

0 Members and 2 Guests are viewing this topic.

Online xlibman

  • Omni founder & CW co-founder
  • Super User
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 18799
  • Post Rating Ratio: +98/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
Re: TI-84 Plus CE released - Let coding commence!
« Reply #15 on: March 30, 2015, 03:45:22 am »
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.
  • Calculators owned: TI-57, 73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Offline tr1p1ea

  • Full User
  • Join Date: Feb 2015
  • Location:
  • Posts: 262
  • Post Rating Ratio: +4/-1
Re: TI-84 Plus CE released - Let coding commence!
« Reply #16 on: March 31, 2015, 12:23:51 am »
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 :).

Online xlibman

  • Omni founder & CW co-founder
  • Super User
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 18799
  • Post Rating Ratio: +98/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
Re: TI-84 Plus CE released - Let coding commence!
« Reply #17 on: March 31, 2015, 12:50:51 am »
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?

Code: [Select]
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?
  • Calculators owned: TI-57, 73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Offline tr1p1ea

  • Full User
  • Join Date: Feb 2015
  • Location:
  • Posts: 262
  • Post Rating Ratio: +4/-1
Re: TI-84 Plus CE released - Let coding commence!
« Reply #18 on: March 31, 2015, 01:23:49 am »
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!

Online xlibman

  • Omni founder & CW co-founder
  • Super User
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 18799
  • Post Rating Ratio: +98/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
Re: TI-84 Plus CE released - Let coding commence!
« Reply #19 on: March 31, 2015, 02:49:53 am »
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.
  • Calculators owned: TI-57, 73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Offline Caleb Hansberry

  • CodeWalrus Staff
  • Full User
  • Moderator
  • CodeWalrus Supporter
  • *
  • Safe-haven access
  • Join Date: Jan 2015
  • Location:
  • Posts: 181
  • Post Rating Ratio: +3/-0
  • I am a Christian
    • caleb_hansberry
    • Skylites Computers
  • Gender: Male
Re: TI-84 Plus CE released - Let coding commence!
« Reply #20 on: March 31, 2015, 03:39:10 am »
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  ???
  • Consoles, mobile devices and vintage computers owned: HP Portable Plus 110, Toshiba T3100, GRiD 1660, TI-99/4A, and much more than I can list here

Offline Adriweb

  • Full User
  • Join Date: Jan 2015
  • Location: France & Canada
  • Posts: 423
  • Post Rating Ratio: +7/-1
    • Adriweb
    • @Adriweb
    • Adriweb
    • @UC-UIrbk5SuaUCvnV6SQvt-Q
    • /u/Adriweb
    • Adriweb
    • TI-Planet.org
  • Gender: Male
Re: TI-84 Plus CE released - Let coding commence!
« Reply #21 on: March 31, 2015, 03:57:54 am »
Btw, could you test the following code?

Code: [Select]
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.
  • Calculators owned: TI-Nspire CX CAS, TI-Nspire CX, TI-Nspire CAS (x3), TI-Nspire (x2), TI-Nspire CM-C CAS, TI-Nspire CAS+, TI-80, TI-82 Stats.fr, TI-82 Plus, TI-83 Plus, TI-83 Plus.fr USB, TI-84+, TI-84+ Pocket SE, TI-84+ C Silver Edition, TI-84 Plus CE, TI-89 Titanium, TI-86, TI-Voyage 200, TI-Collège Plus, TI-Collège Plus Solaire, 3 HP, some Casios
Co-founder & co-administrator of TI-Planet and Inspired-Lua

Online xlibman

  • Omni founder & CW co-founder
  • Super User
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 18799
  • Post Rating Ratio: +98/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
Re: TI-84 Plus CE released - Let coding commence!
« Reply #22 on: March 31, 2015, 04:03:58 am »
Ok thanks. That seems a bit faster than on my CSE, although not by much. Still an improvement, though.
  • Calculators owned: TI-57, 73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Online xlibman

  • Omni founder & CW co-founder
  • Super User
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 18799
  • Post Rating Ratio: +98/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
Re: TI-84 Plus CE released - Let coding commence!
« Reply #23 on: April 01, 2015, 12:21:59 am »
Bwahahahahaha! http://tiplanet.org/forum/viewtopic.php?p=179794#p179794

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

Basically, the following code

Code: [Select]
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)
  • Calculators owned: TI-57, 73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Offline tr1p1ea

  • Full User
  • Join Date: Feb 2015
  • Location:
  • Posts: 262
  • Post Rating Ratio: +4/-1
Re : TI-84 Plus CE released - Let coding commence!
« Reply #24 on: April 03, 2015, 12:31:33 am »
Ok so I managed to get some parser stuff running and made a small tilemap demo:



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!

Online xlibman

  • Omni founder & CW co-founder
  • Super User
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 18799
  • Post Rating Ratio: +98/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
Re : TI-84 Plus CE released - Let coding commence!
« Reply #25 on: April 03, 2015, 12:33:16 am »
I love the speed, it seems on-par with the monochrome calcs. :D
  • Calculators owned: TI-57, 73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Offline Duke "Tape" Eiyeron

  • Urist McEiyolobster
  • Super User
  • Join Date: Nov 2014
  • Location: (V)(-_(//));(V)
  • Posts: 1636
  • Post Rating Ratio: +11/-2
  • Fanciest Walrus of the oceans.
    • @@Eiyeron
    • Eiyeron
    • /u/Eiyeron
    • Eiyeron
    • Rétro-Actif : Rétro/Prog/Blog
  • Gender: Male
Re: TI-84 Plus CE released - Let coding commence!
« Reply #26 on: April 03, 2015, 08:14:05 am »
Nice! It's actually way better than CSE! Now with vertical scrolling?
  • Calculators owned: A lot.

Online xlibman

  • Omni founder & CW co-founder
  • Super User
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 18799
  • Post Rating Ratio: +98/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
Re: TI-84 Plus CE released - Let coding commence!
« Reply #27 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.
  • Calculators owned: TI-57, 73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Offline Duke "Tape" Eiyeron

  • Urist McEiyolobster
  • Super User
  • Join Date: Nov 2014
  • Location: (V)(-_(//));(V)
  • Posts: 1636
  • Post Rating Ratio: +11/-2
  • Fanciest Walrus of the oceans.
    • @@Eiyeron
    • Eiyeron
    • /u/Eiyeron
    • Eiyeron
    • Rétro-Actif : Rétro/Prog/Blog
  • Gender: Male
Re: TI-84 Plus CE released - Let coding commence!
« Reply #28 on: April 03, 2015, 05:47:23 pm »
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.
  • Calculators owned: A lot.

Offline Snektron

  • Lvl 69 Russian Snake
  • Super User
  • Join Date: Dec 2014
  • Location: Netherlands
  • Posts: 3165
  • Post Rating Ratio: +32/-0
  • SSSssssss.....
    • RobinDeWalvis
    • Kzyrox
    • RobinDeWalvis
    • quantuminfinity
  • Gender: Male
Re: TI-84 Plus CE released - Let coding commence!
« Reply #29 on: April 03, 2015, 09:00:26 pm »
Ok so I managed to get some parser stuff running and made a small tilemap demo:



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

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)
« Last Edit: April 03, 2015, 09:02:31 pm by Cumred_Snektron »
  • Calculators owned: TI-84+
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


 


You can also use the following HTML or bulletin board code to share it on your page or forum signature!


Also do not forget to check our affiliates below.
Planet Casio TI-Planet Calc.news BroniesQC BosaikNet Velocity Games