• Axe Q&A 5 5
Currently:

### Author Topic: Axe Q&A  (Read 249678 times)

0 Members and 1 Guest are viewing this topic.

#### E37

• Posts: 287
• Rating: +20/-0
• Trial and error is the best teacher
##### Re: Axe Q&A
« Reply #1950 on: May 21, 2016, 04:37:15 pm »
Perhaps this just got lost in the manual copying process, but is ax1end defined properly?

If it appears so, nothing seems obviously wrong to me. If you posted the assembeld axiom, I could probably figure out what's wrong, though.
Yes I did forget to add it.
The program compiles sucessfully.
The actual function is a little different. (It displays "Magic!")
Here is the compiled code:
I'm still around... kind of.

#### E37

• Posts: 287
• Rating: +20/-0
• Trial and error is the best teacher
##### Re: Axe Q&A
« Reply #1951 on: August 18, 2016, 01:24:00 pm »
Just wondering if there was a way to include and run compiled assembly programs in Axe.
I've tried:([])():[prgmNAME] but, it won't work. Does it have something to do with the offset?
I am compiling the code with mimas.
Thanks!
I'm still around... kind of.

#### Runer112

• Project Author
• LV11 Super Veteran (Next: 3000)
• Posts: 2289
• Rating: +639/-31
##### Re: Axe Q&A
« Reply #1952 on: August 18, 2016, 02:41:32 pm »
For many reasons, one of the largest being code origin, you cannot simply include one assembly program into another.

Provided you have access to the source of this program (which it sounds like you do), the only way I can think to legitimately include assembly code into an Axe program is to modify the assembly program into an Axiom. Depending upon the complexity of the assembly program, you may need to utilize many of the more advanced/confusing Axiom features. I'll refrain from attempting to explain them all unless it is discovered that some of them are needed.

A much simpler way is to abandon the requirement that the assembly program be included in the Axe program and simply call the assembly program from the Axe program with the RunPrgm Axiom.

#### E37

• Posts: 287
• Rating: +20/-0
• Trial and error is the best teacher
##### Re: Axe Q&A
« Reply #1953 on: August 18, 2016, 03:55:16 pm »
I've been using RunPrgm. A am slowly porting small parts of my projects to assembly to learn how to use it, since this gives me the benefit of not having to work out the logic of the section and knowing that the logic works.
I was hoping to avoid RunPrgm so I wouldn't have the slowdown of having to run it each time. (especially in a time sensitive loop)
I'll try "un-squishing" the code into hex (removing the C9 at the end) and pasting the hex to the desired location.
I'm still around... kind of.

#### E37

• Posts: 287
• Rating: +20/-0
• Trial and error is the best teacher
##### Re: Axe Q&A
« Reply #1954 on: September 10, 2016, 06:16:03 pm »
I looked in the chat and saw @neuronix was asking about renaming Axe 1.3.0 to something else to have both at once.
If @Runer112 doesn't care I'll post my renamed version of Axe 1.3.0 "Axe1.3"
Edit: I can so here it is...
I'm still around... kind of.

#### neuronix

• LV4 Regular (Next: 200)
• Posts: 108
• Rating: +0/-0
##### Re: Axe Q&A
« Reply #1955 on: September 14, 2016, 12:34:55 pm »
@E37 How did you make?

#### E37

• Posts: 287
• Rating: +20/-0
• Trial and error is the best teacher
##### Re: Axe Q&A
« Reply #1956 on: September 17, 2016, 11:16:20 am »
I opened Axe with the text editor.
I looked on the second or third full line of hex and found Axe's name in ASCII hex. (You may need to look up a chart of the 84's version of ASCII - zStart's font editor shows the hex that corresponds with every character.)
I modified the name to what I wanted it to be. Note that space is $20 not$00 (so you can look for "2020202020" in the app's hex for the five spaces after Axe's name to help you find it).
Then I copied all but the LAST TWO HEX CHARACTERS into fixinitialhex and replaced the final two hex characters with the corrected checksum from fixinitialhex.
Save and exit.
Use rabbitsign to sign the app and you should be done!
I'm still around... kind of.

#### neuronix

• LV4 Regular (Next: 200)
• Posts: 108
• Rating: +0/-0
##### Re: Axe Q&A
« Reply #1957 on: September 22, 2016, 07:19:04 am »
Ok, thanks