Author Topic: 84+CSE Library Helper  (Read 8610 times)

0 Members and 1 Guest are viewing this topic.

Offline tifreak

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2708
  • Rating: +82/-3
  • My Kung Fu IS strong...
    • View Profile
    • TI-Freakware
84+CSE Library Helper
« on: March 24, 2014, 09:29:19 pm »
I'm surprised I didn't already have a topic, I guess before I didn't have enough to write about..? Dunno.


Anyways, the function of this program is to assist programmers who program on their calculators and find themselves without the benefit of the internet to look up functions for DCSE libraries.


Showing off the fancy DCSE icon:





Showing off syntax of the header:





And this evening I completed the GetKey section of xlibc. I decided it might be handy to have the key codes, so here it is, displayed:





7 more sections remain for data entry, then I need to build a UI and displayer to display the text data properly from the appvar.


The appvar currently sits at 17,198 bytes! :o
Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: 84+CSE Library Helper
« Reply #1 on: March 25, 2014, 02:19:23 pm »
I'm surprised I didn't already have a topic, I guess before I didn't have enough to write about..? Dunno.


Anyways, the function of this program is to assist programmers who program on their calculators and find themselves without the benefit of the internet to look up functions for DCSE libraries.


Showing off the fancy DCSE icon:





Showing off syntax of the header:





And this evening I completed the GetKey section of xlibc. I decided it might be handy to have the key codes, so here it is, displayed:





7 more sections remain for data entry, then I need to build a UI and displayer to display the text data properly from the appvar.


The appvar currently sits at 17,198 bytes! :o
I'M thinking more the fact you use or used dial-up and the previous forum theme prevented you from visiting :P


Anyway this seems interesting. I was not a big fan of such program back in the days because I hated having to archive my entire game (and remembering what needs to be unarchived) then unarchive the helping tool or vice-versa because of how much RAM they took. Now Doors CS runs programs from archive so that's pretty much fixed :)

Offline tifreak

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2708
  • Rating: +82/-3
  • My Kung Fu IS strong...
    • View Profile
    • TI-Freakware
Re: 84+CSE Library Helper
« Reply #2 on: March 25, 2014, 04:51:56 pm »
Yeah, that did hinder such things in the past. But now, we have a bigger screen for more text to be displayed, and more archive space than ever to store stuff, so all should be good. :p

I've also got DrawMap completed, working on DrawSprite now.
Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: 84+CSE Library Helper
« Reply #3 on: March 26, 2014, 01:42:51 pm »
Good to hear, hopefully not too much changes occurs to DCSE syntax so you don't need to re-update this everytime :P

Also, since this is for helping DCSE lib users, will you include a section that lets you view the available xLIBC color palette and see the color numbers when selecting the color with arrows? It might become handy, especially if there is an option to store the currently selected color into a variable for later use.

Offline tifreak

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2708
  • Rating: +82/-3
  • My Kung Fu IS strong...
    • View Profile
    • TI-Freakware
Re: 84+CSE Library Helper
« Reply #4 on: March 26, 2014, 06:53:43 pm »
Actually, I do plan on trying to do that, offering a few separate tools to assist. One of them was the color palette, the other being able to convert between values for the DrawMap section to convert from the matrices to strings. And anything else that might be needed, as I go :)

As to updates, they will happen if DCSE receives library updates/upgrades only, or if I mess up with something, of course.
Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%

Offline tifreak

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2708
  • Rating: +82/-3
  • My Kung Fu IS strong...
    • View Profile
    • TI-Freakware
Re: 84+CSE Library Helper
« Reply #5 on: March 30, 2014, 10:59:31 pm »
After a bit of integration work, I've gotten Kerm's color table/selector set up stuck into the main program. Here is a shot of it in action:



I still need to program in the ASCII table, and hopefully Kerm can get me the repaired code to display the string data from the appvar. After that, this should be mostly ready for release!
Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%

Offline tifreak

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2708
  • Rating: +82/-3
  • My Kung Fu IS strong...
    • View Profile
    • TI-Freakware
Re: 84+CSE Library Helper
« Reply #6 on: April 02, 2014, 08:29:46 pm »


Got this set up now, gives you the values of the character for use with DrawText in xLIBc. You can go left and right to increment/decrement by 1, or up and down to do the same by 10. 2nd/Clear/Enter backs out of it to the main menu.

Next up, generating menus based on the list values I have. After that, it'll be pulling string data from the appvar and displaying.


Edit:



Just for fun, added the ability for the cursor to bounce from the top to the bottom and vice-versa to make things look a little nicer.





Thought I'd also show off the 2 functions that work. Just need to work on the whole page displaying setup, and make it go back and forth for paging, and things should be good. Oh, and making the menus work. That shouldn't be too hard once I have working text display stuff to work with and integrate.
« Last Edit: April 02, 2014, 10:00:53 pm by tifreak »
Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%

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: 84+CSE Library Helper
« Reply #7 on: April 03, 2014, 12:54:36 am »
That is looking pretty nice and useful! I like the color picking :)

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

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: 84+CSE Library Helper
« Reply #8 on: April 03, 2014, 12:56:45 am »
Yup I like it too.  ;)

Offline tifreak

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2708
  • Rating: +82/-3
  • My Kung Fu IS strong...
    • View Profile
    • TI-Freakware
Re: 84+CSE Library Helper
« Reply #9 on: April 03, 2014, 07:20:48 am »
Thanks guys.

Going to try to do something else with the ASCII lookup, will post up if I manage to get something of it working. :)
Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: 84+CSE Library Helper
« Reply #10 on: April 03, 2014, 12:26:08 pm »
Oooh, I love how the color selector came out. Nice work. :D

Also does Celtic2CSE support transparent text on the graph/home screen? If so, then I wonder if a dual-layer ASCII (like in Metroid Pi and Serenity) combination editor would be useful? Unlike the 84+, the CSE can't do dual-layer ASCII in pure Basic, but I wasn't sure about Celtic. It could have the option of doing so via the standard TI-OS fonts or the xLIBC ones

Offline tifreak

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2708
  • Rating: +82/-3
  • My Kung Fu IS strong...
    • View Profile
    • TI-Freakware
Re: 84+CSE Library Helper
« Reply #11 on: April 03, 2014, 01:10:35 pm »
http://dcs.cemetech.net/index.php/DCSE:BasicLibs:DispColor I think is as close as you'll get with Celtic messing with Output( and such.

The color selector was Kerm's baby :) I had started in on it, he had finished it off.

This is that other thing with the ASCII value look up:

Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: 84+CSE Library Helper
« Reply #12 on: April 05, 2014, 02:52:25 am »
Very nice :D and thanks for the info.

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: 84+CSE Library Helper
« Reply #13 on: April 06, 2014, 02:02:32 pm »
I find it nice that you changed to a lower contrast color scheme in darker tones. Hurts eyes less. ;)

Offline tifreak

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2708
  • Rating: +82/-3
  • My Kung Fu IS strong...
    • View Profile
    • TI-Freakware
Re: 84+CSE Library Helper
« Reply #14 on: April 06, 2014, 10:29:31 pm »
Well, that was based on the brightness level of the emulator, as it has issues with turning off and coming back on with a lower setting. With the program itself, once it's on your calc, that will all be you and your settings. :)

Also, very near completion, just need Kerm's help to finish it and I should have it published!
Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%