Author Topic: Axe Q&A  (Read 581241 times)

0 Members and 2 Guests are viewing this topic.

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Axe Q&A
« Reply #1815 on: November 12, 2014, 12:50:51 am »
Well apps can be max 16384 bytes large
He's not compiling as an app, that's the problem.
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 parserp

  • Hero Extraordinaire
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1455
  • Rating: +88/-7
  • The King Has Returned
    • View Profile
Re: Axe Q&A
« Reply #1816 on: November 12, 2014, 01:12:16 am »
This has been reported and fixed (you'd have posted 1 day later it would have been one year ago exactly :P) here. The dev build also fixes some other bugs you have not come into so upgrading is recommended ;)
Awesome, works like a charm. Thanks!

Offline jimbo1qaz

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 7
  • Rating: +0/-0
    • View Profile
Re: Axe Q&A
« Reply #1817 on: November 12, 2014, 01:23:21 am »
How do I get 3/4-level grayscale to not flicker? Interrupts?
If I use both at once, how do I get it to not flicker?
What is recommended way to get higher-levels grayscale?

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: Axe Q&A
« Reply #1818 on: November 12, 2014, 05:44:12 am »
That's a bunch of questions at once. In general it's quite hard to get flickerless grayscale in axe but using interrupts can be a good idea as I've seen that used in various axe and asm programs. You'd have to wait for somebody more knowledgeable than me to really answer your question tho.
Welcome to Omnimaga by the way. You should introduce yourself!
I'm not a nerd but I pretend:

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: Axe Q&A
« Reply #1819 on: November 12, 2014, 10:05:16 am »
How do I get 3/4-level grayscale to not flicker? Interrupts?
If I use both at once, how do I get it to not flicker?
What is recommended way to get higher-levels grayscale?
You can achieve awesome grayscale with runers GrayLib
« Last Edit: November 12, 2014, 10:43:46 am by Runer112 »

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

Offline jimbo1qaz

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 7
  • Rating: +0/-0
    • View Profile
Re: Axe Q&A
« Reply #1820 on: November 12, 2014, 07:45:47 pm »
OK I'll look into graylib.
How do I get many-level grayscale? I currently have two 4-level's I switch between every other frame, creating a period of 6. And it turns out I currently have 7-level grayscale using only 3 buffers, which is the maximum possible with a period of 6. Yay!
Is it possible to do even better, say even more colors? Will it flicker horribly?
How do I minimize flickering, with, say 7-level? As in distribute the "pulses" to maximize "frequency", so it's not on for 3 frames and off for the next 3, but instead switches every other frame? I'm not sure how my current solution behaves regarding pulse distribution.

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: Axe Q&A
« Reply #1821 on: November 13, 2014, 08:12:52 am »
there has already been done up to 16-level grayscale but you can like forget interaction on so many levels, only display a pic and that's it :P

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

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: Axe Q&A
« Reply #1822 on: November 13, 2014, 05:25:35 pm »
As long as your screne can handle it and render it without too much flicking, you can go with as much shades as you want. 3/4 shades are common because they only takes a second buffer and because common visual tricks helped the illusion to work even with fast graphical changes. With too much shades (and so buffers), you could have bad "aliasing" or "motion blur" problems as it's shown on the GrayLib's Pokemon demo where an option exists to avoid these problems when scrolling.

Offline pimathbrainiac

  • Occasionally I make projects
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1731
  • Rating: +136/-23
  • dagaem
    • View Profile
Re: Axe Q&A
« Reply #1823 on: November 13, 2014, 05:33:21 pm »
OK I'll look into graylib.
How do I get many-level grayscale? I currently have two 4-level's I switch between every other frame, creating a period of 6. And it turns out I currently have 7-level grayscale using only 3 buffers, which is the maximum possible with a period of 6. Yay!
Is it possible to do even better, say even more colors? Will it flicker horribly?
How do I minimize flickering, with, say 7-level? As in distribute the "pulses" to maximize "frequency", so it's not on for 3 frames and off for the next 3, but instead switches every other frame? I'm not sure how my current solution behaves regarding pulse distribution.

I made a library for 8 level here. It's not the best, but it is fairly good, imo.
I am Bach.

Offline Michael Pang

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 19
  • Rating: +0/-0
    • View Profile
Re: Axe Q&A
« Reply #1824 on: March 07, 2015, 09:16:31 pm »
Is it possible to dynamically truncate/expand an os ram variable's size? Or is it necessary to create a new one and copy over?

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Axe Q&A
« Reply #1825 on: March 07, 2015, 09:21:31 pm »
It's possible with the MemKit Axiom included in the Tools folder of the Axe download. The commands you're looking for are the somewhat poorly-named New and Delete commands. If the included readme doesn't explain them well enough and you have questions about them after looking at it, just ask.

Offline Michael Pang

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 19
  • Rating: +0/-0
    • View Profile
Re: Axe Q&A
« Reply #1826 on: March 10, 2015, 09:25:49 am »
Where can I find a list of all the axioms? There was an axiom thread in the axe parser section but it looks like it's outdated and missing a lot of axioms.

Offline Michael Pang

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 19
  • Rating: +0/-0
    • View Profile
Re: Axe Q&A
« Reply #1827 on: March 12, 2015, 09:58:55 pm »
Any help here? I still haven't been able to find a comprehensive list of axioms :(

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Axe Q&A
« Reply #1828 on: March 12, 2015, 11:34:11 pm »
How's this? I went a bit overboard, but I figured if I was going to search around for every Axiom, I may as well search for other useful things at the same time to create the ultimate resource list.

Offline Alex Twigg

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 6
  • Rating: +0/-0
  • This is not personal...
    • View Profile
Re: Axe Q&A
« Reply #1829 on: March 16, 2015, 06:44:53 pm »
Two questions, first how do you install Axioms. And being new to axe (only experience with other languages with other languages are Ti-Basic and very little Java Script) is there any GOOD tutorials out there? All I have done is googled axe parser tutorial and clrhome's pictures do not load and i cant find the complete on at cemtech. Thanks
I use a calculator as a substitute for a book and I am still cool in school...