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
»
Other Calculators
»
TIOS String Displaying - Tokens
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: TIOS String Displaying - Tokens (Read 2633 times)
0 Members and 1 Guest are viewing this topic.
Mighty Moose
LV4
Regular (Next: 200)
Posts: 141
Rating: +4/-0
TIOS String Displaying - Tokens
«
on:
October 06, 2010, 07:44:23 pm »
How does the TIOS know what tokens are correct to display in a string?
(ex.
Say I have the string in the memory:
Code:
[Select]
T >DMS H Pic1 E Abs( G A M E
How the does the TIOS correctly display the difference between 1- and 2-byte tokens?
Does it just put a 00 in the first byte or are there certain numbers? (I've been playing around with Calcsys).)
On a somewhat related note:
Why is calcsys displaying what is in the screenshot for the specified token?
Let me know if I need to clarify. Thx.
«
Last Edit: October 06, 2010, 07:48:43 pm by Mighty Moose
»
Logged
Cheers!
I beta test, so...yeah. PM me if you want me to test anything
.
Almost only counts in horseshoes and handgrenades.
Cogito ergo sum.
Calcs:
TI-84+, OS 2.43, Boot Code 1.02, 128k RAM
TI-84+SE VSC, OS 2.43, Boot Code 1.00, 128k RAM (I'm spoiled
)
TI-81, OS 1.6K
(only borrowed)
Casio fx-CG10 (Prizm), OS 01.04.0200
TI-Nspire Clickpad, OS 1.4
TI-Nspire Clickpad, OS 3.1.0.392
TI-Nspire CAS Clickpad,
OS 1.6.10110 (
!?
)
now OS 3.1.0.392
Builderboy
Physics Guru
CoT Emeritus
LV13
Extreme Addict (Next: 9001)
Posts: 5673
Rating: +613/-9
Would you kindly?
Re: TIOS String Displaying - Tokens
«
Reply #1 on:
October 06, 2010, 07:49:59 pm »
http://tibasicdev.wikidot.com/one-byte-tokens
This page should be of some help
The calc has certain numbers that mean "The Next Byte is Part of a 2 Byte Token K?". When it sees those numbers, it uses the next byte as the token. As for the screenshot, FC is not a valid starter for a 2 byte token, so it is likely looking in the wrong spot to find a token that doesnt exist
Logged
Mighty Moose
LV4
Regular (Next: 200)
Posts: 141
Rating: +4/-0
Re: TIOS String Displaying - Tokens
«
Reply #2 on:
October 06, 2010, 07:53:01 pm »
That make sense (I think). I was looking at some unlocked assembly programs in the program editor and in calcsys trying to figure out how it displayed the correct tokens. Thanks again
Logged
Cheers!
I beta test, so...yeah. PM me if you want me to test anything
.
Almost only counts in horseshoes and handgrenades.
Cogito ergo sum.
Calcs:
TI-84+, OS 2.43, Boot Code 1.02, 128k RAM
TI-84+SE VSC, OS 2.43, Boot Code 1.00, 128k RAM (I'm spoiled
)
TI-81, OS 1.6K
(only borrowed)
Casio fx-CG10 (Prizm), OS 01.04.0200
TI-Nspire Clickpad, OS 1.4
TI-Nspire Clickpad, OS 3.1.0.392
TI-Nspire CAS Clickpad,
OS 1.6.10110 (
!?
)
now OS 3.1.0.392
Deep Toaster
So much to do, so much time, so little motivation
Administrator
LV13
Extreme Addict (Next: 9001)
Posts: 8217
Rating: +758/-15
Re: TIOS String Displaying - Tokens
«
Reply #3 on:
October 06, 2010, 07:54:32 pm »
Yep, it assumes it's a one-byte token unless it's a byte that the TI-OS uses to designate the start of a 2-byte token. And nice job on that screenshot ... that's probably an area off the token table that you accessed, as Builderboy said, because you put in a weird combo.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Omnimaga
»
Forum
»
Calculator Community
»
Other Calculators
»
TIOS String Displaying - Tokens