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.


Messages - meishe91

Pages: 1 ... 144 145 [146] 147 148 ... 207
2176
TI Z80 / Re: Calcalca
« on: June 06, 2010, 09:27:18 pm »
Ok, so I just tried this on WabbitEmu. I tried converting 180 pounds into kilograms and got a ERROR:MISMATCH. I tried "180lb into kg" and "180lbs into kg" (in case you differentiated between the two for some reason) and it didn't work.

Edit: Side note: If it would be possible you should maybe change when you press the Θ button it outputs a Ω instead for ohms because it is odd saying "kohm" for kilo-ohms. Just my opinion anyways, its not a big deal though.

2177
Axe / Re: How does 4-level greyscale work in Axe?
« on: June 06, 2010, 09:11:32 pm »
Ok, ya. Couldn't you technically use a blank ([0000000000000000]) sprite to erase it on the buffer? Or not while doing grayscale?

2178
Computer Projects and Ideas / Re: Piworld PC
« on: June 06, 2010, 08:57:04 pm »
Sweet :) Don't know much about this project really but always good to hear when projects are being continued and such.

2179
Axe / Re: How does 4-level greyscale work in Axe?
« on: June 06, 2010, 08:56:10 pm »
@nemo
Was my explanation correct?

2180
Axe / Re: How does 4-level greyscale work in Axe?
« on: June 06, 2010, 08:44:34 pm »
Well I think it is actually erasing the path that would be left behind (or turning those pixels off so it can be done again). I don't know though. I haven't tested that yet.

Edit: Ninja'd :P

But I think it is kind of like in TI-BASIC when you are doing a basic sprite moving routine on the homescreen and you move the character over and you have a left over character in the path. So you use the "_" (space) token to erase that. Hope that makes sense.

2181
Axe / Re: Enlarging sprites?
« on: June 06, 2010, 08:40:25 pm »
Not a built in command. But there are routines in the Axe board somewhere. There are a couple. I don't know if they would work the same now though since they were made for previous versions.

2182
Axe / Re: Enlarging sprites?
« on: June 06, 2010, 08:18:40 pm »
I don't know but it isn't a correct sprite hex. I think he just typed a bunch but I'm not sure. Just take away the 5C3 at the end and it'll work.

I updated my post to show how to get all the different levels of magnification using my routine for anyone who wants to check that one out.

2183
The Axe Parser Project / Re: Your Projects - Post and Critique
« on: June 06, 2010, 05:40:17 pm »
That's cool. I will have to try that out later. Good work :)

2184
Axe / Re: Enlarging sprites?
« on: June 06, 2010, 05:14:26 pm »
I'm close to getting it to work. The result is just turning out skewed. I'll post the code to see if someone else can get it to work before me.

Got it to work!

Code: (x2 Magnification) [Select]
.TEST
ClrDraw
ClrDraw^r
[3C42A59999A5423C]→Pic1
[C0C0000000000000]→Pic2
Pt-On(0,0,Pic1)
DispGraph
0→C→D
For(A,0,7)
For(B,0,7)
If pxl-Test(B,A)
Pt-On(B+C+10,A+D,Pic2)
End
C+1→C
End
0→C+D+1→D
End
DispGraph^r

I realize some may not be optimized.

Note: Technically you don't have to use both buffers. I just did because it avoids colliding of pictures. It just depends where you want the end to display.

P.S. I would like to point out out the time when I made my first successful Axe program/routine ;D

Edit: If you want x8 magnification (like graphmastur did) you only have to make a few tweaks to my code. Once I figure it out you will be able to make any sized magnification with simple tweaks of mine, I just have to make sure I'm right.

Anywho, the tweak for x8.

-Change [C0C0000000000000]→Pic2 to [FFFFFFFFFFFFFFFF]→Pic2.
-Change Pt-On(B+C+10,A+D,Pic2) to Pt-On(B+C+17,A+D,Pic2).
-Change C+1→C to C+7→C.
-Change 0→C+D+1→D to 0→C+D+7→D.

Edit: Ok, so ya. This method does work with any level of magnification. (Well up to x8 since I use sprites to display the magnified version. You could do more if you started displaying multiple sprites for one magnified block.)

Here is what you do:

-You change the hex code into a block of either 1*1, 2*2, 3*3, 4*4, 5*5, 6*6, 7*7, or 8*8 (which ever level of magnification you want).
--x1: [8000000000000000]→Pic2
--x2: [C0C0000000000000]→Pic2
--x3: [E0E0E00000000000]→Pic2
--x4: [F0F0F0F000000000]→Pic2
--x5: [F8F8F8F8F8000000]→Pic2
--x6: [FCFCFCFCFCFC0000]→Pic2
--x7: [FEFEFEFEFEFEFE00]→Pic2
--x8: [FFFFFFFFFFFFFFFF]→Pic2
-Change the constant in the first part of the Pt-On( (that is in the For( loop) to 8+Level of Magnification+1.
--x1: Pt-On(B+C+10,A+D,Pic2)
--x2: Pt-On(B+C+11,A+D,Pic2)
--x3: Pt-On(B+C+12,A+D,Pic2)
--x4: Pt-On(B+C+13,A+D,Pic2)
--x5: Pt-On(B+C+14,A+D,Pic2)
--x6: Pt-On(B+C+15,A+D,Pic2)
--x7: Pt-On(B+C+16,A+D,Pic2)
--x8: Pt-On(B+C+17,A+D,Pic2)
-Change the constant that is added to the variable C to Level of Magnification-1.
--x1: C+0→C (Could technically take out at this point.)
--x2: C+1→C
--x3: C+2→C
--x4: C+3→C
--x5: C+4→C
--x6: C+5→C
--x7: C+6→C
--x8: C+7→C
-Change the constant that is added to the variable D to Level of Magnification-1.
--x1: 0→C+D+0→D (Can simplify to 0→C+D→D.)
--x2: 0→C+D+1→D
--x3: 0→C+D+2→D
--x4: 0→C+D+3→D
--x5: 0→C+D+4→D
--x6: 0→C+D+5→D
--x7: 0→C+D+6→D
--x8: 0→C+D+7→D

Example:

Code: (x6 Magnification) [Select]
.MAGX6
ClrDraw
ClrDraw^r
[3C42A59999A5423C]→Pic1
[FCFCFCFCFCFC0000]→Pic2
Pt-On(0,0,Pic1)
DispGraph
0→C→D
For(A,0,7)
For(B,0,7)
If pxl-Test(B,A)
Pt-On(B+C+15,A+D,Pic2)
End
C+5→C
End
0→C+D+5→D
End
DispGraph^r

I just realized that DispGraphr isn't technically used for displaying the back buffer (it works in this case though). Is there a command that does just display the back buffer? Or is DispGraphr used for this as long as it isn't in a loop?

2185
TI Z80 / Re: Contest Entry
« on: June 06, 2010, 04:28:41 pm »
Very cool. Hope this turns out well :)

2186
Axe / Re: Enlarging sprites?
« on: June 06, 2010, 03:51:42 pm »
Well the only way I can think of doing this is making a program that checks for a position of a pixel on one buffer and for ever pixel make a block of four pixels on the other buffer.

Example:

Code: [Select]
██
██

would be:
████
████
████
████

That's the only way I can think about. I don't have time to try and make a program in Axe for this right now but I can try later if no one else does. No idea if this helps though.

2187
Wow, that looks really nice! Can't wait to see how that turns out! :)

2188
Other / Anyone Else Have a HD2?
« on: June 06, 2010, 01:02:12 am »
Basically what the title says.

I'm just curious if anyone else on here has a HTC Leo/HD2/Touch Pro HD2 phone (T-Mobile (like I have) or the International version). I'm curious if anyone who does have this phone can point me in directions to where I can get good information about it. I've already discovered XDA-Developers and a couple other places. Also, just curious, if you have one, what you think about the phone?

P.S. Feel free to move this to Randomness if you wish, I wasn't sure if I should post it there or here.

2189
Humour and Jokes / Re: Our Dear Friend...gone evil? :O
« on: June 05, 2010, 11:45:10 pm »
No for two reasons:
1. To late for that :P
2. We'd all miss ya :P

2190
Humour and Jokes / Re: Our Dear Friend...gone evil? :O
« on: June 05, 2010, 11:38:01 pm »
So much for 666 :P

Pages: 1 ... 144 145 [146] 147 148 ... 207