136
TI Z80 / Re: Breakout clone
« on: November 12, 2010, 11:30:24 am »
number of balls, yes.
Paddle length, not yet.
Block type 10 is having major problems...
Paddle length, not yet.
Block type 10 is having major problems...
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. 136
TI Z80 / Re: Breakout clone« on: November 12, 2010, 11:30:24 am »
number of balls, yes.
Paddle length, not yet. Block type 10 is having major problems... 137
TI Z80 / Re: Breakout clone« on: November 12, 2010, 11:02:12 am »Ok so when score reaches 10000 it increases the second variable? Sounds interesting. I wonder how do you display them? I think I tried such thing before and failed. File size seems pretty nice so far. Keep up the good work and I hope you can solve the issues you are having.Well thats why it increases the second variable when it hits 10000 instead of 65535 or 60000. Code: [Select] :Output(4,0,S>Dec) I fixed the minor problems and got major. It crashes or just takes far longer than it should when using block 10. Code: [Select] :.blocks
138
TI Z80 / Re: Breakout clone« on: November 12, 2010, 12:40:07 am »
Ok I did a bit of optimization and added a ball cap and two-var scores (now the max score is 655359999).
The file size is: 7914. I'm having a minor 'Return'ing problem with the level editor, though. Seems I messed up an somewhere 139
TI Z80 / Re: Breakout clone« on: November 11, 2010, 11:46:04 pm »I believe doing it that way it possible, but I'm only 80% sure as I've never tried it.Ok then does Unarchive return a pointer? Don't want to throw in an unnecessary GetCalc routine... 140
TI Z80 / Re: Breakout clone« on: November 11, 2010, 11:38:35 pm »Also: major improvements can be made if I can Copy(xx,Y1,yy) Is this possible? I'm afraid to test itYou can not store directly to archive, so that's impossible.Oh and one more, am I asking too many questions?Nah, it's cool. The more questions you ask, the more everyone learns. Whoops. I meant Copy(Y1,xx,yy) 141
TI Z80 / Re: Breakout clone« on: November 11, 2010, 11:30:50 pm »
I really need some answers.
Is !If X-56 also an optimisation? What if I have compound If statements? I know splitting them up saves speed, but what about space? Which is smaller? ClearDrawr or StorePic? (my guess is StorePic, but only by up to 5 bytes) Also: major improvements can be made if I can Copy(xx,Y1,yy) Is this possible? I'm afraid to test it Lastly, should I be using DelVar in my save routine? I do have to overwrite the appvar every time I save... Oh and one more, am I asking too many questions? Spoiler For Spoiler: 142
TI Z80 / Re: Breakout clone« on: November 11, 2010, 07:56:12 pm »I don't think I'm using that anywhere, just I have no idea why that didn't cause problems... the second 'C' should've been 'L2'. I was using E as the second parameter for 'Copy(' Ah well. Back to work. I guess I have enough to optimize my code sufficiently. Also, will somebody look at my saving routine to make sure I'm doing that right? EDIT: does Copy( work with Y1? It would make my load routine lots smaller. 143
TI Z80 / Re: Breakout clone« on: November 11, 2010, 06:43:24 pm »
Well I gotta do homework... so is somebody gonna do this for me or do I need the experience?
144
TI Z80 / Re: Breakout clone« on: November 11, 2010, 06:32:11 pm »145
TI Z80 / Re: Breakout clone« on: November 11, 2010, 06:29:01 pm »well then who wants to optimize some code I don't have any experience in it, and my minor attempts so far have failed dramatically. Actually I was thinking about asking if that would be better. Condition where you can't do that: When you're using ElseIfs (at least with my version of Axe) EDIT: actually, edit out that Output( statement and it will run perfectly, except for the new type of block I was putting in. 146
TI Z80 / Re: Breakout clone« on: November 11, 2010, 06:22:49 pm »
well then who wants to optimize some code I don't have any experience in it, and my minor attempts so far have failed dramatically.
I actually have very little data in here. Most of my graphics are Rect(/RectI( commands. Just a couple tips for anybody who wants to take this on: It's mostly uncommented. All I have are section headers. The Output( statement immediately after the second DispGraphr was for debugging, it's what pushed me over the limit any volunteers? EDIT: I'm using 0.4.5 8811, to be exact. I am using L1, L2, and L4, not to mention the buffers... My program is 8216 running with Asm( 147
TI Z80 / Re: Breakout clone« on: November 11, 2010, 06:14:25 pm »Weird, I would do a backup somewhere like a computer in case, though. Exactly what I meant... But now I'm having even more problems: I'm getting 'ERR: INVALID' when I try to run it... (no, I'm not trying to run the source , and yes, I am using 'Asm('. Isn't there a max program size or something? It isn't 8k, is it?) 148
TI Z80 / Re: Breakout clone« on: November 11, 2010, 05:42:56 pm »Yeah I think at one point you need to delete the program then compile the source from archive. That said, I can't wait to see what you will come up with in updates.Actually it wasn't that big, I just had to archive the source before running. Also, I pulled a battery, and for some odd reason it freed up some more ram Probably should have another look at my saving routine... (should I be using delvar?) Spoiler For future content: Spoiler For what I'm working on: 149
KnightOS / Re: KnightOS: Castle« on: November 11, 2010, 05:20:12 pm »
what about 2 b&w .gifs? It'd then be easy to put them together & get greyscale...
150
Other Calculators / Re: Simple yet useful virus« on: November 11, 2010, 04:50:48 pm »
lol fun virus ↓↓↓
prgmBETAINST[enter] (ungroup first) Wait for a bit... you'll know when. Now quick! What's the tenth digit of pi! Have you noticed ON doesn't help? 2nd + quit? Spoiler For how to get out: |
|