http://calcg.org/newlogo2.png Not Logged in.
Login | Register

General Discussion Board \ Calculator Programming \ Trying to unarchive asm bins through basic...

Click here to log in (you must be logged in to post comments).

AuthorComment
saltmiser
Probe
Posted: 5 Sep 2007
18:55 GMT
Total Posts: 6
Hello all,

I just got my first TI-84SE last weekend, and they're pretty amazing so far. :)

I'm trying to write a basic program ("pi") designed to be ran from mirageos to load an asm program called zpi that won't show up in mirageos. I'm trying to get the basic program to do the archiving part for me. The problem is however whenever I run it it errors on the first line saying "ERR:INVALID".

PROGRAM:PI
::UnArchive prgmZPI
:Asm(prgmZPI
:Archive prgmZPI

When I run that from the home screen though, all three of those lines work without flaw, and I'm stumped as to why it's not working as a basic program. Anybody have any ideas? Thanks.
haveacalc
Guardian
avatar
Posted: 6 Sep 2007
05:10 GMT
Total Posts: 1111
You shouldn't be able to archive or unarchive programs in BASIC. Also, when run from MOS, it's still considered a TI-BASIC program.

---
-quoted directly from most movies that don't exist (and some that do).
threefingeredguy
Ghost
avatar
Posted: 6 Sep 2007
09:31 GMT
Total Posts: 1189
You can use xLIB, FlashGordon, or Celtic to manipulte programs in archive, including running or altering them. However, pure BASIC doesn't allow you to archive or unarchive programs.

---
Someone call for an exterminator?
haveacalc
Guardian
avatar
Posted: 6 Sep 2007
14:01 GMT
Total Posts: 1111
Grr... I hate hybrid BASIC.

---
-quoted directly from most movies that don't exist (and some that do).
Zachary940
Wraith
avatar
Posted: 6 Sep 2007
18:43 GMT
Total Posts: 714
But it's so much better then just BASIC.

---
It is much easier to suggest solutions when you know nothing about the problem.
saltmiser
Probe
Posted: 6 Sep 2007
19:07 GMT
Total Posts: 6
ahh thanks guys, I had a feeling I was missing something, it seemed too easy :P thanks again, this forum is great! :)
Super Speler
Dragoon
avatar
Posted: 6 Sep 2007
19:56 GMT
Total Posts: 50
haveacalc, there is absolutly no reason to hate hybrid basic that doesn't just knock basic in general.

Answer: It's only my own preference. I either code in pure BASIC or ASM, and anything in between seems pretty pointless.

---
"My doctor says that I have a malformed public-duty gland and a natural deficiency in moral fibre and that I am therefore excused from saving universes."
Zachary940
Wraith
avatar
Posted: 6 Sep 2007
20:06 GMT
Total Posts: 714
Well you got a point there.

---
It is much easier to suggest solutions when you know nothing about the problem.
tifreak8x
Administrator
avatar
Posted: 7 Sep 2007
08:27 GMT
Total Posts: 419
Resource is a pretty handy tool, to copy programs in ROM to RAM.

---
Bringing you Pokemon, for your calculator.





Portal | My Account | Register | Lost Password or Username | TOS | Disclaimer | Help | Site Search | File Archives Copyright © 2002-2019 CalcG.org