Author Topic: Axiom Requests  (Read 110739 times)

0 Members and 1 Guest are viewing this topic.

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: Axiom Requests
« Reply #45 on: April 13, 2011, 11:02:13 pm »
so....app-only axiom? that's not really a problem for me.

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Axiom Requests
« Reply #46 on: April 13, 2011, 11:03:27 pm »
Hmmmm it could work, how about it just lets you supply a pointer to the buffer and the programmer can figure out where to get his RAM :P

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: Axiom Requests
« Reply #47 on: April 13, 2011, 11:05:59 pm »
It's a thought. You get 8000 bytes for the prog, without any L* messing around, right? That might be enough if I use appvars for map data.....

What? I didn't say anything!  :-X

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Axiom Requests
« Reply #48 on: April 13, 2011, 11:08:46 pm »
Indeed ^^ I wonder if 16 scale greyscale would be fast enough with 4 sprites to display per object to get good speed though o.O

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: Axiom Requests
« Reply #49 on: April 13, 2011, 11:13:50 pm »
I wasn't wanting it for greyscale. I wanted it for overlays, basically ORing one buffer to another, for a secret project I'm working on. But I don't want either buffer corrupted.
« Last Edit: April 13, 2011, 11:14:08 pm by willrandship »

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Axiom Requests
« Reply #50 on: April 13, 2011, 11:15:59 pm »
Oooooooh in that case we don'y need to bother with this because there is enough memory in L1 L3 and L6 for 3 buffers :) I imagine that Axiom would be fairly easy to make too! :D

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: Axiom Requests
« Reply #51 on: April 13, 2011, 11:20:46 pm »
Yay! Now I can has my 3 buffers! that's enough for me. I really only need two, but who knows, I might need three later :P

Offline Compynerd255

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +53/-4
  • Betafreak Games
    • View Profile
    • Betafreak Games
Re: Axiom Requests
« Reply #52 on: April 13, 2011, 11:26:05 pm »
Oooooooh in that case we don'y need to bother with this because there is enough memory in L1 L3 and L6 for 3 buffers :) I imagine that Axiom would be fairly easy to make too! :D
You can actually do all of the sprite commands to any external buffer by using Pt-Command→BUFF. If you need to use one of the L6-only commands, you can also use Exch() (expr() in the Catalog) to swap your buffer into L6.
« Last Edit: April 13, 2011, 11:26:51 pm by Compynerd255 »
The Slime: On Hold, preparing to add dynamic tiles

Axe Eitrix: DONE

Betafreak Games: Fun filled games for XBox and PC. Check it out at http://www.betafreak.com



Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Axiom Requests
« Reply #53 on: April 13, 2011, 11:28:36 pm »
I didn't say you couldn't?  What do you mean?  I just meant we don't have to allocate any new memory to get 3 buffers :)

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: Axiom Requests
« Reply #54 on: April 13, 2011, 11:35:25 pm »
@Compy Is there a way to OR two buffers together? Also, does that work for DispGraph?

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Axiom Requests
« Reply #55 on: April 13, 2011, 11:42:50 pm »
There is definitely a way to do it in Asm, although you would have to get an asm guru to help you, I am not leet enough :P

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: Axiom Requests
« Reply #56 on: April 13, 2011, 11:45:50 pm »
Hence the axiom request I guess. :P So, I need a way to do bitwise-ORs for entire buffers :P

Also, how do you address the sprites put in as a tilemap using [PICr]? I figured I might as well ask.

Offline Compynerd255

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +53/-4
  • Betafreak Games
    • View Profile
    • Betafreak Games
Re: Axiom Requests
« Reply #57 on: April 14, 2011, 12:02:20 am »
@Compy Is there a way to OR two buffers together? Also, does that work for DispGraph?
Not easily. You will have to OR each byte in turn. However, you can store that directly to the LCD by using Runer112's LCDKit:
Code: (Axe + LCDKit) [Select]
For(I,0,767
{I+L3} or {I+L6}→imag(I
End
The Slime: On Hold, preparing to add dynamic tiles

Axe Eitrix: DONE

Betafreak Games: Fun filled games for XBox and PC. Check it out at http://www.betafreak.com



Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: Axiom Requests
« Reply #58 on: April 14, 2011, 12:04:46 am »
umm, shouldn't it be a +, since or is only 8-bit?

From manual,
EXP1·EXP2
EXP1+EXP2
EXP1☐EXP2    Returns respectively the full 16 bit "and", "or", and "xor" of the two expressions. These are the plot style tokens.

Offline ZippyDee

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 729
  • Rating: +83/-8
  • Why not zoidberg?
    • View Profile
Re: Axiom Requests
« Reply #59 on: April 14, 2011, 04:53:17 am »
umm, shouldn't it be a +, since or is only 8-bit?

From manual,
EXP1·EXP2
EXP1+EXP2
EXP1☐EXP2    Returns respectively the full 16 bit "and", "or", and "xor" of the two expressions. These are the plot style tokens.


You mean like the small + one, right? Personally I've never used that. Thanks for the example for where it would be good to use it xD
« Last Edit: April 14, 2011, 04:53:29 am by ZippyDee »
There's something about Tuesday...


Pushpins 'n' stuff...