asaptool.86p the regular old program
asaptool-lite.86p the program without font menu
asaptool-install.86p the program with a cool install screen[not released
because of size]
asaptool-linstall.86p the program without font with install
asaptool-compressed.86p regualar program -font menus
and lite86 compressed
asaptool-installcompressed.86p program -font menus and lite86 compressed (won't
crash when ran)
asaptool-linstallcompressed.86p -font menus with install lite86 compressed
asaptool-litecompressed -font menus and lite86
compressed
help.86p the oncalc help file (sort of)
characters.86g examples of grayscale sprites
asaptool Beta.htm this file you're reading
exam1.86p Text menu example convert a 12-letter name to a 3x1 matrix (stored in
charz) and then convert back to letters
exam2.86p Misc menu example
exam3.86p Bit menu
exam4.86p Font menu
exam5.86p Effect menu
The lite86 compressed programs are super compressed the font menus didn't work
at all so I removed them grayscale does work on them (backup your programs
before running the compressed programs because the compressed programs aren't
100% tested)
VERY IMPORTANT THE FILE SENT TO THE 86 MUST BE asaptool NOT IN ALL CAPS IF YOU DO GET ONE IN ALL CAPS JUST TYPE asmcomp(ASAPTOOL,asaptool) and delete ASAPTOOL
This program was created mainly for people who are trying to learn assembly
language but can't seem to get it and for basic programmers who want more
quality and power in their programs. This is also for people who make
prototypes of their games in ti-basic and then
convert them into assembly language
Asm(asaptool) Running this will delete your first custom menu
slot
It doesn't say anything but goto your custom menu and
you see Toolz (1st slot) and your done
You only need to install it once
Note: If you have asapXcmd
delete this from your calc before installing
If the completed symbol says no then to prevent crashes I either disabled
the function or not added the function
any function that has yes in the completed section is perfectly stable I've
tested the program on rom versions 1.3 and 1.6 so
they are sure to work on these versions. Oh yes and please be cautious with the
ones that say buggy in the function description
-Text-
Name |
Parameters |
Completion |
Description |
Bytes |
|
Character |
Chr(real) |
Yes |
Real is changed into ASCII |
32 |
|
String |
Str(real) |
Yes |
real to "Real" |
60 |
|
Value |
Val("String",offset) |
Yes |
Tells the value of string at offset |
33 |
|
Small Text |
SmlTxt("Variable",x,y) |
Yes |
In small font prints value in variable SEE NOTE |
99 |
|
-Variable-
Name |
Parameters |
Completion |
Description |
Bytes |
|
Exist |
Exist("Variable") |
Yes |
Tells If "Variable" Exists |
29 |
|
Var in Var |
VinV("Variable") |
Buggy |
Shows Variable in Variable Data In Ans |
16 |
|
Var sto Var |
VstoV("String","StoreInto") |
No |
Stores Value in String into Storeinto |
??? |
|
Bytes Used |
Bytes("Variable") |
Yes |
Tells the size of "Variable" Two Ans if "var" is a basic prgm |
32 |
|
Delete |
Delete("Variable") |
Yes |
Deletes any var UNDER 1279 bytes 04FFh |
40 |
|
-Odds and Ends-
Name |
Parameters |
Completion |
Description |
Bytes |
|
Run Off |
Runoff |
Yes |
Turns the cursor off |
13 |
|
Run On |
Runon |
Yes |
Turns the cursor on |
13 |
|
Alpha Lock |
Lockon |
Yes |
Alpha lock on |
9 |
|
Alpha Lock Off |
Locoff |
Yes |
Turns off alpha lock |
9 |
|
Invert |
Invtxt |
Yes |
Inverts the screen |
5 |
|
Wait |
Wait(1-65535) |
Yes |
Waits x ms (depends on batteries) |
34 |
|
Contrast up |
Conup |
Yes |
Contrast up |
14 |
|
Contrast down |
Condow |
Yes |
Contrast Down |
14 |
|
Contrast Num |
Connum(real) |
Yes |
Contrast now = real(0-31) |
18 |
|
Value contrast |
Valcon |
Yes |
Value of contrast is stored in Ans |
9 |
|
Apd Off |
Apdoff |
Yes |
Turns off auto power down |
5 |
|
Apd On |
ApdOn |
Yes |
Auto power down on |
5 |
|
-Bit-
Name |
Parameters |
Completion |
Description |
Bytes |
|||||
Left Shift |
LShift(Real) |
Yes |
shifts the bits in real to left |
8 |
|
||||
Right Shift |
RShift(Real) |
Yes |
shifts the bits in real to right |
8 |
|
||||
Left Rotate |
LRot(real) |
Yes |
rotates the bits in real to left |
7 |
|
||||
Right Rotate |
RRot(real) |
Yes |
rotates the bits in real to right |
7 |
|
||||
Mirror |
Mirror(real) |
Yes |
mirrors the bits in real |
12+routine |
|
||||
-Sprite-
Name |
Parameters |
Completion |
Description |
Bytes |
|
Put Sprite |
Putspr(8x8spr,x,y) |
Yes |
8x8 sprite @ (x,y) max (15,7) |
28+routine |
|
Put non-aligned |
Putnas(8x8spr,x,y) |
Yes |
8x8 non-aligned sprite @(x,y) max (119,55) |
28+routine |
|
Put clipped |
Putcls(8x8spr,x,y) |
Yes |
8x8 clipped sprite @(x,y) max (127,63) |
28+routine |
|
Put mirrored |
Putmir(8x8spr,x,y) |
Yes |
8x8 mirrored aligned sprite @(x,y) max (15,7) |
28+routine |
|
Put masked |
Putmsk(8x8spr,x,y) |
Yes |
8x8 (or)ed sprite to LCD |
28+routine |
|
Clear Graph |
ClrGrh |
Yes |
Clears Graph screen when in grayscale |
13 |
|
Peek @ x,y |
Peek([1,2],x,y) |
Yes |
Peeks at 1=video 2=graph at x,y max[15,63] |
110 |
|
Poke num @x,y |
Poke([1,2],Real,x,y) |
Yes |
Pokes real at 1 or 2 at x,y max [15,63] |
125 |
|
Open Gray |
OGray |
Yes |
Opens Grayscale |
75 |
|
Close Gray |
CGray |
Yes |
Closes Grayscale |
77 |
|
Put Graph align |
Putgrh(8x8spr,x,y) |
Yes |
8x8 aligned sprite to graphscreen |
29+routine |
|
Put Graph clipped |
Putgrn(8x8spr,x,y) |
Yes |
8x8 to graphscreen clipped |
28 |
|
-Effect-
Name |
Parameters |
Completion |
Description |
Bytes |
|
Sound |
Sound(real) |
Yes |
Sound |
32 |
|
Wipe Left |
Wipel |
Yes |
Wipe Left effect |
26 |
|
Wipe Right |
Wiper |
Yes |
Wipe Right Effect |
32 |
|
Out In |
Outin |
Yes |
Out In Effect |
59 |
|
Corner |
Corner |
Yes |
Corner Effect |
159 |
|
Fade In |
FadeI(time,[0 or 1] |
Yes |
Fade In from White(0) or black(1) |
102 |
|
Fade Out |
FadeO(time,[0 or 1] |
Yes |
Fade Out to white(0) or black(1) |
90 |
|
Special Invert |
Invert(real) |
Yes |
Special invert useful for effects |
27 |
|
-Font-
Name |
Parameters |
Completion |
Description |
Bytes |
|||||
Normal Font |
Znorm |
Yes |
Undo any font changes |
5 |
|
||||
Bold Font |
ZBold |
Yes |
changes the font into BOLD |
769 |
|
||||
Italic font |
ZItal |
Yes |
changes the font into ITALICS |
769 |
|
||||
Small Font |
ZSmall |
Yes |
changes font into tiny |
849 |
|
||||
got any ideas for new functions or is a function here completely useless(I need a very good reason) then email me tricksterbomber@aol.com
Wait is a better alternative to using:
For(A,1,500)
End
In order to use SmlTxt you must store a string ending with Chr(0)[IMPORTANT!!!] into a
variable
Example
"This is great"+Chr(0) /-/ variable
Then you find where you want to put it
x can range from 0 to 127
y can range from 0 to 63
Now you can use SmlTxt
SmlTxt("variable",x,y)
smltxt automatically wraps when it reaches the edge
of the screen
but when it reaches the bottom of the screen it will stop
maximum length of "variable" can be 505-2-2-1=500 characters, but
about 341 characters+(31 chopped characters) can fit on the screen at once
without the null char (Character 0) at the end when you use
Smltxt you will get jumbled mess and it would go on
forever except for the 500 character limit
Function |
Corresponding Assembly Routine |
Putspr |
GridPutSprite |
putnas |
the PutSprite routine by Dux Gregis |
putcls |
PutSpriteClip Routine |
putmir |
Mirror routine + GridPutSprite |
putmsk |
GridPutSprite that or's it on the LCD |
putgrh |
GridPutSprite that draws to Graph hl=CA00 |
putgrn |
PutSpriteClip |
ClrGrh |
Written myself |
Peek |
Mine |
Poke |
Also Mine |
Ogray |
Mine |
Cgray |
Mine |
Bit Menu |
Mine |
Bold and Italic Font |
Jimi Malcolm |
Small Font |
Mine |
Revert to normal font |
Mine |
Sound |
Mine |
Fade In and Out |
Mine |
Invert |
Mine |
Wipe L & R, Outin, and Corner |
Levi Lansing |
Misc Menu |
Mine |
Variable Menu |
Mine |
Text Menu |
Mine |
Drawbacks of using this program
Don't use TiGraph link feature of protecting basic
programs <-- you have bytes("var")>
Don't transfer any files using any of fucntions that
are tokenized (In Tigraph link you'll see Prtscrn and nothing else)
Any by any means don't do both of these at the same time (the program will be
mangled will all sorts of weird things and will become uneditable
and you will have to start by stratch all over again)
History
version 1.00 4/2/05 6441 bytes
released for the first time 53 functions
version 1.01 4/4/05 6421 bytes
programs created with this version are somewhat compatible with 1.0
fixed OGray clearing screen when used -20 bytes
included info on bytes("var")
included drawbacks section
rereleased yathzv2 using asaptool
with grayscale dice
version 2.0 4/11-13/05 5947 bytes
programs created with this version might not be compatible with previous
versions
four different types of this program were released
asaptool 5947 bytes
asaptool-lite 3561 bytes
asaptool-install 7515 bytes (program crashed
calculator when ran twice so not released)
asaptool-linstall 5036 bytes
help.86p 1959 bytes
examples.86g 6491 bytes (about)
characters.86g 6190 bytes (about)
FadeI and FadeO takes two
arguments and can now fade to black
SmlTxt now works but the string must end with the null character
VinV now works (sort of) when used the output is in
the Ans variable not the screen
5 example programs one for each menu except sprite
Optimized my code -562 bytes(about)
Version 2.01 (high chance of compatibility in version 2.0)
used lite compression on all four editions
Version 2.01 and a half
NOTHING:(
Addressed issue of the program name being in all caps
predicted for next version 2.1
optimize code even more (*hopefully* enough to get the program down to 5000
bytes)
VstoV will work
improve help.86p
exam6.86p the sprite menu example
work on Delete() function
all functions (except mirror) under bit menu will take
two arguments (1-255,number of times)
anything else will be the same