Show Posts

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.


Messages - Xeda112358

Pages: 1 ... 254 255 [256] 257 258 ... 317
3826
Axe / Re: Axe: How to Execute BASIC Programs
« on: March 04, 2011, 12:20:07 pm »
I think what he means is that if he doesn't set a certain flag, the OS thinks everything is being excecuted by typing it into the homescreen, and so you won't be able to use If, While, Goto, or any of those, and you will be able to archive and unarchive programs. 
That is exactly it :D
I got the idea to set this mode from that code.

3827
BatLib / Re: BatLib
« on: March 04, 2011, 12:07:19 pm »
Right now, BatLib is "released", but I am adding more features as I go. Spring Break starts in 3 hours for me, so I will be away until March 14, likely without internet. Hopefully I will be able to add a few features and commands by the time I get back.

3828
TI-BASIC / Re: Zeda's Hex Codes
« on: March 04, 2011, 11:54:05 am »
Oh, that is rather easy. It won't work for numbers greater than 9999 but it is EFD74AEFEF4AEB

If you want a code to convert values up to 65535, that will require a larger opcode :D

(But I do have it >_>)
please give it, it would be useful for some things, like checking RAM
(You wrote a code for this that stores to Ans, maybe you can rewrite a part of it too, like the store to Ans part?
Isnt that replacing EFD74A with EF4AEB?)
Storing to Ans is not a problem, just reading from it. If you want to store the Axe "Ans" to the OS Ans, you would need to do EF9247EF5641EFBF4A

To store to Ans and make use of numbers greater than 9999, then you would need a code that looks kind of like this:
Code: [Select]
7EE5E60FCB3FF53C4F060009EB606822B48423F130061AE60FCDB54E1AE6F007070707CDB54E1B0D79B720EAE111090019ED5BB4847BC9
D5E5CD804EED5BB4841922B484E13E0ACD804ED1C9
EB0608210000290730011910F9C9
Do not use that because that only works in a very specific context, but that is what the code looks like in BatLib. I am not sure how to translate that to Axe because it uses calls.

Anywho, the OS bcall EFEF4A does not convert numbers >9999, but EF9247 can store numbers up to 65535.

ReadAns:
EFD74AEFEF4AEB
StoreAns:
EF9247EF5641EFBF4A

If you want to use this in Axe and you want to preserve Ans, simply put an E5 at the beginning and E1 at the end.

3829
Axe / Re: Axe: How to Execute BASIC Programs
« on: March 04, 2011, 02:36:42 am »
Yeah, in the regular mode, you can use Archive/Unarchive on a program, but regular BASIC code cannot be used. In BASIC mode, you cannot use Archive/Unarchive on a program, but you can still use regular BASIC code.

The default when an asm program is run is the regular mode, so I need to turn it off to BASIC mode in order to run BASIC commands like Pause. Then when it is finished, I turn it back to regular mode.

3830
Axe / Re: Axe: How to Execute BASIC Programs
« on: March 04, 2011, 02:26:53 am »
Unarchive/archive would not work in the BASIC program for program vars (unless you run the code I linked to)... that is kind of confusing, sorry.

3831
TI Z80 / Re: EXEC: Executing Appvars in BASIC
« on: March 04, 2011, 02:24:31 am »
I'm thinking I will upload it to TICalc and then during my week off I will make a program that kind of combines CopyProg, GetName, and EXEC along with a few other functions. That I will probably upload here :)

3832
Axe / Re: Axe: How to Execute BASIC Programs
« on: March 04, 2011, 02:21:53 am »
Not quite... What happens is that when you run the program, only the stuff you could use on the homescreen (or in a y= var) can be used. As soon as I figured this out, I just added the code to set BASIC mode and after the program is done, it returns to EQU mode.

3833
Axe / Re: Axe: How to Execute BASIC Programs
« on: March 04, 2011, 02:17:03 am »
hehe, not quite >_>
I'll give a hint...
http://tibasicdev.wikidot.com/hexcodes#toc0

3834
Correlation / Re: Correlation: Correlific Mode!
« on: March 03, 2011, 10:06:58 pm »
As in an array of data?

3835
TI-BASIC / Re: Zeda's Hex Codes
« on: March 03, 2011, 09:48:13 pm »
How do you mean? Do you mean start drawing a picture from the coordinate? I might be able to come up with one...

3836
TI Z80 / EXEC: Executing Appvars in BASIC
« on: March 03, 2011, 04:05:44 pm »
After a request from aeTIos for a code to execute BASIC programs from an Axe program, I decided to make this for BASIC programmers... This will let you store the name of a program or even an appvar in Ans and execute it as a BASIC program. This is great if certain situations require certain sub programs-- especially if you decide to store your sub programs to appvars!

On top of that, if the program or appvar is archived, instead of throwing an error, this program simply unarchives the var and executes it.
Here is an example showing an appvar being executed.

3837
TI-BASIC / Re: Zeda's Hex Codes
« on: March 03, 2011, 03:52:11 pm »
Oh, that is rather easy. It won't work for numbers greater than 9999 but it is EFD74AEFEF4AEB

If you want a code to convert values up to 65535, that will require a larger opcode :D

(But I do have it >_>)

3838
TI-BASIC / Re: Extra Detail Suite
« on: March 03, 2011, 02:49:28 pm »
But then try zero... :P

3839
TI-BASIC / Re: Extra Detail Suite
« on: March 03, 2011, 02:47:35 pm »
Code: [Select]
Ans→A
" →Str0
A
Repeat not(Ans
Ans→A
sub("0123456789",abs(A-10iPart(.1A))+1,1)+Str0→Str0
iPart(.1A
End
Str0
If A<0
"⁻"+Ans
sub(Ans,1,length(Ans)-1

:P

3840
Correlation / Re: New Correlation Manual
« on: March 03, 2011, 02:44:42 pm »
Awesome, I am going to be reading this quite a bit! Spring break starts after classes tomorrow for me, so I won't be around for a week until the 14th... I can still work on my topic, though, but I will need to replace the instances of BatLib commands with Correlation commands when I get back :D

Pages: 1 ... 254 255 [256] 257 258 ... 317