Greyscale Testing Program

A General Discussion forum for TI calculators

Moderator: MaxCoderz Staff

User avatar
thegamefreak0134
Extreme Poster
Posts: 455
Joined: Mon 23 Jan, 2006 10:09 pm
Location: In front of a Computer, coding
Contact:

Post by thegamefreak0134 »

Well, this will surely help me a lot. Thanks again. My problem will be determining the ammount of data to copy, as I don't know how big the routines are. Of course, I suppose I could always stick a label at the end of what I need to copy and set the difference between that and the beginning of the routines to bc, and it would be fool proof, yes? no? Im crazy? :roll:

-gamefreak
I'm not mad, just a little crazy.

DarkNova - a little side project I run.
User avatar
benryves
Maxcoderz Staff
Posts: 3087
Joined: Thu 16 Dec, 2004 10:06 pm
Location: Croydon, England
Contact:

Post by benryves »

thegamefreak0134 wrote:Well, this will surely help me a lot. Thanks again. My problem will be determining the ammount of data to copy, as I don't know how big the routines are. Of course, I suppose I could always stick a label at the end of what I need to copy and set the difference between that and the beginning of the routines to bc, and it would be fool proof, yes? no? Im crazy? :roll:

-gamefreak
That's what I did in my sample, and yes, it should be fool-proof.
User avatar
thegamefreak0134
Extreme Poster
Posts: 455
Joined: Mon 23 Jan, 2006 10:09 pm
Location: In front of a Computer, coding
Contact:

Post by thegamefreak0134 »

yes, it should be fool-proof
Ho Ho! This means I can use it for sure! :wink:

gamefreak
I'm not mad, just a little crazy.

DarkNova - a little side project I run.
User avatar
benryves
Maxcoderz Staff
Posts: 3087
Joined: Thu 16 Dec, 2004 10:06 pm
Location: Croydon, England
Contact:

Post by benryves »

thegamefreak0134 wrote:Ho Ho! This means I can use it for sure! :wink:
:P

On a more sensible note, Brass now supports relocatable blocks of code, adjusting all the labels for you. :) Look up the ".relocate" and ".endrelocate" directives on the website to see an example. It's not terribly well tested, but I had a go with a few of the things in Microhertz, copying the scene (with the ldir method above) to plotSScreen then doing a "jp plotSScreen" - it seemed to work fine.
User avatar
thegamefreak0134
Extreme Poster
Posts: 455
Joined: Mon 23 Jan, 2006 10:09 pm
Location: In front of a Computer, coding
Contact:

Post by thegamefreak0134 »

Really? then maybe I should try it for the gpp package I'm looking at, the one with the interrupt routine. I'll get back to you with more info on that.
I'm not mad, just a little crazy.

DarkNova - a little side project I run.
Post Reply