Author Topic: Crabcake for Axe  (Read 17584 times)

0 Members and 1 Guest are viewing this topic.

Offline Darl181

  • «Yo buddy, you still alive?»
  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3408
  • Rating: +305/-13
  • VGhlIEdhbWU=
    • View Profile
    • darl181.webuda.com
Re: Crabcake for Axe
« Reply #30 on: June 08, 2011, 03:20:29 pm »
Is it safe to use subroutines and/or subprograms with this?
« Last Edit: June 08, 2011, 03:20:45 pm by Darl181 »
Vy'o'us pleorsdti thl'e gjaemue

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Crabcake for Axe
« Reply #31 on: June 08, 2011, 03:22:36 pm »
Is it safe to use subroutines and/or subprograms with this?
Yes, I believe so.  I can't think of a reason why it wouldn't work. :)
Good luck!

Offline Hot_Dog

  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Crabcake for Axe
« Reply #32 on: June 08, 2011, 03:35:09 pm »
Btw I think you should update the file in the download section because it is still the old one.

I do indeed.

Is it safe to use subroutines and/or subprograms with this?

Yes.  However, subroutines and subprograms MUST return first
« Last Edit: June 08, 2011, 03:36:05 pm by Hot_Dog »

Offline Darl181

  • «Yo buddy, you still alive?»
  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3408
  • Rating: +305/-13
  • VGhlIEdhbWU=
    • View Profile
    • darl181.webuda.com
Re: Crabcake for Axe
« Reply #33 on: June 08, 2011, 07:01:15 pm »
Is it safe to use subroutines and/or subprograms with this?
Yes.  However, subroutines and subprograms MUST return first
...so they end up in the main program in the end?  Makes sense, cool.
Vy'o'us pleorsdti thl'e gjaemue

Offline Hot_Dog

  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Crabcake for Axe
« Reply #34 on: June 08, 2011, 07:49:00 pm »
Is it safe to use subroutines and/or subprograms with this?
Yes.  However, subroutines and subprograms MUST return first
...so they end up in the main program in the end?  Makes sense, cool.

In fact, thanks for pointing that out.  I need to update that in the manuals.

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Crabcake for Axe
« Reply #35 on: August 05, 2011, 06:01:44 am »
Maybe it is a noob question but I didn't very understand the limit question.
The 8KB limit is about code or code+data ?
Now, how much can we write of code and/or data ?
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 JosJuice

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1344
  • Rating: +66/-14
    • View Profile
Re: Crabcake for Axe
« Reply #36 on: August 05, 2011, 06:05:31 am »
Maybe it is a noob question but I didn't very understand the limit question.
The 8KB limit is about code or code+data ?
Now, how much can we write of code and/or data ?
The 8K limit is actually only about code, but old versions of Axe sometimes tried to put data before the 8K limit and code after the 8K limit, instead of placing the code before it and data after it.

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Crabcake for Axe
« Reply #37 on: August 05, 2011, 06:15:43 am »
So I can have as much data as I want ?
And with CrabCake, how much code can I have (if not 8K) ?
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 TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: Crabcake for Axe
« Reply #38 on: August 05, 2011, 07:32:13 am »
Crabcake removes the limit entirely, so you could use the entire RAM if you liked.

Offline Hot_Dog

  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Crabcake for Axe
« Reply #39 on: August 05, 2011, 11:20:55 am »
Indeed...I actually tested a program where the entire 19 KB program was code, not data, and it worked perfectly.

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Crabcake for Axe
« Reply #40 on: August 05, 2011, 12:44:23 pm »
Ok (so I just have to make the game fit in the RAM)
Thank you !
* Hayleia goes to write a huge program
In fact, I was just wondering if I had to worry about optimization or if that could wait a bit ;D
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