Author Topic: Presenting Celtic 2 CSE  (Read 6386 times)

0 Members and 1 Guest are viewing this topic.

Offline KermMartian

  • Editor
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 500
  • Rating: +233/-20
    • View Profile
    • Cemetech
Presenting Celtic 2 CSE
« on: July 22, 2013, 02:22:29 pm »
Since the color-screen TI-84 Plus C Silver Edition calculator was first discovered here at Cemetech eight and a half months ago, the programming community has had mixed reactions to the device. On the plus side, we're very happy that it represents an extension of the TI-83 Plus/TI-84 Plus-series calculator line, and hope it indicates TI's commitment to continuing the series for many years to come. In addition, its math features represent a significant improvement over the black-and-white calculators, especially for graphing and statistics, as I mentioned in my review of the calculator TI kindly sent to me. The programming community's one gripe has been that the calculator's processor and memory are nearly identical to the internals of the TI-84 Plus Silver Edition, save for doubled Flash ROM memory. Nevertheless, many of us are happy to face the programming challenges presented by the new device.

In that spirit, I'm proud to present the first hybrid TI-BASIC library for the TI-84 Plus C Silver Edition, Celtic 2 CSE. Based on Iambian Zenith's unreleased Celtic 2 code, it offers a host of program- and file-manipulation functions to TI-BASIC programmers, plus a powerful sprite routine. At the behest of tifreak8x, I re-created and re-fixed it from Iambian's latest (non-lost) source code, then added my own tweaks and features. It features the ability to read lines from programs and AppVars in RAM or Flash (archive), the ability to insert, delete, or overwrite lines in a specified program, to create a specified program and to find out how many lines there are in a BASIC program, and to output special characters into a string that is not normally storable into a string via any other method (doublequote and sto). It also contains a powerful, BASIC-compatible palletized sprite routine.

I encourage all of our TI-84+CSE-owning TI-BASIC coders to give this a try, and show off what you can do with it. I expect that a future TI-84+CSE shell (like some version of Doors CS) will contain libraries similar to these, so it makes sense to get used to them now. I also want to mention the huge debt of gratitude I owe to TIFreak8x for extensive testing as well as the thorough C2TEST program included in this file.

Download
Celtic 2 CSE



Source:
Presenting Celtic 2 CSE from Cemetech

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: Presenting Celtic 2 CSE
« Reply #1 on: July 22, 2013, 03:14:51 pm »
I saw this a few days ago and I'm impressed. I wonder how fast it is for tilemap display when the calculator only has 2 KB of RAM left, since I had problems with speed in ROL3 when I only had 2-4 KB of RAM left (the Asm() command appeared to take longer before launching programs). Also can we display sprites anywhere on the screen (outside the 265x165 area of the graph screen)?

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: Presenting Celtic 2 CSE
« Reply #2 on: July 22, 2013, 03:31:25 pm »
Very interesting, I'm a bit surprised to see this come about so quickly. I'm curious to see how it will compare feature-wise to <a href=http://ourl.ca/19099>xLIB</a> that Tr1p1ea currently has under development.

Offline KermMartian

  • Editor
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 500
  • Rating: +233/-20
    • View Profile
    • Cemetech
Re: Presenting Celtic 2 CSE
« Reply #3 on: July 22, 2013, 04:46:53 pm »
Very interesting, I'm a bit surprised to see this come about so quickly. I'm curious to see how it will compare feature-wise to <a href=http://ourl.ca/19099>xLIB</a> that Tr1p1ea currently has under development.
I've actually had it in a nearly-complete state for a month, save an hour of debugging that I was procrastinating on. Tr1p1ea and I originally discussed working together on a library, so I would imagine his current work is more experimentation than anything. :)



Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Presenting Celtic 2 CSE
« Reply #4 on: July 22, 2013, 04:49:12 pm »
Ha, pretty cool! Will this, and the new xlib, be included in DCS8?

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline KermMartian

  • Editor
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 500
  • Rating: +233/-20
    • View Profile
    • Cemetech
Re: Presenting Celtic 2 CSE
« Reply #5 on: July 22, 2013, 04:50:56 pm »
Ha, pretty cool! Will this, and the new xlib, be included in DCS8?
If such a shell comes into existence, yes. My life is not amenable to a lot of calculator projects of late.



Offline tr1p1ea

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 647
  • Rating: +110/-0
    • View Profile
Re: Presenting Celtic 2 CSE
« Reply #6 on: July 22, 2013, 06:08:33 pm »
Cool, C2CSE has been released :).

I was wondering the features of your sprite routine? (max size, transparency, clipping etc?).
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."


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: Presenting Celtic 2 CSE
« Reply #7 on: July 22, 2013, 06:14:37 pm »
I guess that one big plus that this lib has over xLIB is not being an APP, thus, being much smaller in size, with the downside being slower speed (due to using the Asm() command) and larger RAM consumption. Another plus side I guess would be that this lib is a lot oriented towards file management rather than mostly graphics.

Offline tr1p1ea

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 647
  • Rating: +110/-0
    • View Profile
Re: Presenting Celtic 2 CSE
« Reply #8 on: July 22, 2013, 07:04:58 pm »
The file management aspects of Celtic are definitely a big big bonus for programmers. Makes you wish some of the stuff was built into the OS (or a new OS :P).
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."


Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Presenting Celtic 2 CSE
« Reply #9 on: July 23, 2013, 08:24:25 am »
This is great! I have been watching the progress for a while now and I am glad it is finally released!