TICALCS.net

Full Version: PugLib .23
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
This is a new assembly library that aids BASIC programmers in achieving features not reachable in pure BASIC. This new library has been tested on VTI and a TI-84+, and there have been no problems so far! If you would like to send any suggestions, comments, or just want to spam, send an email to pugprogramming@hotmail.com! The download link will be modified so it directs you to the Cemetech/TICalc archives (if it gets approved).

Download

PugLib
Current Size: 2012 bytes
Functions: 20, 3 inactive and in Beta Stage
Build: 10

From the manual-
Syntax
X:Asm(prgmPUGLIB where X is the corresponding value to the effect desired.
1: Clear the graph screen and LCD
2: Turn the run indicator off/on
-X=1: Off
-X=2: On
3: Invert Text
-X=1: Inverse on
-X=2: Inverse off
4: Alpha Lock on (Temporary)
5: Toggle Lowercase
6: Free Ram (in X)
7: Black graph screen
8: Invert the graph screen
9: Invert Home Screen
10: Battery Status
-X=0: Battery low
-X>0: Battery ok
11: Increase Contrast
12: Decrease Contrast
13: Set Temporary Contrast (>0 and <63 in X) (Beta)
14: Fast Circles (Store 1 in X for on, 2 for off) (Beta)
15: OS Version (in X)
16: Hardware Version (in X and Ans) (Beta)
17: Power down (Returns to calling program)
18: Toggle Un/Archiving programs within BASIC programs (If A=3:Archive prgmHI)
-Do this before and after Un/archiving
19: Turn off DONE at end of program(s)
20: About PugLib (Displays a Splash Screen)

If it is the Beta Stage, it will display an error message.
I completely missed this thread.

This looks interesting...I'll have to try this sometime.
(Fast circles can be triggered by adding a fourth argument at the end of the command Circle()
1: Clear the graph screen and LCD
ClrDraw

14: Fast Circles
Circle(X,Y,R,{i

19: Turn off DONE at end of program(s)
Output(1,1," at the end of the program.
That is a 4 part drawing flag, but I am using Kll's algorithm in my next release.
Reference URL's