Author Topic: Axiom Requests  (Read 110352 times)

0 Members and 1 Guest are viewing this topic.

Offline Geekboy1011

  • The Oneironaut
  • Donator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2031
  • Rating: +119/-2
  • Dream that Awakening dream
    • View Profile
Re: Axiom Requests
« Reply #165 on: March 01, 2012, 11:09:53 pm »
I'm not sure if you realize that you just posted a link to the "normal post" icon for threads.....


uhh fail......

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Axiom Requests
« Reply #166 on: May 09, 2012, 01:57:56 pm »
Maybe a Power coder could make an Axiom to write to flash without using the Unarchive/Archive command, but with unlocking ROM and all (of course, the Axiom would lock it back after writing to it).
This may not be faster than Unarchiving/Archiving but would be useful for a game that has a huge savegame, if it is run on a regular 83+ (with not a lot of ROM) to avoid GarbageCollecting.
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 calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Axiom Requests
« Reply #167 on: May 09, 2012, 01:59:59 pm »
Maybe a Power coder could make an Axiom to write to flash without using the Unarchive/Archive command, but with unlocking ROM and all (of course, the Axiom would lock it back after writing to it).
This may not be faster than Unarchiving/Archiving but would be useful for a game that has a huge savegame, if it is run on a regular 83+ (with not a lot of ROM) to avoid GarbageCollecting.
You can't write a savegame over the last savegame in flash. You have to put it in a currently unused flash area (which is exactly what Archive does)
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Axiom Requests
« Reply #168 on: May 09, 2012, 02:01:29 pm »
You can't write a savegame over the last savegame in flash. You have to put it in a currently unused flash area (which is exactly what Archive does)
D:
Not even by rewriting the whole flash page where the savegame is ? :P

I mean you copy the page somewhere somehow, then replace the savegame in your copy, then copy the modified copied page onto the old page.
« Last Edit: May 09, 2012, 02:09:05 pm 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 DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Axiom Requests
« Reply #169 on: May 09, 2012, 02:39:39 pm »
When Axioms are released, do they automatically get included by default with newer Axe releases?

Offline Link

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 152
  • Rating: +7/-3
  • Well excuse me princess!
    • View Profile
Re: Axiom Requests
« Reply #170 on: September 06, 2012, 09:45:03 pm »
When Axioms are released, do they automatically get included by default with newer Axe releases?
I don't think so, it's possible they might get included in the future, but I had to download mine separately.
Perhaps they could do something like #include <stdio.h> like in C? but instead for axioms?

Offline ZippyDee

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 729
  • Rating: +83/-8
  • Why not zoidberg?
    • View Profile
Re: Axiom Requests
« Reply #171 on: September 06, 2012, 09:56:08 pm »
Axioms would not be included as part of the app file itself. Axe needs that space for other improvements to the language, not to store Axioms. Since the axioms are basically third-party plugins to Axe, I'd say they'll probably stay as separately downloadable files. There may be a few really commonly useful Axioms that might find their way into the download files at some point, but I don't think there will ever be a comprehensive set of all released Axioms in the releases themselves.
There's something about Tuesday...


Pushpins 'n' stuff...


Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Axiom Requests
« Reply #172 on: September 07, 2012, 01:11:57 am »
I think DJ_O's question was more "are new Axioms included in the zip", not "are new Axioms included in Axe". I may be wrong though. Anyway, in both cases the answer is "no" :P

Perhaps they could do something like #include <stdio.h> like in C? but instead for axioms?
Well, that's how they currently work, no ?
You have to do #Axiom(TEXT) to include the commands from the TEXT Axiom, isn't it what you want ?
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 133794m3r

  • LV2 Member (Next: 40)
  • **
  • Posts: 21
  • Rating: +1/-3
    • View Profile
Re: Axiom Requests
« Reply #173 on: December 21, 2012, 10:18:38 pm »
OK, something that I need is an InData that actually checks the data, not just strings. InData's great and all for strings, but I need one for actual data. I've tried writing my own out, but it never seems to evaluate. I'm going to post it in the help pages, but still having that function would be greatly appreciated. Also if it returned 65535 if it wasn't found instead of 0(as the data is 0 indexed) would also be greatly appreciated.

Offline squidgetx

  • Food.
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1881
  • Rating: +503/-17
  • rawr.
    • View Profile
Re: Axiom Requests
« Reply #174 on: December 22, 2012, 01:07:44 pm »
In memory, there is no difference between "actual data" and "strings" in Axe. "HELLO WORLD" is literally equivalent to [48454C4C4F20574F524C44] which is also equivalent to Data(72,69,76,76,79,32,87,79,82,76,68)

Offline Freyaday

  • The One And Only Serial Time Killing Catboy-Capoeirista-Ballerino
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1970
  • Rating: +128/-15
  • I put on my robe and pixel hat...
    • View Profile
Re: Axiom Requests
« Reply #175 on: December 22, 2012, 02:01:11 pm »
In memory, there is no difference between "actual data" and "strings" in Axe. "HELLO WORLD" is literally equivalent to [48454C4C4F20574F524C4400] which is also equivalent to Data(72,69,76,76,79,32,87,79,82,76,68,0)
Fixed it for you: Axe automatically adds ending NULs to the end of strings.
In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names


I'm a performer at heart; I stole it last week.
My Artwork!

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Axiom Requests
« Reply #176 on: December 22, 2012, 02:02:46 pm »
Just noticed this topic and i happen to have an axiom request: Allow AppVariables to be executed from flash! :D
So propably similar to pageswap then only that it uses appvars.

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline Freyaday

  • The One And Only Serial Time Killing Catboy-Capoeirista-Ballerino
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1970
  • Rating: +128/-15
  • I put on my robe and pixel hat...
    • View Profile
Re: Axiom Requests
« Reply #177 on: December 22, 2012, 02:09:44 pm »
Just noticed this topic and i happen to have an axiom request: Allow AppVariables to be executed from flash! :D
So propably similar to pageswap then only that it uses appvars.
Why appvars? Why not programs?
In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names


I'm a performer at heart; I stole it last week.
My Artwork!

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Axiom Requests
« Reply #178 on: December 22, 2012, 02:16:03 pm »
because appvars are more invisible to the end user

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline DrDnar

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 546
  • Rating: +97/-1
    • View Profile
Re: Axiom Requests
« Reply #179 on: December 22, 2012, 02:43:28 pm »
The runprgm Axiom lets you convert an assembly/Axe program into an appvar, and execute it. The only difference between a program and an appvar is the type byte, so it was easy functionality to implement. Of course, the program is still copied to RAM and run from RAM. Executing an appvar in flash without coping it to RAM is just too much of a headache, due to both the need to change the execution permissions (requires unlocking flash), and the fact that the location would be variable and might cross page boundries. If you really want execution from flash, use an application.
"No tools will make a man a skilled workman, or master of defense, nor be of any use to him who has not learned how to handle them, and has never bestowed any attention upon them. . . . Yes, [] the tools which would teach men their own use would be beyond price."—Plato's The Republic, circa 380 BC