Author Topic: Help for grayscale  (Read 3600 times)

0 Members and 1 Guest are viewing this topic.

Offline LordConiupiter

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 339
  • Rating: +3/-0
  • Just one of the thousands of Axe-fans...
    • View Profile
Help for grayscale
« on: June 23, 2010, 12:31:51 pm »
I get a 'BAD SYMBOL' error at 46% when I try to compile this code:
Code: [Select]
:[Pic0]->Pic0
:[Pic1]->Pic1
:Pic0->L6
:Pic1->L3
:0->K
:Repeat K
:getKey->K
:DispGraph[sup]r[/sup]
:End
what am I doing wrong this time?
Something with storing in L6 doesn't work or something.
When I jump to with prgm my code is flipping and flickering when I move the cursor.
I am using 0.3.1 at the time.

ps: sorry guys, I got it: I missed a curly bracet before the L3 and L6
« Last Edit: June 23, 2010, 12:38:03 pm by LordConiupiter »
everytime that I was down, you would always come around, and get my feedback on the ground. (modified part from 'Seasons in the sun')

No matter how many errors are bothering you, always try to stay rel-Axe!

The HoMM project will be resumed as soon Axe 1.0.0 will be released!
Projects:
Code: [Select]
HoMM:   [==--------]    Project 'resumed': I'm suffering overwhelming new ideas being popped up in my dreams :P
tiDE:   [----------]    Explored and understood the main part of the code: just started writing a Tokenizer.



password of the week: uvanapererubupa (Any pronunciation is the right one ;) )   :D click me, and you'll be raided :D

Offline FinaleTI

  • Believe in the pony that believes in you!
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1830
  • Rating: +121/-2
  • Believe in the pony that believes in you!
    • View Profile
    • dmuckerman.tumblr.com
Re: Help for grayscale
« Reply #1 on: June 23, 2010, 12:37:09 pm »
Try using Copy(Pic0,L6,756) instead of Pic0->L6.


Spoiler For Projects:

My projects haven't been worked on in a while, so they're all on hiatus for the time being. I do hope to eventually return to them in some form or another...

Spoiler For Pokemon TI:
Axe port of Pokemon Red/Blue to the 83+/84+ family. On hold.

Spoiler For Nostalgia:
My big personal project, an original RPG about dimensional travel and a few heroes tasked with saving the world.
Coding-wise, on hold, but I am re-working the story.

Spoiler For Finale's Super Insane Tunnel Pack of Doom:
I will be combining Blur and Collision Course into a single gamepack. On hold.

Spoiler For Nostalgia Origins: Sky's Story:
Prequel to Nostalgia. On hold, especially while the story is re-worked.

Offline LordConiupiter

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 339
  • Rating: +3/-0
  • Just one of the thousands of Axe-fans...
    • View Profile
Re: Help for grayscale
« Reply #2 on: June 23, 2010, 12:38:47 pm »
thanks! good tip!

There is another thing I really would like to know: Is there a way to get other kind of data pointers than just only the prgm and AppVars? like Pics? I would like to read my Pic0 and Pic1 straight from my RAM instead of compiling it with my code.

another question: how long does it approximately take to DispGraphr
« Last Edit: June 23, 2010, 01:56:32 pm by LordConiupiter »
everytime that I was down, you would always come around, and get my feedback on the ground. (modified part from 'Seasons in the sun')

No matter how many errors are bothering you, always try to stay rel-Axe!

The HoMM project will be resumed as soon Axe 1.0.0 will be released!
Projects:
Code: [Select]
HoMM:   [==--------]    Project 'resumed': I'm suffering overwhelming new ideas being popped up in my dreams :P
tiDE:   [----------]    Explored and understood the main part of the code: just started writing a Tokenizer.



password of the week: uvanapererubupa (Any pronunciation is the right one ;) )   :D click me, and you'll be raided :D

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: Help for grayscale
« Reply #3 on: June 23, 2010, 02:04:35 pm »
Did you try my Axe Tunnel clone (called Axe Tunnel)? Once, I tried making a version with grayscale and it ran around 1.5x slower. This was back when GS was first implemented, meaning now it would be faster. However it may still be slower than Disp if you refresh the screen extremly rapidly. The best way to check is to experiment with it.

Offline LordConiupiter

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 339
  • Rating: +3/-0
  • Just one of the thousands of Axe-fans...
    • View Profile
Re: Help for grayscale
« Reply #4 on: June 23, 2010, 02:26:40 pm »
thanks, I'm already experimenting :P
everytime that I was down, you would always come around, and get my feedback on the ground. (modified part from 'Seasons in the sun')

No matter how many errors are bothering you, always try to stay rel-Axe!

The HoMM project will be resumed as soon Axe 1.0.0 will be released!
Projects:
Code: [Select]
HoMM:   [==--------]    Project 'resumed': I'm suffering overwhelming new ideas being popped up in my dreams :P
tiDE:   [----------]    Explored and understood the main part of the code: just started writing a Tokenizer.



password of the week: uvanapererubupa (Any pronunciation is the right one ;) )   :D click me, and you'll be raided :D

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: Help for grayscale
« Reply #5 on: June 23, 2010, 02:27:58 pm »
As of now, you can only create appvars and read appvars and programs. When more variable support is implemented, however, this will become possible.
* calcdude posts in the features request thread.
« Last Edit: October 09, 2010, 05:53:33 pm by calcdude84se »
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.