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
) »
[Axe Parser] Bytes?
« previous
next »
Print
Pages:
1
[
2
]
3
4
Go Down
Author
Topic: [Axe Parser] Bytes? (Read 19951 times)
0 Members and 1 Guest are viewing this topic.
SirCmpwn
Guest
Re: [Axe Parser] Bytes?
«
Reply #15 on:
March 23, 2010, 02:29:33 pm »
...and lets you store your own, too!
You can store at compile time using hex. You can store/retrieve at execution time using decimal or hex.
Logged
Raylin
Godslayer
LV10
31337 u53r (Next: 2000)
Posts: 1392
Rating: +83/-25
I am a certifiable squirrel ninja.
Re: [Axe Parser] Bytes?
«
Reply #16 on:
March 23, 2010, 02:32:40 pm »
Explain that one a bit. o_o
Logged
Bug me about my book.
Sarah:
TI-83 Plus Silver Edition [OS 1.19]
Cassie:
TI-86 [OS 1.XX]
Elizabeth:
TI-81 [OS 1.XX]
Jehuty:
TI-83 Plus Silver Edition [OS 1.19]
Tesla:
CASIO Prizm
SirCmpwn
Guest
Re: [Axe Parser] Bytes?
«
Reply #17 on:
March 23, 2010, 02:35:24 pm »
So, in your source code, you can define data in terms of hex, like so:
[0102030A
This is taken at compile time and placed into the binary.
You can also specify in your source code:
E
0A to use a hex digit or group of hex digits. You could also specify:
17 to use a decimal digit or group of decimal digits.
Logged
Raylin
Godslayer
LV10
31337 u53r (Next: 2000)
Posts: 1392
Rating: +83/-25
I am a certifiable squirrel ninja.
Re: [Axe Parser] Bytes?
«
Reply #18 on:
March 23, 2010, 02:37:22 pm »
How would you retrieve that data?
A little more clarity is needed...
Logged
Bug me about my book.
Sarah:
TI-83 Plus Silver Edition [OS 1.19]
Cassie:
TI-86 [OS 1.XX]
Elizabeth:
TI-81 [OS 1.XX]
Jehuty:
TI-83 Plus Silver Edition [OS 1.19]
Tesla:
CASIO Prizm
SirCmpwn
Guest
Re: [Axe Parser] Bytes?
«
Reply #19 on:
March 23, 2010, 02:38:53 pm »
Hex:
E
0A->{GDB1}
{GDB1}->A ; A now equals ten
Decimal
10->{GDB1}
{GDB1}->A
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: [Axe Parser] Bytes?
«
Reply #20 on:
March 23, 2010, 03:07:49 pm »
You retrieve data by naming it. If you store 100 bytes of data to memory and name that location "Str1" then you can access the entire 100 bytes with {Str1} for the first byte, {1+Str1} for the second byte, {2+Str1} for the third byte, or even {N+Str1} for the N-1th byte. Same as how you would in BASIC do L1(N).
Logged
___Axe_Parser___
Today the calculator, tomorrow the world!
Raylin
Godslayer
LV10
31337 u53r (Next: 2000)
Posts: 1392
Rating: +83/-25
I am a certifiable squirrel ninja.
Re: [Axe Parser] Bytes?
«
Reply #21 on:
March 23, 2010, 03:51:18 pm »
Ahh.
Thank you so much.
Clarity is truly refreshing.
EDIT: OMG! Revelation!
*Prophet runs away to program
HINT: This has to do with ARMY.
Look below.
It is a project I had on hold...
Until now...
«
Last Edit: March 23, 2010, 04:31:35 pm by ProphetsDementia
»
Logged
Bug me about my book.
Sarah:
TI-83 Plus Silver Edition [OS 1.19]
Cassie:
TI-86 [OS 1.XX]
Elizabeth:
TI-81 [OS 1.XX]
Jehuty:
TI-83 Plus Silver Edition [OS 1.19]
Tesla:
CASIO Prizm
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Re: [Axe Parser] Bytes?
«
Reply #22 on:
March 23, 2010, 04:35:58 pm »
lol nice ^^
weren't you supposed to finish Lemonade Tycoon in 24 hours, though?
* DJ Omnimaga runs `-`
Logged
Raylin
Godslayer
LV10
31337 u53r (Next: 2000)
Posts: 1392
Rating: +83/-25
I am a certifiable squirrel ninja.
Re: [Axe Parser] Bytes?
«
Reply #23 on:
March 23, 2010, 04:38:47 pm »
*Prophet dive-tackles DJ
THE TRUTH MUST NOT BE KNOWN!
RAWR!
Yes, it was to be done in 48 HOURS.
But, a BSOD kicked my arse.
So... yeah...
LEMONADE TYCOON STILL WON GOLD!
Logged
Bug me about my book.
Sarah:
TI-83 Plus Silver Edition [OS 1.19]
Cassie:
TI-86 [OS 1.XX]
Elizabeth:
TI-81 [OS 1.XX]
Jehuty:
TI-83 Plus Silver Edition [OS 1.19]
Tesla:
CASIO Prizm
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Re: [Axe Parser] Bytes?
«
Reply #24 on:
March 23, 2010, 04:48:15 pm »
aw that sucks about the BSOD
Glad you won though
Logged
meishe91
Super Ninja
LV11
Super Veteran (Next: 3000)
Posts: 2946
Rating: +115/-11
Re: [Axe Parser] Bytes?
«
Reply #25 on:
March 23, 2010, 05:47:31 pm »
So I just read this whole thing, what exactly is meant by "using bytes" and such?
@Prophet
Congrats on the win, what is BSOD though?
Logged
Spoiler
For
Spoiler
:
For the 51
st
time, that is not my card! (Magic Joke)
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Re: [Axe Parser] Bytes?
«
Reply #26 on:
March 23, 2010, 05:49:41 pm »
blue screen of death
Logged
meishe91
Super Ninja
LV11
Super Veteran (Next: 3000)
Posts: 2946
Rating: +115/-11
Re: [Axe Parser] Bytes?
«
Reply #27 on:
March 23, 2010, 06:23:12 pm »
Ah, ya, that makes sense. That always sucks
Logged
Spoiler
For
Spoiler
:
For the 51
st
time, that is not my card! (Magic Joke)
Gale
LV4
Regular (Next: 200)
Posts: 115
Rating: +1/-0
Ti-84+ Silver Edition
Re: [Axe Parser] Bytes?
«
Reply #28 on:
March 23, 2010, 06:47:04 pm »
my dad was the one who taught me that term (BSOD).. xD
Logged
remember me as a time of day...
Builderboy
Physics Guru
CoT Emeritus
LV13
Extreme Addict (Next: 9001)
Posts: 5673
Rating: +613/-9
Would you kindly?
Re: [Axe Parser] Bytes?
«
Reply #29 on:
March 23, 2010, 06:58:26 pm »
Yeah there is often the misconception between bytes and numbers, and the thing is, Bytes are numbers!
In Axe there are two ways to represent a byte (number), in Hex or in Decimal. Hex is easy to store bytes in because it is closely related to binary, and yet Decimal is easy for programmers to write in because we live in base 10
Logged
Print
Pages:
1
[
2
]
3
4
Go Up
« previous
next »
Omnimaga
»
Forum
»
Calculator Community
»
TI Calculators
»
Axe
(Moderator:
Runer112
) »
[Axe Parser] Bytes?