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

Pages: 1 ... 190 191 [192] 193 194 ... 197
2866
Other Calculators / oops...
« on: September 11, 2007, 07:17:00 pm »
Eh, it was just a lack of proper documentation and a bit of stupidity on my part that did it. :Ptongue.gif

2867
Other Calculators / oops...
« on: September 11, 2007, 01:48:00 pm »
I lost:
Project M (restored the binary, though)
Latest version of OTBP Assembler (gives me an excuse to rewrite it)
My interrupt-based sound routine (not too hard to remake, I guess)
The small progress with GSM2
Most of the SMB2 sprites I made over the past couple of weeks
Xtravar Beta 2 source code (salvaged the binary, that's all I need I guess)
...anything else on that calc, pretty much.

2868
Other Calculators / oops...
« on: September 11, 2007, 11:56:00 am »
Yes.

2869
Other Calculators / oops...
« on: September 11, 2007, 11:13:00 am »
No, it uninstalls itself after being used once. I used it with RAM Clear. It uninstalled. I used Reset All. Kaboom.

2870
Other Calculators / oops...
« on: September 11, 2007, 04:09:00 am »
Actually, it was probably the fact that it apparently uninstalled itself after I tried it with RAM clear...

Edit: @DJ, I program asm oncalc... :banghead:banghead.gif

2871
Other Calculators / oops...
« on: September 11, 2007, 03:53:00 am »
I just tried a http://brandonw.net/calcstuff/fake.zip and I tried out resetting all. And guess what... IT RESET ALL!!!! :paf:tripaf.gif

Byebye, all projects.... *loud sigh*

2872
TI-BASIC / GAME: Optimize this! (83+BASIC)
« on: September 11, 2007, 02:08:00 am »
Could you state what that line is trying to accomplish, in words? I don't feel like figuring it out myself. :Ptongue.gif

2873
News / Jon releases Bejewelled for TI-83+ Ion
« on: September 11, 2007, 02:00:00 am »
QuoteBegin-Liazon+10 Sep, 2007, 17:14-->
QUOTE (Liazon @ 10 Sep, 2007, 17:14)
jim e?  

 I think he means Jim e is the guy to talk to about grayscale.

2874
TI Z80 / HACC
« on: September 07, 2007, 09:55:00 am »
I believe he means "RRC/RLC/RR/RL" rotations.

2875
TI Z80 / HACC
« on: September 06, 2007, 02:19:00 pm »
QuoteBegin-Goplat+1 Aug, 2007, 18:28-->
QUOTE (Goplat @ 1 Aug, 2007, 18:28)
I've thought about this subject a bit and I don't think a C compiler for Z80 would really be practical. The Z80 architecture is badly suited for C (or any other compiled language, really) for several reasons:

  • in C, the normal way to pass arguments to a function is on the stack. On most modern processors, you have a stack-relative addressing mode, so this is fine. Z80 has no easy way to access elements of the stack below the topmost, so the only sensible way to pass things into a function is through registers. But the question of which registers are best to use is dependent on the function itself, and to some extent its callers. C requires standardized calling conventions in order to be able to have separate compilation of multiple source files; a compiler can't generate the code to call an external function if it doesn't know how that function expects its arguments passed.
  • Register allocation on the Z80 is a very complicated problem. On most processors, registers have few if any differences between them - if it works on "R0", it works on "R7". On the Z80, every register has its own special purposes, so deciding what to put where becomes more complicated.
  • When C programmers want an integer, they usually just type "int". This poses a problem for the Z80, since "int" has to be at least 16 bits long. On today's processors, 8-bit, 16-bit, and 32-bit operations are all the same speed, but on the Z80 anything bigger than 8-bit takes up more time and space.
  • Also, in C integer types are signed unless you explicitly say "unsigned". More often than not, it doesn't matter whether a variable is signed or unsigned so programmers just use signed integers to save typing. Unsigned comparisons can be done easily on the Z80 (just use the carry flag), but signed comparisons require that the sign flag and parity/overflow flag be XORed together. Modern processors have conditional jump instructions that do just that; the Z80 doesn't.
I strongly doubt that a C compiler could ever produce Z80 code anywhere near as well as a person writing assembly could. As a result, C games would require a lot more memory, which is in short supply on the Z8-based calculators.

Oh dang, I forgot how long ago that quote was... @_@ oh well, here.

2876
TI Z80 / HACC
« on: September 06, 2007, 02:05:00 pm »
Signed comparison is cinchy... Just compare the first number to [the second number with top bit inverted] and check p/v.

2877
TI Z80 / HACC
« on: September 04, 2007, 07:40:00 am »
jr average=(7+12)/2=9.5, jp average=(10+10)/2=10. Assuming that there's about a 50% chance that it will do the jump.

2878
Pokémon Purple / [PP] Progress, Starting in '07
« on: September 04, 2007, 06:44:00 am »

 THE POST 13395844
Well, longest development time, at least. XDsmiley.gif


2879
TI Z80 / HACC
« on: September 04, 2007, 06:19:00 am »
Just so you know, jr is actually faster than jp on average if there's a 50% chance of jumping... :oohmy.gif

2880
TI 68K / Doom89!
« on: August 30, 2007, 01:19:00 am »
...in a painful sort of way... :Ptongue.gif

Pages: 1 ... 190 191 [192] 193 194 ... 197