Calculator Community > The Axe Parser Project

Axe Library, Axiom, and Tool Collection

<< < (3/7) > >>

neuronix:
I would like create an Axiom with Mimas but my Axiom don't work when I launch one :(

Runer112:

--- Quote from: neuronix on June 28, 2016, 10:12:32 am ---I would like create an Axiom with Mimas but my Axiom don't work when I launch one :(

--- End quote ---

What doesn't work? It still sounds like you're trying to execute the Axiom, which as I mentioned in my last reply, doesn't make sense. It's a library, not an executable.

E37:
I haven't had any luck with creating axioms with mimas for a couple reasons.
1. Axe reads axioms as an appv it looks at the appv list for an axiom, so it sees mimas's file that HAS THE SAME NAME as the axiom (it is the source code) Axe tries to read the mimas source code as an axiom so it fails. I converted the compiled code into an appv (with a slightly different name) to avoid that problem.
2. For some other reason it just won't work. I made an axiom on mimas and the EXACT SAME code on TASM (with the difference in org and rorg) and the TASM code worked but the mimas failed.
Anyway you look at it the axiom should be an appv.
If you give me a little bit I can compare the compiled code from both to try to find the difference. I know it is possible as here: https://www.cemetech.net/forum/viewtopic.php?t=8159 matrefeytontias shows he can create an axiom using mimas, so it must be possible. (unless mimas updated since then and something broke)

neuronix:
This is my code:

--- Code: ---;#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"

--- End code ---
It doesn't work :(

neuronix:
This is my code with modifications:

--- Code: ---;#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"

--- End code ---
It doesn't work too :(

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version