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 - c4ooo

Pages: 1 ... 15 16 [17]
241
If i know the flash page of a file, how can a read/write to it without using Y1 or GetCalc()?

242
TI Z80 / [Axe] Lazer II
« on: March 08, 2015, 08:41:24 pm »
Lazer (with an Z!) II is a sequel to Lazer I (also with an Z!), a cool Lazer simulator puzzle game where you spin mirrors to make lasers hit Targets. The original version was made in Ti-Basic, and can still be found http://www.ticalc.org/archives/files/fileinfo/459/45934.html]here.
Lazer 2 will add the following to Lazer 1:
Lazer v2.1 download: http://www.ticalc.org/archives/files/fileinfo/464/46490.html
  • Re-Writen in axe, every thing faster!
  • Greyscale
  • Level packs (sorof there)
  • A level editor (coming)
  • More tiles
Thanks to @chickendude  there is now an animated screen shot. Thanks chickendude :3 Also remember that every thing you see is still alpha :P

I have released the third version, v2.2.
Here is a changelog:
+MAD optimization
+Over 20 new levels, but maybe more ;)
+Pressing [ + ] will make the lasers go 2 pixels at a time, and [Enter] will pause it.
+The game now requires only 1500 bytes at run time, which is a less arbitrary number then 2000B was :P
+Minor visual improvements
+Level name can be seen in the level selection menu.
The game itself looks relatively the same as before... so no need for a screenie.
 
I would like to thank@Runer112 for the greyscale code and @chickendude for bug testing :)

243
So coming from java i might need some help understanding this asm:
When looking at the asm at the "example" under Load_SFont i see something like this.
Code: [Select]
LD          A,'F'
LD          L,A 
LD          H,0
ADD         HL,HL
ADD         HL,HL
ADD         HL,HL; * multiply HL by 8
B_CALL      Load_SFont ;sFont_record =03,00,02,04,06,04,04,00

So now the HL register contains a pointer to the bitmap of the letter 'f'; one that i could render with axe? If that is so, well big thanks! ;D (altho i might need some help converting it to hex). If not then idk where to go next.
Update:
I guess this is an axe thing now, but i tried the following axe code:
Code: [Select]
'F' .Load the number corresponding to "f" into HL (axe's "ans" variable)
Asm(292929) .Multiply by 8
Asm(CD806F) .BCall Load_LFont
->A .Store to A
ClrDraw
Bitmap(0,0,A)
DispGraph
Repear getKey
End
This just displays things that look nothing like the letter "f".
 ._.

244
The exact thing I wanted to do was instead of using the axe text() command to use a custom one that could draw to both the front and back axe buffer. If I had a pointer to the fonts, I could use the axe pt-on() command to draw the chars.

245
Other / Re: Z820 - Z80 computer
« on: March 07, 2015, 07:10:42 pm »
It always makes me jealous when I see one of these. I put some time and money into trying to make a z80 computer, but after a burned rom chip and 2 burned 9/5 v power converters, I gave up the project. 

246
ASM / Re: 83+/84+ Free Ram Areas
« on: March 07, 2015, 04:21:46 pm »
What exactly are "lFont_record" and "sFont_record"?

247
I wanted to make a custom text drawer, overall better then  the defualt OS one. Ime guessing that the OS stores the sprite sheet with all the symbols on it somewhere in mem ,and as Google sherches revealed nothing, does anyone know the address? 

248
The Axe Parser Project / Re: Features Wishlist
« on: March 06, 2015, 07:33:19 pm »
I want a line algorithem that does not cull (not render) the line if one of vertices of the line is not within the range of the screen. I don't rly see why it was implemented anyway. But if you dont,  I can write my own line algorithem so don't worry  ;) (but they won't be as optimized as they wood be if they where ActUaly part of the language.)  ::)

249
Axe / Re: Password Protection - Turn Off Calculator?
« on: March 06, 2015, 07:08:41 pm »
I made a password app with axe and zstart before. Just do:
Code: [Select]
Asm(3E01D303FB76FDCB09A6C9)This powers the calc off and as soon as the on key is pressed the program will resume directly after this line.

I tied out your opcode, it does not really work. It does turn the calculator of, but the it just goes back to the OS, not to the next line of code. For example:
Code: [Select]

Clrhome
Disp("hello")
Asm(your opcode)
Disp("world")
Reapeat getkey
End

This will display "hello" but not "world". Mabey I have to enable some zstart settings.

250
Axe / Re: Password Protection - Turn Off Calculator?
« on: March 05, 2015, 01:07:41 pm »
The issue is that you'd still be able to exit that program by simply pulling a battery
Yea...
But you can also bypass the MirageOS protectin by pulling the battery  ::) ...
And like every security system ive tried.

251
Axe / Re: How to calculate (using trig) rotation in axe?
« on: March 05, 2015, 01:04:03 pm »
Ok thanks! Going to try it out. Its just that i tried to look at the 3d cube demo program and got confused by the code!

252
Axe / Re: Password Protection - Turn Off Calculator?
« on: March 05, 2015, 06:29:39 am »
Ime personaly not an Axe pro, but cant you just use
Code: [Select]
shade()->s
shade(0)
Repeat IsLocked
end
shade(s)
My calculator protector system i wrote just uses shade() to turn the screen "off". But, once again ime no pro in Axe or Ti-8x, so dont be mad if ime missing an important point.

253
Axe / Re: How to calculate (using trig) rotation in axe?
« on: March 04, 2015, 09:58:01 pm »
The sin( and the cos( functions both return values from -127 to +127. The period is from 0 to 256, so if you were to draw a sine curve it starts at 0, crosses the x-axis at 128 and ends again on the x-axis on 256.

Yes. But if it returns values from -127 to +127, will that mean that I devide the final out put by 127? That's the part I don't get.
if you can provide some code that rotates (x,y) around the z axis that would be nice. (Originally I said y but I ment z)

254
Axe / How to calculate (using trig) rotation in axe?
« on: March 04, 2015, 07:14:46 am »
i wanted to make a 3d game, but as ime not sure how to use the sin and cos function in axe as they return unexpected values.
How would i go about implementing rotation (for now, if i know haw to rotate round y i can rotate around any thing) around the y axis?
Thank you;

Pages: 1 ... 15 16 [17]