226
Humour and Jokes / Re: Hmm...
« on: October 24, 2010, 07:35:51 pm »
It means he put me in the user group "Lobsters"...

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to. 226
Humour and Jokes / Re: Hmm...« on: October 24, 2010, 07:35:51 pm »
It means he put me in the user group "Lobsters"...
![]() 228
Axe / Re: Lock programs with Axe?« on: October 21, 2010, 11:26:55 pm »
Or more specifically, trying to change a string while compiling to an application...
229
Axe / Re: Lock programs with Axe?« on: October 21, 2010, 11:10:20 pm »
Ooh, yep, that's exactly it! Good job Runner!
![]() 230
Axe / Re: Lock programs with Axe?« on: October 21, 2010, 08:44:37 pm »
first, I notice "{P-7-X+1}->{Str9+X}" should be "{P-7-X}->{Str9+X}" since P-7 is the first entry, not P-6, which is what yyou got by adding 1 back at the end... I'll go over it more later when I have time to see what els...
231
Axe / Re: Lock programs with Axe?« on: October 20, 2010, 02:44:06 pm »
ok, you have String A that looks like $4F,$01,$02,$04,$05 and String B which looks like $05,$04,$02,$01 and you want your output to look like $01,$02,$04,$05 right? So what's the advantage of using String B?
232
Axe / Re: Lock programs with Axe?« on: October 20, 2010, 01:54:18 pm »
I mean, I got that it copied it to the string, but... Wouldn't you already have the name of a program if to find its location?
233
Axe / Re: Lock programs with Axe?« on: October 20, 2010, 11:08:35 am »
I just first want to mention that I forgot at the end you could just put a {T-3}r which you could use instead of GetCalc. But, if you really wanted to just use the forward-formatted string with the prefix, first... What is
For(X,1,{P-6}) {P-7-X}->{Str9+X} . Not sure wether it works by using this way End For? ![]() 234
Axe / Re: Lock programs with Axe?« on: October 20, 2010, 01:50:33 am »
I'd like to apologize, that post sounded kind of elitist now that I reread it. So I'll try to explain everything now. With like, explanations.
![]() Ok, so to start, you have the VAT(variable allocation table) right? It starts for programs and appvars at the memory location 0x9830, $9830, 9830h, or E9830 depending on what language you need to reference it in. Since you are using axe though, i will stick with the E9830. So the vat contains lots of entries, one for each program/appvar, each one containing this info for each program: The name, a pointer to where the actual program data is, the variable type, whether its archived (and what page its on if it is), and the version, and the length of the name. It might be useful at this point to mention that he VAT is written backwards. So, to unlock/lock progams, there's only three relevant pieces of information. 1. The program name 2. The name length 3. The type, since A. We need to know whether its an appvar or program, then to lock/unlock it, we only need to change the type. First, lets define what these values can be. The name length is an number between 1 and 8. For the type, we only need the bottom 4 bits, because those are the ones that actually define the type. So we'll want to AND it with E001F, then the two values we care about are 5, for program, and 6, for locked program. The name should simply be whatever you named your program. =P So, we'll say you wanted to be able to use the GetCalc(Str1) for your program, thogh, since we have to find it in the vat anyways to change the type, we could just grab it from there. Actually, this will be easier for m example, lets just do this. Your string will then look like this for program LEVELNOM "MONLEVEL"->Str1 (Which is why I decided not to use it with GetCalc, otherwise it would look like "prgmLEVELNOM"->Str1 instead, which is harder to compare when you're being lazy like me) We will now proceed to search the vat for your program. Code: [Select] "MONLEVEL"→Str1 // The name of our program, in reverse order (Remember? The vat is backwards.) That should be it I think... Let me know if you run into any difficulties with that code or need more help!
235
Axe / Re: Lock programs with Axe?« on: October 18, 2010, 03:03:47 pm »
Well, you would need to manually search the vat for your program, then change the type byte, to... I think 13, but whatever it is to lock it. I made a shell that could do this, so if you want to look at some of the code I used to get the vat etc. here:
Code: [Select] :.ASHELL I can go into detail if you want about how to do this, but... Meh, I personally like looking at code, so I'll leave you with this ![]() EDIT: I realized commenting code is useful =P 236
TI-BASIC / Re: Probably Pointless Program« on: October 07, 2010, 12:27:47 am »
Hey, out of curiosity, what's the point of drawing the lines first if you're just going to hav to redraw most of them after you add the text?
237
Other Calculators / Re: the apology you have all been waiting for« on: October 06, 2010, 05:03:55 pm »
I remember being in a similar situation once... upon... wow, that seems so long ago, but it was only like 2 years ago! Anyways, don't worry, as long as your apology's sincere, and you really make an effort to change, which it seems you have, you'll easily become accepted as a part of the community. Especially if this forum is one of your first places though, I can remember, it can be hard getting used to the way you need to say things to get them better understood online... I'm sure everyone appreciates this apology very much though.
![]() 238
Miscellaneous / Re: Birthday Posts« on: October 01, 2010, 10:44:06 pm »
Yay, birthdayness! Cooliojazz cackles at the army...
![]() 239
Site Feedback and Questions / Re: 500 Errors« on: September 22, 2010, 08:42:00 am »
I hadn't... But then I just got them right now... X.x
240
TI Z80 / Re: TFE - Resurrection (TI-File Editor)« on: September 20, 2010, 01:48:09 pm »
O, *Phew* that makes me feel a bit better, cause that was really strange... Hmm, that is a good idea for a future addition tho... O_o
|
|