Author Topic: BatLib officially released  (Read 7691 times)

0 Members and 1 Guest are viewing this topic.

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4679
  • Rating: +718/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: BatLib officially released
« Reply #15 on: March 13, 2011, 07:54:16 pm »
Nothing, they aren't recognised yet :D If you wanted to, you could use spaces instead of commas :D

Offline DJ Omnimaga

  • Former TI programmer
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55896
  • Rating: +3152/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: BatLib officially released
« Reply #16 on: March 13, 2011, 07:54:54 pm »
I guess this is why some of the stuff is so much faster than xLIB/TI-BASIC, right?

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: BatLib officially released
« Reply #17 on: March 13, 2011, 07:55:13 pm »
hmm....now I really want a TI-Keyboard.

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4679
  • Rating: +718/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: BatLib officially released
« Reply #18 on: March 13, 2011, 07:55:56 pm »
Yeah, DJ :D Also, did you put the emulator at 25% when you did the second one? If not then those are some amazing reflexes :P

Offline Scipi

  • Omni Kitten Meow~ =^ω^=
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1547
  • Rating: +192/-3
  • Meow :3
    • View Profile
    • ScipiSoftware
Re: BatLib officially released
« Reply #19 on: March 13, 2011, 11:54:48 pm »
My reaction to this is like willrandship's avatar. :P

Would it be possible to create sprites larger than 8x8 or 16x16 in this. Or even full screen pics? Like a splash screen?

Imma Cat! =^_^= :3 (It's an emoticon now!)
Spoiler For Things I find interesting:
Spoiler For AI Programming:
Spoiler For Shameless advertising:

Spoiler For OldSig:





Spoiler For IMPORTANT NEWS!:
Late last night, Quebec was invaded by a group calling themselves, "Omnimaga". Not much is known about these mysterious people except that they all carried calculators of some kind and they all seemed to converge on one house in particular. Experts estimate that the combined power of their fabled calculators is greater than all the worlds super computers put together. The group seems to be holding out in the home of a certain DJ_O, who the Omnimagians claim to be their founder. Such power has put the world at a standstill with everyone waiting to see what the Omnimagians will do...

Wait... This just in, the Omnimagians have sent the UN a list of demands that must be met or else the world will be "submitted to the wrath of Netham45's Lobster Army". Such demands include >9001 crates of peanuts, sacrificial blue lobsters, and a wide assortment of cherry flavored items. With such computing power stored in the hands of such people, we can only hope these demands are met.

In the wake of these events, we can only ask, Why? Why do these people make these demands, what caused them to gather, and what are their future plans...

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4679
  • Rating: +718/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: BatLib officially released
« Reply #20 on: March 13, 2011, 11:58:44 pm »
Once I get sprites added, that is exactly what I plan. Since ReCode is part of BatLib and I already have the code for it, yes. Plus, I plan to add in RecallPic and StorePic commands (that can be used with any of the pictures 0~255). I plan to use Pt-On(, Pt-Off(, and Pt-Change( for sprite commands :D Pt-Change( will let you swap the sprite data with the sprite data on the screen, so doing it twice will result in no change. :D

Offline Scipi

  • Omni Kitten Meow~ =^ω^=
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1547
  • Rating: +192/-3
  • Meow :3
    • View Profile
    • ScipiSoftware
Re: BatLib officially released
« Reply #21 on: March 14, 2011, 12:04:04 am »
Also something that might be useful was if you had sprites plotted that wouldn't overwrite any sprites behind it. Say if you had a cursor in a tile based game, any sprites it goes over won't be overwritten by whitespace.

Imma Cat! =^_^= :3 (It's an emoticon now!)
Spoiler For Things I find interesting:
Spoiler For AI Programming:
Spoiler For Shameless advertising:

Spoiler For OldSig:





Spoiler For IMPORTANT NEWS!:
Late last night, Quebec was invaded by a group calling themselves, "Omnimaga". Not much is known about these mysterious people except that they all carried calculators of some kind and they all seemed to converge on one house in particular. Experts estimate that the combined power of their fabled calculators is greater than all the worlds super computers put together. The group seems to be holding out in the home of a certain DJ_O, who the Omnimagians claim to be their founder. Such power has put the world at a standstill with everyone waiting to see what the Omnimagians will do...

Wait... This just in, the Omnimagians have sent the UN a list of demands that must be met or else the world will be "submitted to the wrath of Netham45's Lobster Army". Such demands include >9001 crates of peanuts, sacrificial blue lobsters, and a wide assortment of cherry flavored items. With such computing power stored in the hands of such people, we can only hope these demands are met.

In the wake of these events, we can only ask, Why? Why do these people make these demands, what caused them to gather, and what are their future plans...

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4679
  • Rating: +718/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: BatLib officially released
« Reply #22 on: March 14, 2011, 12:07:10 am »
That is what Pt-Change( is going to be designed for :D
Also, there is a BatLib command that draws directly to the LCD, so updating the graph buffer will restore what was underneath. I could easily implement that code in ReCode.

Lemme make a quick example :D
EDIT: Okay, here is the example I made as well as the most recent version of BatLib... As a cool tip, if you replace the first two lines of ReCode in prgmMOUSE (which should be 3→D:3→E) with this:
Code: [Select]
!Ans→D→E
Then if you start the program with, say 9:prgmCURSOR you will be using a 9x9 cursor.

Offline DJ Omnimaga

  • Former TI programmer
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55896
  • Rating: +3152/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: BatLib officially released
« Reply #23 on: March 14, 2011, 03:27:21 am »
Darn this is so fast. O.O

And yes I used slow mode to make the screenshots, except at 1% speed rather than 25%. :P

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4679
  • Rating: +718/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: BatLib officially released
« Reply #24 on: March 14, 2011, 06:04:13 pm »
Well, guess what? if you think that is fast, well, let me put it this way: I can definitely answer this question:
If those screenshots are full speed on a Ti-83+ Normal, I can't believe my eyes

Well, I can't believe them anyways
The code is executed at 6mhz, so that is the speed on a normal TI-83+... So wanna see full speed on an 84+SE? Well, I'm just warning you, it might be difficult to see! The amazing thing is, on a real calculator, it moves so fast that most of my friends couldn't see it and they thought it was teleporting from corner to corner!

Offline program4

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 158
  • Rating: +15/-0
    • View Profile
Re: BatLib officially released
« Reply #25 on: March 14, 2011, 07:06:57 pm »
That's so amazing! It looks like ASM, except it's interpreted. I never knew how fast non-compiled programs could go! I really should start learning Recode now.  ;D

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: BatLib officially released
« Reply #26 on: March 14, 2011, 07:52:48 pm »
Wow, that's fast!  I really need to give this a try. :)

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: BatLib officially released
« Reply #27 on: March 14, 2011, 08:45:39 pm »
 O.O
It looks like it's even faster than Axe
Sig wipe!

Offline DJ Omnimaga

  • Former TI programmer
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55896
  • Rating: +3152/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: BatLib officially released
« Reply #28 on: March 14, 2011, 08:48:03 pm »
Those who wanted a new interpreted language but that still allowed TI-BASIC usage and the prgm editor will definitively love this. O.O

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4679
  • Rating: +718/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: BatLib officially released
« Reply #29 on: March 14, 2011, 08:53:45 pm »
Hehe, the fast mode might actually be faster on an actual calc :D At the moment, I added in the "Full" command to deal with fast mode. (I took the token idea from Axe, by the way) I am also working out a bug with the RecallPic function or at least I believe that is where the problem is. Anywho, the syntaxes are:
Code: [Select]
Full   -Sets mode to 15MHz (if able)
Full0  -Sets mode to 6MHz
Full1  -Sets mode to 15MHz
Any other number after Full besides 0 or 1 will toggle the mode

RecallPic xx Will draw the picture to the graph screen. xx is a number from 0 to 255
StorePic xx Will store the image on the LCD to the picture. The picture will include the last row of pixels, too.