Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - macweirdo

Pages: [1]
1
Axe / I need help: Bits, bytes, and exponents
« on: November 27, 2011, 01:08:51 pm »
Alright, so I want to read, for example, a single bit of data from a byte.

I tried
Code: [Select]
(L3+offset) and 2 to the power of bit_I_want where L3+offset is my byte of choice and "and" is logical and

but I can't figure out how to get # to the power of other# because ^ is now modulus.

So tl;dr how do you read a bit from a byte and how do you multiply a number by itself many times without using For(?

Thanks in advance :D

2
Axe / Free RAM and drawing stuff
« on: November 20, 2011, 04:39:34 pm »
So let's say I wanted to have a way to store two bits per pixel on the screen (768 bytes of data, * 2.) into RAM so I could manipulate it. How would I go about doing this, and which safeRam areas should I use (if I use L6, I'll just end up drawing directly to the screen, but I want 4scale as well, and I know it's possible.)

The first one, I'm guessing might be L3, and everytime I want to access data, I'll just do
for bit one:
Code: [Select]
{L3}+(number of pixel)
and bit two:
Code: [Select]
{other safeRam}+(number of pixel)
so to draw the screen, I just have to do a
Code: [Select]
DispGraph(L3,other safeRam)^r
So tl;dr, which safeRam besides L3 should I use for holding the entire screen?
Thanks in advance!

3
The Axe Parser Project / Command reference help
« on: November 07, 2011, 09:42:47 am »
Hey guys, can someone post the command reference HTML and PDF? I use an iPad when I'm not at home.

Inb4 iPad sux

Pages: [1]