I think my L1 stacklib function has a place here, as it can be useful for declaring local variables :)Mind giving some information on it's usage or a link to another place where you do?
I do not manage to send TileIT! to my calculator. :-\You are going to need to give more information then that for anybody to help you. What type of calculator? What software are you using to send it? What operating system? What is the error that you are getting?
Could anybody help me?
Thank you in advance
I would like create an axiom for TI 84+ SE but when I build my code, and I transfer the program on my calculator, I execute the progra and the calculator says me "Error: Version" :(
I don't understand :(
I would like create an Axiom with Mimas but my Axiom don't work when I launch one :(
;#SECTION "MAIN", CODE
dw AXM_HEADER
; Debut Routine
dw EndAxiomRoutine + 6
db AXM_ALL
db hRound, 0
db AXM_INLINE
db 1
org 0
B_CALL _OP1Set0
B_CALL _Cos
B_CALL _ConvOP1
ex de, hl
ld d, h
ld b, h
ld e, l
ld c, l
ret
EndAxiomRoutine:
dw hRound
db 5
db "cos0("
;#IMPORT "TOKENHOO"
;#IMPORT "AXE"
It doesn't work :(
;#SECTION "MAIN", CODE
dw AXM_HEADER
; Debut Routine
dw EndAxiomRoutine
db AXM_ALL
db hRound, 0
db AXM_INLINE
db 1
rorg 0
B_CALL _OP1Set0
B_CALL _Cos
B_CALL _ConvOP1
ex de, hl
ld d, h
ld b, h
ld e, l
ld c, l
ret
EndAxiomRoutine:
dw hRound
db 5
db "cos0("
;#IMPORT "TOKENHOO"
;#IMPORT "AXE"
It doesn't work too :(
This is my code:First, to include a library in mimas, you go to the program's menu and select library and pick "AXE" and "TOKENHOO" and that will work the same way as #IMPORTCode: [Select];#SECTION "MAIN", CODE
It doesn't work :(
dw AXM_HEADER
; Debut Routine
dw EndAxiomRoutine + 6
db AXM_ALL
db hRound, 0
db AXM_INLINE
db 1
org 0
B_CALL _OP1Set0
B_CALL _Cos
B_CALL _ConvOP1
ex de, hl
ld d, h
ld b, h
ld e, l
ld c, l
ret
EndAxiomRoutine:
dw hRound
db 5
db "cos0("
;#IMPORT "TOKENHOO"
;#IMPORT "AXE"
;#SECTION "MAIN", CODE
dw $C0DE
; Debut Routine
dw EndAxiomRoutine
db AXM_ALL
db hRound, 0
db AXM_INLINE
db 1
rorg 0
B_CALL _OP1Set0
B_CALL _Cos
B_CALL _ConvOP1
ex de, hl
ld d, h
ld b, h
ld e, l
ld c, l
EndAxiomRoutine:
dw 0
dw hRound
db 5
db "cos0("
;#IMPORT "TOKENHOO"
;#IMPORT "AXE"
This is the new code, is it correct ? :I don't see anything wrong in the code.Code: [Select];#SECTION "MAIN", CODE
dw $C0DE
; Debut Routine
dw EndAxiomRoutine
db AXM_ALL
db hRound, 0
db AXM_INLINE
db 1
rorg 0
B_CALL _OP1Set0
B_CALL _Cos
B_CALL _ConvOP1
ex de, hl
ld d, h
ld b, h
ld e, l
ld c, l
EndAxiomRoutine:
dw 0
dw hRound
db 5
db "cos0("
;#IMPORT "TOKENHOO"
;#IMPORT "AXE"
And how can I do to return any value in ans?Like in Axe's ans?
I would like to send tileIt! to my calculator but when I send tileIt! 2.0 with TI Connect CE, my TI-84+SE crash and I have a beautiful Ram Cleard.I sent the source code over and compiled it on calc.
But if I send tileIt! 1.0, it works :(
Help me please :'(
Yes, it works, but I would like to know why?The ram clear or sending the source code and compiling?
:.TEST
:#Axiom(STAXM)
:L1->(SP)
:5->A
:Push °A
:rand->A
:Pop °A
:Disp A>Dec
... which will display 5 for the value of A.Sounds useful!It uses a custom stack. (SP) like in assembly is where the current end of the stack is. I often use L4 for the stack.
Do you use a custom stack or do you use the normal cpu stack (so that you need to push/pop correctly before returning)?