Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
About
Team
Rules
Stats
Status
Sitemap
Chat
Downloads
Forum
News
Our Projects
Major Community Projects
Recent Posts
Unread Posts
Replies
Tools
SourceCoder3
Other Things...
Omnimaga Radio
TI-83 Plus ASM File Unsquisher
Z80 Conversion Tools
IES TI File Editor
Free RAM areas
Comprehensive Getkeyr table
URL Shortener
Online Axe Tilemap Editor
Help
Contact Us
Change Request
Report Issue/Bug
Team
Articles
Members
View the memberlist
Search For Members
Buddies
Login
Register
Omnimaga
»
Forum
»
Calculator Community
»
TI Calculators
»
Axe
(Moderator:
Runer112
) »
All Vars that Meet Criteria
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: All Vars that Meet Criteria (Read 3614 times)
0 Members and 1 Guest are viewing this topic.
ACagliano
LV8
Addict (Next: 1000)
Posts: 919
Rating: +32/-2
All Vars that Meet Criteria
«
on:
August 31, 2010, 11:19:22 am »
Is there a way in Axe to somehow return a pointer to a variable, not based on a search by name, but instead by a search by certain criteria, like part of a name, or bytes within a file? If not, could we think about including that?
Logged
Quigibo
The Executioner
CoT Emeritus
LV11
Super Veteran (Next: 3000)
Posts: 2031
Rating: +1075/-24
I wish real life had a "Save" and "Load" button...
Re: All Vars that Meet Criteria
«
Reply #1 on:
August 31, 2010, 05:39:40 pm »
It's possible, but you have to know how to transverse the symbol table which is a very low level thing to do. It can be done in pure Axe yes, but it requires a lot of knowledge of how TI organizes the file system. You'll have to look at the Developer's SDK (download from TI's website) to learn more about it but be warned that that guide is written for assembly programmers and what you're trying to do is a little tricky.
Logged
___Axe_Parser___
Today the calculator, tomorrow the world!
ACagliano
LV8
Addict (Next: 1000)
Posts: 919
Rating: +32/-2
Re: All Vars that Meet Criteria
«
Reply #2 on:
September 01, 2010, 10:26:47 am »
Is there a way, not immediately, but in the future, for you to include a command that does that?
Logged
Runer112
Project Author
LV11
Super Veteran (Next: 3000)
Posts: 2289
Rating: +639/-31
Re: All Vars that Meet Criteria
«
Reply #3 on:
September 01, 2010, 04:41:57 pm »
It would be very difficult to make a routine that can search based on many different possible distinctions. Although still not too easy, it would be a good amount less difficult to make a routine to search for a specific distinction, such as searching for appvars with a certain value as the first two bytes of data to designate it as a level for a certain game. Did you have a specific distinction in mind?
«
Last Edit: September 01, 2010, 04:43:00 pm by Runer112
»
Logged
ACagliano
LV8
Addict (Next: 1000)
Posts: 919
Rating: +32/-2
Re: All Vars that Meet Criteria
«
Reply #4 on:
September 01, 2010, 04:44:36 pm »
Well, there are two.
1. Based on first 2 bytes is good.
2. Simply returns pointers to all PROGRAM files on the calc.
**Actually, a routine that simply returns a STRING from #2 would be fine, not separate pointers.
«
Last Edit: September 02, 2010, 12:25:18 pm by ACagliano
»
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Omnimaga
»
Forum
»
Calculator Community
»
TI Calculators
»
Axe
(Moderator:
Runer112
) »
All Vars that Meet Criteria