Author Topic: BatLib  (Read 146770 times)

0 Members and 1 Guest are viewing this topic.

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: BatLib
« Reply #330 on: April 15, 2011, 08:58:15 am »
Hmm, I could add in a new command just to return the number, yes. I actually have it set up to do that nicely... So for v4.00.95.51, it would display 95.51 in Ans. Does that sound good?

It's great! However, what if you go past version 4? or 4.00?

Offline Xeda112358

  • they/them
  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: BatLib
« Reply #331 on: April 15, 2011, 09:00:05 am »
Oh, v4.00 just says it is an App. Originally it was a BASIC program using Celtic 3 and Omnicalc, then It was an an assembly program using Omnicalc, then a standalone assembly program, then it became BatLib, the App :)


v5.00 will be an OS :D (j/k?)

Offline mrmprog

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 559
  • Rating: +35/-1
    • View Profile
Re: BatLib
« Reply #332 on: April 15, 2011, 07:03:23 pm »
At first I got excited, then I saw the "(j/k?)"  :'(

Offline Xeda112358

  • they/them
  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: BatLib
« Reply #333 on: April 15, 2011, 07:57:38 pm »
Well, I put the question mark there... I might work on something akin to an OS sometime...

Offline mrmprog

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 559
  • Rating: +35/-1
    • View Profile
Re: BatLib
« Reply #334 on: April 16, 2011, 08:41:37 pm »
I just downloaded Batlib, and I am trying to enable the font hook but nothing is happening.

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: BatLib
« Reply #335 on: April 16, 2011, 08:43:09 pm »
I just downloaded Batlib, and I am trying to enable the font hook but nothing is happening.


The Application functions are not working yet. Also, Zeda is about to upload a new BatLib version.

Offline Xeda112358

  • they/them
  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: BatLib
« Reply #336 on: April 16, 2011, 08:43:35 pm »
I haven't made any new screenshots and I haven't added anything to ReCode, but this is a monumental update. Today BatLib has over 100 commands along with a programming language that has over 50 commands. BatLib still is using less than 3/4 of an app page (1 app page is the smallest size an app can be). In this official update, along with the all the updates from the previous unofficial update, these changes and additions were made:

dim(12 and dim(14 now return ".ARCH" if the variable is archived
dim(15 is fixed to read archived bytes
dim(16 is now a tilemap command that can use pictures for sprites data :)

95-SplitUpNibbles-Used to Decompress nibble data to bytes
96-NibbleComp-Compresses LSNs of data
97-GetNibble
98-WriteNibble
100-BatLibRAM
101-Sub2DData

Since I promised that if BatLib ever reached command 99 that I would make sure command 99 displayed the graph screen (for compatibility), that is the case in this update.


In the list of ideas that I didn't add today (but will hopefully get added) are:
102-AsmComp
103-SearchStr
104-ReplaceStr
105-PopUp

And for ReCode:
Input -to get user inputs
Asm( -for multi-line, commented opcodes and possibly with label support.

And just some general coding that needs to get done:
Optimize command table for more speed (will cost a few bytes, but probably worth it)
Hook chaining

So enjoy while I try to whip up an example of a scrolling tilemap :)

EDIT: mrmprog: you need to use the commands to install a font hook. THe actual menu only shows if hooks are installed :) Gimme a second and I will upload a fontset as well as an example for how to install it

EDIT2: Here is a link to the bug fix for RecallPic: http://ourl.ca/8958/203936

Offline mrmprog

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 559
  • Rating: +35/-1
    • View Profile
Re: BatLib
« Reply #337 on: April 16, 2011, 08:51:44 pm »
Ok, I used dim(2 and it worked

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: BatLib
« Reply #338 on: April 16, 2011, 08:51:44 pm »
I just downloaded it and am installing it on my calculator right now, I'll report stuff soon.

Offline mrmprog

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 559
  • Rating: +35/-1
    • View Profile
Re: BatLib
« Reply #339 on: April 16, 2011, 08:53:01 pm »
I will re-download it. I just installed it for the first time, and an update came out!
« Last Edit: April 16, 2011, 08:54:56 pm by mrmprog »

Offline Xeda112358

  • they/them
  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: BatLib
« Reply #340 on: April 16, 2011, 08:53:14 pm »
Hehe, thanks :) And that saves me from editing...

mrmprog:
Actually, there is a fontset as well as a font editor included in this version, so you can play with that :) Send Str9 to your calc and then do dim(55,5,".Str9 on the homescreen. That will install the experimental 8x8 font, but you can use the font editor to change it to 6x8 or something. Also, you can download Omnicalc fonts and use dim(55 for that :)

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: BatLib
« Reply #341 on: April 17, 2011, 12:24:49 am »
A bug?

Code: [Select]
dim(57
4.00.95.51

Isn't it supposed to be 4.00.102.51?

Offline Xeda112358

  • they/them
  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: BatLib
« Reply #342 on: April 17, 2011, 02:41:31 am »
Oh jeez, I am way too tired to make updates I guess x.x I managed to upload everything except the correct app, sorry. I modified my post to have the correct download : http://www.omnimaga.org/index.php?action=dlattach;topic=5383.0;attach=7381

Also, for those that already downloaded everything else, here is just the app.

Sorry about that :/

EDIT: Also, this version number is in hex, so it should be 4.00.66.33 when you use dim(57
Thanks, Scout :)

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: BatLib
« Reply #343 on: April 17, 2011, 05:31:56 am »
Oh jeez, I am way too tired to make updates I guess x.x I managed to upload everything except the correct app, sorry. I modified my post to have the correct download : http://www.omnimaga.org/index.php?action=dlattach;topic=5383.0;attach=7381

Also, for those that already downloaded everything else, here is just the app.

Sorry about that :/

EDIT: Also, this version number is in hex, so it should be 4.00.66.33 when you use dim(57
Thanks, Scout :)

What is this .8xk though? I don't get it.

I get the hex thing now :D However, I'd prefer it in decimal.
« Last Edit: April 17, 2011, 05:32:09 am by Scout »

Offline Xeda112358

  • they/them
  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: BatLib
« Reply #344 on: April 17, 2011, 10:48:31 am »
This .8xk is the actual app. I accidentally uploaded the wrong app with all the correct documentation the first time :/