Author Topic: Axiom structure  (Read 8262 times)

0 Members and 1 Guest are viewing this topic.

Offline Matrefeytontias

  • Axe roxxor (kinda)
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1982
  • Rating: +310/-12
  • Axe roxxor
    • View Profile
    • RMV Pixel Engineers
Re: Axiom structure
« Reply #15 on: January 04, 2012, 07:50:28 am »
Up ;D

That's interesting, and I'm searching a way to create customs tokens, as it was done with Freq() or Pt-Mask() which you can find only in an Axe file. Is it possible ?

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Axiom structure
« Reply #16 on: January 04, 2012, 09:34:08 am »
You need to use a token hook ([wikiti]83Plus:Hooks:9BC8[/wikiti]) for that, and release it as a separate program. Axe doesn't make hooks for Axioms.




Offline Matrefeytontias

  • Axe roxxor (kinda)
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1982
  • Rating: +310/-12
  • Axe roxxor
    • View Profile
    • RMV Pixel Engineers
Re: Axiom structure
« Reply #17 on: January 04, 2012, 09:50:18 am »
9BC8 is a hook that I can use ? How must I use it in this code :
Code: [Select]
.dw $C0DE
.dw Ax1
.db %00011111
.db $BB,$50 ; ExprOn token
.db 0
.db 0
.org 0
 bcall(_CrlLCDFull)
Ax1:
It's a simple test ; I use MIMAS

EDIT : and OS 1.19
« Last Edit: January 04, 2012, 09:56:28 am by Matrefeytontias »

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Axiom structure
« Reply #18 on: January 04, 2012, 10:37:28 am »
As I said, it needs to be a separate program that is not part of the Axiom, because an Axiom is just a library for Axe programs to use, while what you want to do is change a token in the OS for the person who's writing those programs. You would probably also have to make it into an app, since hooks set up by programs aren't very stable.

But I just realized that it's not really practical to add more tokens because Axe has its own token hook (which displays SinReg as Freq( and Plot1( as Pt-Mask( and so on), which would disable yours.




Offline kindermoumoute

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 836
  • Rating: +54/-3
    • View Profile
Re: Axiom structure
« Reply #19 on: January 04, 2012, 11:02:01 am »
I understand, eg. the first axiom MEMKIT made by quigibo use modified token cause he implemented it on Axe Parser (cheat !). So when I try another axiom, no tokens are changed, cause they can't. Right ? ;D
Projects :

Worms armageddon z80 :
- smoothscrolling Pixelmapping : 100%
- Map editor : 80%
- Game System : 0%

Tutoriel français sur l'Axe Parser
- 1ère partie : en ligne.
- 2ème partie : en ligne.
- 3ème partie : en ligne.
- 4ème partie : 10%
- Annexe : 100%

Offline Matrefeytontias

  • Axe roxxor (kinda)
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1982
  • Rating: +310/-12
  • Axe roxxor
    • View Profile
    • RMV Pixel Engineers
Re: Axiom structure
« Reply #20 on: January 04, 2012, 11:55:58 am »
So I just can't change the name of OS tokens if I understand ... Or perhaps I can, but only using 9BC8 ?