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
) »
Save screen on a variable pic calculator
« previous
next »
Print
Pages: [
1
]
2
3
Go Down
Author
Topic: Save screen on a variable pic calculator (Read 14126 times)
0 Members and 1 Guest are viewing this topic.
kindermoumoute
LV8
Addict (Next: 1000)
Posts: 836
Rating: +54/-3
Save screen on a variable pic calculator
«
on:
September 12, 2010, 04:49:56 am »
Here I ask the right and left and nobody seems to know if possible, i want :
Copy the screen (StoreGDB) and then save it to a variable Pic1-Pic9 reusable in TI-Basic.
no idea?
Logged
Projects
:
Worms armageddon z80
:
- smoothscrolling Pixelmapping : 100%
- Map editor : 80%
- Game System : 0%
Tutoriel français sur l'Axe Parser
- 1ère partie : en ligne.
- 2ème partie : en ligne.
- 3ème partie : en ligne.
- 4ème partie : 10%
- Annexe : 100%
kindermoumoute
LV8
Addict (Next: 1000)
Posts: 836
Rating: +54/-3
Re: Save screen on a variable pic calculator
«
Reply #1 on:
September 12, 2010, 05:03:02 am »
Sry i found. My post is useless.
Logged
Projects
:
Worms armageddon z80
:
- smoothscrolling Pixelmapping : 100%
- Map editor : 80%
- Game System : 0%
Tutoriel français sur l'Axe Parser
- 1ère partie : en ligne.
- 2ème partie : en ligne.
- 3ème partie : en ligne.
- 4ème partie : 10%
- Annexe : 100%
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Re: Save screen on a variable pic calculator
«
Reply #2 on:
September 12, 2010, 05:04:59 am »
What solution did you find to the problem? Could you post the source code?
Logged
meishe91
Super Ninja
LV11
Super Veteran (Next: 3000)
Posts: 2946
Rating: +115/-11
Re: Save screen on a variable pic calculator
«
Reply #3 on:
September 12, 2010, 05:10:01 am »
I think it has to do with like taking the the buffer and using
GetCalc(
to store it to Pic#. I don't remember though, someone else asked not to long ago though I think.
Logged
Spoiler
For
Spoiler
:
For the 51
st
time, that is not my card! (Magic Joke)
kindermoumoute
LV8
Addict (Next: 1000)
Posts: 836
Rating: +54/-3
Re: Save screen on a variable pic calculator
«
Reply #4 on:
September 12, 2010, 05:36:39 am »
that's same function than other Variable, just need "Pic1"=>Str1 and next u manipulate. it's just i write Pic1 in TI-Editor and calc understand P-i-c-1
Logged
Projects
:
Worms armageddon z80
:
- smoothscrolling Pixelmapping : 100%
- Map editor : 80%
- Game System : 0%
Tutoriel français sur l'Axe Parser
- 1ère partie : en ligne.
- 2ème partie : en ligne.
- 3ème partie : en ligne.
- 4ème partie : 10%
- Annexe : 100%
kindermoumoute
LV8
Addict (Next: 1000)
Posts: 836
Rating: +54/-3
Re: Save screen on a variable pic calculator
«
Reply #5 on:
September 12, 2010, 06:09:27 am »
As i open this topic for help, i ask a new stuff :
when i do
"Pic1"=>Str1
"Pic2Pic3Pic4"
for use Pic2 or Pic3..etc i do Str1+4 and fail, next i do Pic1+1 and crash.. no idea? =)
Logged
Projects
:
Worms armageddon z80
:
- smoothscrolling Pixelmapping : 100%
- Map editor : 80%
- Game System : 0%
Tutoriel français sur l'Axe Parser
- 1ère partie : en ligne.
- 2ème partie : en ligne.
- 3ème partie : en ligne.
- 4ème partie : 10%
- Annexe : 100%
Deep Toaster
So much to do, so much time, so little motivation
Administrator
LV13
Extreme Addict (Next: 9001)
Posts: 8217
Rating: +758/-15
Re: Save screen on a variable pic calculator
«
Reply #6 on:
September 12, 2010, 10:05:52 am »
Oh, it's because when you "store" to a string, it actually adds a zero byte to the end of it, so
"Pic1"→Str1
would actually become
"Pic1"
[00]
because in assembly, strings need to end in a zero. So to make your code work, try
"Pic1"→Str1
"Pic2"
[00]
"Pic3"
[00]
"Pic4"
[00]
then access it with
Str1
.
«
Last Edit: September 12, 2010, 10:06:29 am by Deep Thought
»
Logged
kindermoumoute
LV8
Addict (Next: 1000)
Posts: 836
Rating: +54/-3
Re: Save screen on a variable pic calculator
«
Reply #7 on:
September 12, 2010, 10:45:34 am »
Ok, then i type Str1+1 or Str1+4?
Logged
Projects
:
Worms armageddon z80
:
- smoothscrolling Pixelmapping : 100%
- Map editor : 80%
- Game System : 0%
Tutoriel français sur l'Axe Parser
- 1ère partie : en ligne.
- 2ème partie : en ligne.
- 3ème partie : en ligne.
- 4ème partie : 10%
- Annexe : 100%
Deep Toaster
So much to do, so much time, so little motivation
Administrator
LV13
Extreme Addict (Next: 9001)
Posts: 8217
Rating: +758/-15
Re: Save screen on a variable pic calculator
«
Reply #8 on:
September 12, 2010, 10:46:42 am »
Yeah, for
GetCalc(
.
Actually, you might want to check first with everything archived. I haven't tried it yet.
Logged
calcdude84se
Needs Motivation
LV11
Super Veteran (Next: 3000)
Posts: 2272
Rating: +78/-13
Wondering where their free time went...
Re: Save screen on a variable pic calculator
«
Reply #9 on:
September 12, 2010, 10:48:10 am »
You use Str1, Str1+2, Str1+4, and Str1+6, because each [00] is also a byte.
Logged
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler
For
"PartesOS links"
:
I'll put it online when it does something.
Deep Toaster
So much to do, so much time, so little motivation
Administrator
LV13
Extreme Addict (Next: 9001)
Posts: 8217
Rating: +758/-15
Re: Save screen on a variable pic calculator
«
Reply #10 on:
September 12, 2010, 10:51:45 am »
Ahh, whoops, forgot about that
Good thing you got here, calcdude. Yeah, count in 2s instead.
Logged
calcdude84se
Needs Motivation
LV11
Super Veteran (Next: 3000)
Posts: 2272
Rating: +78/-13
Wondering where their free time went...
Re: Save screen on a variable pic calculator
«
Reply #11 on:
September 12, 2010, 10:57:26 am »
Actually, wait. I think it actually goes up 3 at a time...
Str1, Pic1, etc. are actually two bytes...
Edit:
Actually, don't pad with [00]'s at all. Use "Pic1Pic2Pic3Pic4"->Str1 and increment two at a time.
«
Last Edit: September 12, 2010, 10:58:39 am by calcdude84se
»
Logged
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler
For
"PartesOS links"
:
I'll put it online when it does something.
Deep Toaster
So much to do, so much time, so little motivation
Administrator
LV13
Extreme Addict (Next: 9001)
Posts: 8217
Rating: +758/-15
Re: Save screen on a variable pic calculator
«
Reply #12 on:
September 12, 2010, 10:58:36 am »
What? Oh crap. Right, three bytes.
As I said, I never checked
«
Last Edit: September 12, 2010, 11:01:09 am by Deep Thought
»
Logged
calcdude84se
Needs Motivation
LV11
Super Veteran (Next: 3000)
Posts: 2272
Rating: +78/-13
Wondering where their free time went...
Re: Save screen on a variable pic calculator
«
Reply #13 on:
September 12, 2010, 10:59:35 am »
^ And my above note. The padding should be unnecessary.
I might still be wrong though...
* calcdude checks to make sure
«
Last Edit: October 09, 2010, 05:35:14 pm by calcdude84se
»
Logged
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler
For
"PartesOS links"
:
I'll put it online when it does something.
Deep Toaster
So much to do, so much time, so little motivation
Administrator
LV13
Extreme Addict (Next: 9001)
Posts: 8217
Rating: +758/-15
Re: Save screen on a variable pic calculator
«
Reply #14 on:
September 12, 2010, 11:01:16 am »
Actually, for calcdude's edit, that still doesn't work. There's that extra [00], remember?
Try
[]→Str1
"Pic1Pic2Pic3Pic4"
EDIT:
Oh, wait, never mind. That works.
EDIT2:
NO! Wait! I think you do need padding:
http://future_history.freehostia.com/Files/Resources/ASM/ASMin28Days/lesson/day19.html
(go down to Matrices, Pictures, Strings).
«
Last Edit: September 12, 2010, 11:05:30 am by Deep Thought
»
Logged
Print
Pages: [
1
]
2
3
Go Up
« previous
next »
Omnimaga
»
Forum
»
Calculator Community
»
TI Calculators
»
Axe
(Moderator:
Runer112
) »
Save screen on a variable pic calculator