Author Topic: [AXE] Little contest :D  (Read 21715 times)

0 Members and 1 Guest are viewing this topic.

Offline TheCoder1998

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 434
  • Rating: +20/-2
  • my art is written in code, not in graphite
    • View Profile
    • My website :D
Re: [AXE] Little contest :D
« Reply #30 on: December 30, 2013, 08:43:25 am »
i know this isn't the right place to ask this, but what exactly is axe fusion?
my ticalc acc:

http://www.ticalc.org/archives/files/authors/113/11365.html

Spoiler For The Best Song Ever:


follow me on tumblr :)
www.rickdepizza.tumblr.com

check out my anilist :D
http://anilist.co/animelist/29701/Rickdepizza

Offline Matrefeytontias

  • Axe roxxor (kinda)
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1982
  • Rating: +310/-12
  • Axe roxxor
    • View Profile
    • RMV Pixel Engineers
Re: [AXE] Little contest :D
« Reply #31 on: December 30, 2013, 09:01:59 am »
It's a compiling mode useful for reducing the size of your test programs. Instead of being included in the final program, Axe functions are directly executed in the Axe app.

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: [AXE] Little contest :D
« Reply #32 on: December 30, 2013, 09:02:06 am »
x^2n compiles to x . (n-1)
Did you mean x . 2n-1 ?

i know this isn't the right place to ask this, but what exactly is axe fusion?
When you compile an Axe program, you can compile as a Noshell program, or as a Ion one or a MirageOS one, an app, and you also have the fusion option. Basically, they are a bit faster to compile and smaller because they don't include any routine, they kind of use Axe as a shell and use the routines from the app instead of including them directly. This is why MGOS said "or you add the Axe app to your program size".

edit ninja'd
« Last Edit: December 30, 2013, 09:02:34 am by Hayleia »
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline MGOS

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +95/-0
    • View Profile
Re: [AXE] Little contest :D
« Reply #33 on: December 30, 2013, 09:06:52 am »
Did you mean x . 2n-1 ?
No, I meant x . 2n-1 ;)

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: [AXE] Little contest :D
« Reply #34 on: December 30, 2013, 09:08:11 am »
Did you mean x . 2n-1 ?
No, I meant x . 2n-1 ;)
Lol, we kept failing :P
Anyway, the right answer is written now.

editAlso, an Axe nazi would tell us "nope, you meant  x . (2n-1)"
« Last Edit: December 30, 2013, 09:10:53 am by Hayleia »
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline Matrefeytontias

  • Axe roxxor (kinda)
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1982
  • Rating: +310/-12
  • Axe roxxor
    • View Profile
    • RMV Pixel Engineers
Re: [AXE] Little contest :D
« Reply #35 on: December 30, 2013, 09:16:44 am »
Nope, you meant x . (2n-1).
* Matrefeytontias runs

When you compile an Axe program, you can compile as a Noshell program, or as a Ion one or a MirageOS one, an app, and you also have the fusion option.
And DoorsCS7.

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: [AXE] Little contest :D
« Reply #36 on: December 30, 2013, 09:40:17 am »
When you compile an Axe program, you can compile as a Noshell program, or as a Ion one or a MirageOS one, an app, and you also have the fusion option.
And DoorsCS7.
I knew I forgot one. And I was too lazy to check :P
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline nikitouzz

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 215
  • Rating: +22/-1
    • View Profile
Re: [AXE] Little contest :D
« Reply #37 on: December 30, 2013, 10:52:37 am »
241 with axe fusion :p but no isn't alloweb you compile in noshell !
mes records personels :

2x2x2 : 2.18 secondes / 2x2x2 une main : 21.15 secondes / 2x2x2 yeux bandés : 47.59
3x3x3 : 5.97 secondes / 3x3x3 une main : 49.86 secondes
4x4x4 : 1.49 minutes / 4x4x4 une main : 6.50 minutes
5x5x5 : 4.10 minutes / 5x5x5 une main : 18.02 minutes
6x6x6 : 8.10 minutes
7x7x7 : 16.03 minutes
9x9x9 : 58.26 minutes

megaminx : 5.59 minutes / pyraminx : 7.91 secondes / square-one : 1.07 minutes

Offline Runer112

  • Moderator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: [AXE] Little contest :D
« Reply #38 on: December 30, 2013, 12:06:37 pm »
Just going to pop in and say that the Auto Opts.txt file shouldn't be used any more. You may actually notice that the Auto Opts.txt file wasn't included in the Axe 1.2.2 release, and this was intentional, as its information has been absorbed by the Commands.html file. If you open Commands.html, select one of the "Show size and speed for:" options in the footer, and hover your mouse over the size or speed information box for just about any math operation; it will provide exact information for any possible input, including all the inputs that were in Auto Opts.txt.

Also: nikitouzz, TheMachine02, if you guys are still at 324 bytes, I currently have you beat. ;)
« Last Edit: December 30, 2013, 12:27:33 pm by Runer112 »

Offline nikitouzz

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 215
  • Rating: +22/-1
    • View Profile
Re: [AXE] Little contest :D
« Reply #39 on: December 30, 2013, 03:41:43 pm »
I have 318 with a little bug.... but as i have say, the "contest" will finish wensday !
mes records personels :

2x2x2 : 2.18 secondes / 2x2x2 une main : 21.15 secondes / 2x2x2 yeux bandés : 47.59
3x3x3 : 5.97 secondes / 3x3x3 une main : 49.86 secondes
4x4x4 : 1.49 minutes / 4x4x4 une main : 6.50 minutes
5x5x5 : 4.10 minutes / 5x5x5 une main : 18.02 minutes
6x6x6 : 8.10 minutes
7x7x7 : 16.03 minutes
9x9x9 : 58.26 minutes

megaminx : 5.59 minutes / pyraminx : 7.91 secondes / square-one : 1.07 minutes

Offline Runer112

  • Moderator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: [AXE] Little contest :D
« Reply #40 on: December 30, 2013, 05:18:27 pm »
I'm only beating you by a single byte, nikitouzz. This should be a close finish!
« Last Edit: December 30, 2013, 05:19:17 pm by Runer112 »

Offline nikitouzz

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 215
  • Rating: +22/-1
    • View Profile
Re: [AXE] Little contest :D
« Reply #41 on: December 30, 2013, 05:23:45 pm »
I have already a little bug... but i want beat you :p
mes records personels :

2x2x2 : 2.18 secondes / 2x2x2 une main : 21.15 secondes / 2x2x2 yeux bandés : 47.59
3x3x3 : 5.97 secondes / 3x3x3 une main : 49.86 secondes
4x4x4 : 1.49 minutes / 4x4x4 une main : 6.50 minutes
5x5x5 : 4.10 minutes / 5x5x5 une main : 18.02 minutes
6x6x6 : 8.10 minutes
7x7x7 : 16.03 minutes
9x9x9 : 58.26 minutes

megaminx : 5.59 minutes / pyraminx : 7.91 secondes / square-one : 1.07 minutes

Offline TheMachine02

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 452
  • Rating: +105/-0
  • me = EF99+F41A
    • View Profile
Re: [AXE] Little contest :D
« Reply #42 on: January 01, 2014, 10:36:57 am »
seem that no matter what I do, can't get it lower than 324 bytes  :P . Oh but wednesday is today isn't it ?  :w00t:
AXE/asm programmer - unleash the power of z80 //C++//C

epic 3D things http://www.ntu.edu.sg/home/ehchua/programming/opengl/CG_BasicsTheory.html

Offline nikitouzz

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 215
  • Rating: +22/-1
    • View Profile
Re: [AXE] Little contest :D
« Reply #43 on: January 01, 2014, 06:43:59 pm »
Ok so i'm at 325 with the bug correction.....

I resume :
1) Runer112 !
2)Themachine02
3)nikitouzz

For this 3 participant can you share you re source code to verifie it  ! ;)

My code :

Code: [Select]
:.A
:While 1
: For(64)r
: If Pxl-Test(→r1,0,[AA55AA55AA55AA55])
: Pxl-On(r1 and 7A(),r1/2/2/2+B and 63)
: End
: r1+1
:End
:getKey(1)-getKey(4)+B→B
:getKey(3)-getKey(2)A()→A
:DispGraphClrDraw
:EndIf getKey(15)
: Lbl A
:+A+96
:While →C≥96
: C-96
:End
:C
« Last Edit: January 01, 2014, 06:49:07 pm by nikitouzz »
mes records personels :

2x2x2 : 2.18 secondes / 2x2x2 une main : 21.15 secondes / 2x2x2 yeux bandés : 47.59
3x3x3 : 5.97 secondes / 3x3x3 une main : 49.86 secondes
4x4x4 : 1.49 minutes / 4x4x4 une main : 6.50 minutes
5x5x5 : 4.10 minutes / 5x5x5 une main : 18.02 minutes
6x6x6 : 8.10 minutes
7x7x7 : 16.03 minutes
9x9x9 : 58.26 minutes

megaminx : 5.59 minutes / pyraminx : 7.91 secondes / square-one : 1.07 minutes

Offline TheMachine02

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 452
  • Rating: +105/-0
  • me = EF99+F41A
    • View Profile
Re: [AXE] Little contest :D
« Reply #44 on: January 02, 2014, 05:17:52 am »
here is mine :

Code: [Select]
[AA55AA55AA55AA55]→pic0

While 1

    For(8)^r
      →r1
      pic0
         For(8)^r
            If {→r2}er1
               pxl-on(r1+X^96,Y+r2 and 63)
            End
            r2+1
         End
      r1+1
     End

getKey(1)-getKey(4)+Y→Y
getKey(3)-getKey(2)+X→X

DispGraphClrDraw
EndIf getKey(15)


316 compiled, 324 with VAT
AXE/asm programmer - unleash the power of z80 //C++//C

epic 3D things http://www.ntu.edu.sg/home/ehchua/programming/opengl/CG_BasicsTheory.html