Author Topic: [TI-89 BASIC] Runing archived programs in BASIC  (Read 6724 times)

0 Members and 1 Guest are viewing this topic.

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
[TI-89 BASIC] Runing archived programs in BASIC
« on: June 01, 2005, 12:20:00 pm »
QuoteBegin-arti+May 31, 2005, 21:19-->
QUOTE (arti @ May 31, 2005, 21:19)
Yea, the 89 is pretty forgiving about large programs. There is a limit of approximately 64KB per individual var I think. :Dbiggrin.gif

One thing I am wondering about the 89 is if its possible to run archived program without any ASM libraries? Because I saw many old BASIC games running from archive memory (slower of course). %)rolleyes2.gif On the 83 I know it requires ASM libraries like Flash Gordon and Codex

Offline mdjenkins86

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 235
  • Rating: +0/-0
    • View Profile
[TI-89 BASIC] Runing archived programs in BASIC
« Reply #1 on: June 01, 2005, 12:28:00 pm »
The answer is yes.

CDI

  • Guest
[TI-89 BASIC] Runing archived programs in BASIC
« Reply #2 on: June 02, 2005, 02:36:00 am »
well... yes and no, If you don't have enough RAM then no, but if you do then yes. See the 68k calcs make a "copy" of the program (much like FG) and run that then delete it.

Offline mdjenkins86

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 235
  • Rating: +0/-0
    • View Profile
[TI-89 BASIC] Runing archived programs in BASIC
« Reply #3 on: June 02, 2005, 04:01:00 am »
yeah CDI is right.  Thats why I said you need 100000 ram and 100000 archive to run TSOD. So that the programs have enough space to load into ram.  If it didn't need ram to run...it would be a flash app.

arti

  • Guest
[TI-89 BASIC] Runing archived programs in BASIC
« Reply #4 on: June 12, 2005, 04:01:00 am »
Is it just me, or are Flash APPS for the z80 a bit different than Flash Apps for the 68k? I saw lots of Flash Games for the 83+, but the 68k apps are all static and such.

I'm not informed at all on the Apps subject, anyone care to enlighten me?  :)smile.gif

Offline mdjenkins86

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 235
  • Rating: +0/-0
    • View Profile
[TI-89 BASIC] Runing archived programs in BASIC
« Reply #5 on: June 12, 2005, 05:22:00 am »
One of the reasons why you don't see many 68k App games is because the Flash App made with TI SDK are very unflexable.  They are confined to menus and such.   Of course, it would be possible to create a graphical RPG in FLASH 89, but it might very well kill you.  That is for super advanced developers from a time hereforth unknown to man.  The code is very close to 68K which is very difficult and not very well known.  C is the highest that many are willing to go.

arti

  • Guest
[TI-89 BASIC] Runing archived programs in BASIC
« Reply #6 on: June 12, 2005, 05:45:00 am »
I see now... Still, there are some very useful 68k Apps out there.

And yeah, I can't imagine anyone these days going for 68k ASM when C is available...

Offline mdjenkins86

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 235
  • Rating: +0/-0
    • View Profile
[TI-89 BASIC] Runing archived programs in BASIC
« Reply #7 on: June 12, 2005, 06:28:00 am »
C is king...68K or ASM is faster than C, but much harder to do.  68K is uber low level.

arti

  • Guest
[TI-89 BASIC] Runing archived programs in BASIC
« Reply #8 on: June 12, 2005, 06:43:00 am »
I also heard that Assembly 68k is faster than C - it makes sense that it is, but as long as you don't need to program games with crazy raycasters, C will do just fine :laugh:evillaugh.gif

C programming was the main reason why I bought my 89T. However, for the first 8 months or so I was completely under the spell of BASIC89, so I started C only a couple of weeks ago. :(sad.gif

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
[TI-89 BASIC] Runing archived programs in BASIC
« Reply #9 on: June 12, 2005, 08:18:00 am »
Well assembly is faster because its the native machine language of the motorolla 68000 processor. C is a complied language translated to asm but its not 100% optimised. It's nice that C is avaliable for 68k calcs, I wish we had it on z80 calcs.

about flash apps I dont think its necessary on the 68ks because it has lot of RAM alerady and it can run archived programs

Offline Spellshaper

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1690
  • Rating: +0/-0
  • This is me. Or maybe not.
    • View Profile
[TI-89 BASIC] Runing archived programs in BASIC
« Reply #10 on: September 25, 2005, 05:39:00 am »
is there some kind of TI83BASIC-toTI83ASMconverter?
or something similar?

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
[TI-89 BASIC] Runing archived programs in BASIC
« Reply #11 on: September 25, 2005, 05:46:00 am »
yeah there is but its too much unreliable. Most of the time it ends up making non working programs or slower programs that take more space. There is a compiler called squirrelbox that allow to make some kind of java programs for calcs on the computer but I heard it doesnt always work liek how we want :(sad.gif The best solution for now is to stick with TI-BASIC, use ASM lib in BASIC prgms or do ASM

CDI

  • Guest
[TI-89 BASIC] Runing archived programs in BASIC
« Reply #12 on: September 25, 2005, 06:22:00 am »
Acually, if someone found out how to hack the OS and figure out wich ASM (I thought it was ASM, maybe it was hex... hrm...) commands go with wich BASIC Tags then make a converter... mmm...

Offline Spellshaper

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1690
  • Rating: +0/-0
  • This is me. Or maybe not.
    • View Profile
[TI-89 BASIC] Runing archived programs in BASIC
« Reply #13 on: September 27, 2005, 04:58:00 am »
cool! got more informaton about it?

CDI

  • Guest
[TI-89 BASIC] Runing archived programs in BASIC
« Reply #14 on: September 27, 2005, 11:44:00 am »
well... let's say the the TI-OS interprets BASIC into ASM code then runs it

then that means that If has a bit of code, Then has code, getKey has code and such...

so you make a program (on comp) that will look at BASIC code and output the ASM version of that :Dbiggrin.gif