jacobly
LV5 Advanced (Next: 300)
   
Offline
Last Login: Yesterday at 22:18:01
Date Registered: 09 October, 2011, 01:53:09
Posts: 200
Topic starter
Total Post Ratings: +150
|
 |
« on: 03 July, 2012, 12:17:39 » |
+3
|
#Axiom(TEXT)
| | (All commands are in the Vars → Zoom menu.)
| Row EXP→Row
| Key:ZXmin
| Get or set the current pen row.
| Col EXP→Col
| Key:ZXmax
| Get or set the current pen column.
| Rowr EXP→Rowr
| Key:ZXmin
| Get or set the current cursor row.
| Colr EXP→Colr
| Key:ZXmax
| Get or set the current cursor column.
| Str(PTR) Str(PTR)r Str(PTR,BUF)
|
Key:ZXscl
| The string that is pointed to is drawn at the current pen location to the main buffer, back buffer, or specified buffer respectively. See Fix 0 and Fix 1 commands for drawing details.
| Char(CHAR) Char(CHAR)r Char(CHAR,BUF)
|
Key:ZYmin
| The ASCII character is drawn at the current pen location to the main buffer, back buffer, or specified buffer respectively. See Fix 0 and Fix 1 commands for drawing details.
| EXP▶Int EXP▶Intr
| Key:ZYmax
| Converts the number to an unsigned or signed integer respectively and returns the pointer to that string.
| EXP▶Fixed EXP▶Fixedr
| Key:ZYscl
| Converts the number to an unsigned or signed 8.8 fixed point number respectively and returns the pointer to that string.
| EXP▶Token
| Key:ZXres
| Converts the 1 or 2 byte token to a string and returns a pointer to that string.
| PTR▶Tokenr
| Key:ZXres
| Converts the 1 or 2 byte token that is pointed to to a string and returns a pointer to that string.
| PTR▶Tokenrr
| Key:ZXres
| Returns the 1 or 2 byte token that is pointed to.
|
|
text.8xv (0.52 KB - downloaded 28 times.)
|
|
|
Logged
|
|
|
|
|
Hayleia
|
 |
« Reply #1 on: 03 July, 2012, 16:28:21 » |
0
|
Thanks, that is exactly what I was looking for  Also, I guess the answer is yes but is this faster than the OS routine ? editBug Report (or maybe I just don't know how to use it -.-) See, my code is 8→Col 7→Row Str(255►Int) But there is no 255 on (8,7). There is some garbage (behind the big "3") editNevermind, it displays right but the grey background doesn't let figures appear correctly
|
|
|
« Last Edit: 04 July, 2012, 08:44:55 by Hayleia »
|
Logged
|
|
|
|
|
kindermoumoute
|
 |
« Reply #2 on: 03 July, 2012, 17:06:06 » |
0
|
Are Output(EXP) and Output(X,Y) commands unoptimized ?
Char(CHAR), what is the difference with >Char ?
Explain why you made this axiom, I don't see why it is better, and if that's more optimized, why you don't ask to quigibo to optimize his routines ?
|
|
|
|
|
Logged
|
|
|
|
|
Hayleia
|
 |
« Reply #3 on: 03 July, 2012, 17:22:33 » |
0
|
Are Output(EXP) and Output(X,Y) commands unoptimized ?
They are OS routines, so they don't take any space but are very slow  Char(CHAR), what is the difference with >Char ?
This one can write on any buffer  Explain why you made this axiom, I don't see why it is better, and if that's more optimized, why you don't ask to quigibo to optimize his routines ?
Because Quigibo can't optimise the OS 
|
|
|
|
|
Logged
|
|
|
|
|
kindermoumoute
|
 |
« Reply #4 on: 04 July, 2012, 00:18:40 » |
0
|
If I understand, it add more syze to program. 
|
|
|
|
|
Logged
|
|
|
|
|
Builderboy
|
 |
« Reply #5 on: 04 July, 2012, 04:30:10 » |
0
|
It does at more size to the program, but it also adds functionality which Axe does not provide, which is really the point of Axioms in the first place.
|
|
|
|
|
Logged
|
|
|
|
|