Author Topic: What BASIC supplements/libraries are there?  (Read 4859 times)

0 Members and 1 Guest are viewing this topic.

Offline Radical Pi

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1143
  • Rating: +5/-2
    • View Profile
    • RealityRevolution
What BASIC supplements/libraries are there?
« on: March 10, 2010, 11:14:14 pm »
All I know of is xLib, but I'm sure there are others, so what are they and which ones are the best/most used/still frequently updated?
One of these days I'll get a sig I'm really proud of.

Offline {AP}

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 981
  • Rating: +74/-3
  • I am Webmaster!
    • View Profile
    • Removed From Game
Re: What BASIC supplements/libraries are there?
« Reply #1 on: March 10, 2010, 11:21:42 pm »
My absolute favorite is Celtic III and it's what I use for most of the coding I do these days. It has everything xLIB does and more. Most xLIB games work perfectly fine with Celtic III as well so it's a nice Lib to use. Not just that, but I heard xLIB is having issues on the new OS anyway.

Well, here's a link to the most up-to-date version of Celtic III and if you need any help with it, just ask me. The documentation should be enough, but if it's not just let me know.


As for any other Libs... I have no idea. I'll let someone else take that. =)

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: What BASIC supplements/libraries are there?
« Reply #2 on: March 10, 2010, 11:23:34 pm »
Well to list all of them would be a large task indeed, but there are only a few worth mentioning in my Opinion:

xLib APP: But you already knew this :P
XCOPY PROGRAM: Can copy archived programs to RAM and delete them.  Very very usefull and very very small
CelticII PROGRAM: Usefull for manipulating appvar/program data.  Can (un)archive both and access/write data.  ABout 2000 bytes if i remember correctly
Omnicalc APP: Has basic sprite routines, but differs mostly in its advanced linking routines.
CelticIII APP: Has all of xLib's features implemented the same way (with the same syntax) but not only is faster, but also has all the capabilities of CelticII and a lot more.  The elite of Basic Libs.

My personal favorites are CelticIII and XCOPY for Basic games.  CelticIII because it allows me to play xLib games as well (for which there are a surprising number O.O) and has a LOT more features!  XCOPY because it gives a lot more memory to BASIC games while being incredibly small itself.

EDIT: Ninja'd :P

Offline {AP}

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 981
  • Rating: +74/-3
  • I am Webmaster!
    • View Profile
    • Removed From Game
Re: What BASIC supplements/libraries are there?
« Reply #3 on: March 10, 2010, 11:24:38 pm »
That was hardly a ninja. You got way more than I bothered to remember. xP

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: What BASIC supplements/libraries are there?
« Reply #4 on: March 10, 2010, 11:29:45 pm »
There is also Omnicalc, which is more limited in game commands, but has sound commands and inline assembly support (like Axe). Unlike Asm( command, inline asm is much faster. Omnicalc has some issues on the new OS, though.

Finally, for those who prefer smaller libs, even if it means it will waste several bytes of RAM, there is a program version of Celtic called Celtic II, there is CODEX, which does a lot of stuff xLIB does, but much slower (see ROL3 for an example of how slow), Xcopy, which does the same thing as real(10 in xLIB, Resource, a more complex but larger version of Xcopy, Zcopy, another one, slightly smaller, but it only runs on OS 1.12 through 1.14, Flash Gordon, which is similar, but works a bit differently and was pretty much obsoleted by Xcopy, Zapi, which does some funky stuff such as scrolling parts of the screen and some CODEX stuff and finally BASIC Tools, which does some of the CODEX stuff plus more, but each programs are separate so it can save memory if you don't need all small routines. Another nice lib is Zpic, which allows you to recall pics from archive including the hacked pics that can be created with ZSTO or Devpic8x, and I heard of Xtravar, which apparently grants access to all normally innaccessible but possible pic, string and other variables.

There is also two program versions of xLIB. Both has tilemaps and sprite supports but are much more limited and slower. I keep them in case people might not want to have a massive 16 KB APP

Btw, it is possible to have grayscale like in Pyoro using xLIB, Celtic III or Omnicalc (the later being slower, though, as seen in Reuben Quest series). There are a bunch of tutorials avaliable for this in the downloads section as well as a tool by Nitacku. I don't recommend grayscale unless you are pretty good at BASIC and alerady made large games before, though.
« Last Edit: March 10, 2010, 11:32:06 pm by DJ Omnimaga »

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: What BASIC supplements/libraries are there?
« Reply #5 on: March 11, 2010, 05:54:41 pm »
Seeing how all the libs I've used have been mentioned (XCOPY and Celtic III are my favorites), I'll talk on XTRAVAR.

http://www.ticalc.org/archives/files/fileinfo/391/39138.html
XTRAVAR allows you to write basic programs using the extra "hacked" pic, matrix, string, GDB, lists (do you need more lists?), etc.  It's really nice.  I'd highly recommend it.  Also, it's not really a lib, because once you've put these tokens in a basic program you never need XTRAVAR again.  You can then have a pure basic program, though Asm was needed to get there. :)
I still count it as pure basic though, because you don't ever run a Asm program, one is just used for editing the program. ;D

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: What BASIC supplements/libraries are there?
« Reply #6 on: March 11, 2010, 10:57:07 pm »
Yeah true, it's like enabling the Français or Español application, giving access to special characters in the CATALOG. You use ASM to access these chars but your game still remains pure BASIC, as it can still run without any pure ASM program

Offline cooliojazz

  • Support Staff
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 619
  • Rating: +66/-9
  • I omnoms on your soul
    • View Profile
    • Unreal Phantasies
Re: What BASIC supplements/libraries are there?
« Reply #7 on: March 12, 2010, 12:04:18 am »
ZTrumpet, I think the extra lists are useful, because they're only 2 bytes, where as any list you make is at least two bytes. :P  BTW, how would you use those hacked Pics and GDB, since the basic commands use numbers?
Spoiler For Random signess:
You can not beat my skills.
Trust me.
So don't even try.
And remember never to trust someone who says, "Trust me."

TI File Editor Progress: Remade in java like a boss. 50% we'll call it? IDK =P
Java Libraries: JIRC - 90% JTIF - 5%
TI Projects: Unreal Notator - -5000%
Nomcraft, a Bukkit mod
Some of the music I write can be found here | The Rest Should Be Here (Bandcamp)

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: What BASIC supplements/libraries are there?
« Reply #8 on: March 12, 2010, 12:05:46 am »
ZTrumpet, I think the extra lists are useful, because they're only 2 bytes, where as any list you make is at least two bytes. :P  BTW, how would you use those hacked Pics and GDB, since the basic commands use numbers?
You can use tokens as arguments to the Store and Recall commands. Try it with Pic1 :)
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline cooliojazz

  • Support Staff
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 619
  • Rating: +66/-9
  • I omnoms on your soul
    • View Profile
    • Unreal Phantasies
Re: What BASIC supplements/libraries are there?
« Reply #9 on: March 12, 2010, 12:26:53 am »
Really?  That's awesome!  I never knew that! CoolioJazz goes off to try it :)
« Last Edit: March 12, 2010, 12:27:15 am by cooliojazz »
Spoiler For Random signess:
You can not beat my skills.
Trust me.
So don't even try.
And remember never to trust someone who says, "Trust me."

TI File Editor Progress: Remade in java like a boss. 50% we'll call it? IDK =P
Java Libraries: JIRC - 90% JTIF - 5%
TI Projects: Unreal Notator - -5000%
Nomcraft, a Bukkit mod
Some of the music I write can be found here | The Rest Should Be Here (Bandcamp)

Offline rthprog

  • LV2 Member (Next: 40)
  • **
  • Posts: 29
  • Rating: +5/-0
    • View Profile
Re: What BASIC supplements/libraries are there?
« Reply #10 on: March 12, 2010, 12:15:42 pm »
I've always wondered if there is overlap between xLib's extra PICS and XTRAVAR's Pics... I'm guessing that they do.

Some others:
FlashGordon, though it sounds remarkably similar to XCOPY
VARASM, which checks if a variable exists/archived
GBA, for platform games, but it's in French
TLib, random things that you really ought to use CODEX for, and it's in Spanish

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: What BASIC supplements/libraries are there?
« Reply #11 on: March 12, 2010, 05:44:10 pm »
I think Xtravar pics can be used with xLIB/Celtic. They are the same token in the memory menu. Also, with xLIB I believe you can do a bit like with Axe Parser: when using sprites, if a sprite ID is high enough to be beyond a pic limit, it will start displaying sprites from the next pic, then the next one, up to ID 256 (or was it 65536?)

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: What BASIC supplements/libraries are there?
« Reply #12 on: March 12, 2010, 06:16:57 pm »
XTRAVAR, xLib, and Celtic III all give you access to all of the 256 Pic vars, and they are the same.  So yes, xLib pics are the same as XTRAVAR if you have the same Pic number. :)
(It's worth noting that xLib and Celtic II are required when the program is run, but XTRAVAR is not.  This is why XTRAVAR is "pure" basic. :) )

Offline Iambian

  • Coder Of Tomorrow
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 739
  • Rating: +216/-3
  • Cherry Flavoured Nommer of Fishies
    • View Profile
Re: What BASIC supplements/libraries are there?
« Reply #13 on: March 12, 2010, 09:52:09 pm »
Celtic III is a great FlashAPP but it doesn't fully replace xLIB due to various display bugs. Most games written for xLIB will work fine under Celtic III but you need to be warned that the compatibility isn't perfect. You can go to UnitedTI to read up on some of its compatibility problems. The FlashAPP has its own subforum here: http://www.unitedti.org/forum/index.php?s=4ff01c228c1faee28bd9026b500a76ea&showforum=62

I've also written Xcopy, which many before me has posted about. It was designed to be as minimalistic as possible while still providing a great function. A copy of it can be found here: http://ourl.ca/4025/74169

EDIT: IIRC, Celtic II weighed in at a little under 1000 bytes. It was the Celtic III program version that got a bit heavier.
« Last Edit: March 12, 2010, 09:54:10 pm by Iambian »
A Cherry-Flavored Iambian draws near... what do you do? ...

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: What BASIC supplements/libraries are there?
« Reply #14 on: March 12, 2010, 10:18:00 pm »
I think I'll add this to download section soon, it migth be easier to find in the future.
« Last Edit: March 12, 2010, 10:18:09 pm by DJ Omnimaga »