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
»
TI-BASIC
»
Manipulating Pictures
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Manipulating Pictures (Read 6622 times)
0 Members and 1 Guest are viewing this topic.
nitacku
LV6
Super Member (Next: 500)
Posts: 300
Rating: +30/-1
ni-ta-ku ^_^
Manipulating Pictures
«
on:
January 28, 2007, 11:51:00 am »
How do you extract pictures from an app created with BasicBuilder and Archive them into the calcs memory?
xLIB uses the pics that are stored in the calcs memory.
BasicBuilder creates an app with the pics compressed into the it.
It is quite a process to get the pics to the memory (a process I wish was far easier)
I have only come up with one way so far.
The method:
c1-->
CODE
ec1For(X,1,19
If X=1
Then
RecallPic A
real(9,1,200+X
real(9,0,200+X
Archive /whatever the name is/
End
If X=2
Then
etc...
End
c2
ec2
This code only gets run once when the user firsts starts the Bowling program.
If anyone can come up with a way easier than this (I'm sure there must be), I will hail them as the calc god.
Logged
Jon
LV5
Advanced (Next: 300)
Posts: 278
Rating: +0/-0
Manipulating Pictures
«
Reply #1 on:
January 28, 2007, 01:05:00 pm »
if it's accessing a basicbuilder app, then it would definitely need to be something in ASM where you have intimate control of the flash ROM. I dont know how the data structures of basicbuilder apps works, so you would have to talk to Martin Warmer about that. If you find that out, i could definitely write you a lib to retreive pics
Logged
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Manipulating Pictures
«
Reply #2 on:
January 28, 2007, 01:33:00 pm »
i dont think it is possible with BasicBuilder, but I thought there was an option allowing to have the pics separate from the BB app? If there is one, you will need to separate them from the app, else I dunno what could help besides what jon said
Logged
nitacku
LV6
Super Member (Next: 500)
Posts: 300
Rating: +30/-1
ni-ta-ku ^_^
Manipulating Pictures
«
Reply #3 on:
January 28, 2007, 01:43:00 pm »
Well it is not really accessing it directly from the app.
What happens first in the program is a RecallPic A-S. Then I use the xLIB storepic command real(9,0,201-218) to store each of the pics into the calcs memory.
After the pic is stored, I have to Archive it as well, otherwise I will run out of memory.
This is the process I am using on all 18 pictures.
It is slow and takes up way too much memory.
Does anyone know of a better way?
Logged
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Manipulating Pictures
«
Reply #4 on:
January 28, 2007, 01:48:00 pm »
yeah that can also trigger lot of garbage collect messages. I would replace all recallpic A-S commands with xlib recall pic command, and use the devpic program to make the pic 11 to 18 (hacked pics), so you can recall them fine. in BB if you use xlib you shouldn't be supposed to have to change the pic numbers to letters, like you have to do with recallpic. If you do so, then you can let all pics archived, and you run them directly from archive using xlib recallpic command
Logged
nitacku
LV6
Super Member (Next: 500)
Posts: 300
Rating: +30/-1
ni-ta-ku ^_^
Manipulating Pictures
«
Reply #5 on:
January 28, 2007, 04:33:00 pm »
You can't use the xLIB recallpic command unless the pics are in the calc's memory, not the app. Otherwise nothing will be displayed.
Logged
Jon
LV5
Advanced (Next: 300)
Posts: 278
Rating: +0/-0
Manipulating Pictures
«
Reply #6 on:
January 28, 2007, 05:16:00 pm »
All those are definitely options, however, the fastest way (not to bash basic or anything) would be to swap out each flash page, until you find the app, then retreive the picdata.
:psychedelic:
:psychedelic:
:psychedelic:
:psychedelic:
:psychedelic:
:psychedelic:
[WHOOOOOOO 50TH POST!!!!!!!!] :psychedelic:
:psychedelic:
:psychedelic:
:psychedelic:
:psychedelic:
:psychedelic:
:psychedelic:
:psychedelic:
Logged
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Manipulating Pictures
«
Reply #7 on:
January 29, 2007, 02:50:00 am »
QuoteBegin-nitacku+28 Jan, 2007, 22:33-->
QUOTE
(nitacku @ 28 Jan, 2007, 22:33)
You can't use the xLIB recallpic command unless the pics are in the calc's memory, not the app. Otherwise nothing will be displayed.
mhmm I didnt knew that, sry
@jon that would be a goood idea
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Omnimaga
»
Forum
»
Calculator Community
»
TI Calculators
»
TI-BASIC
»
Manipulating Pictures