0 Members and 3 Guests are viewing this topic.
Kind of. I'm going to release all of my templated assembly code that the executable programs use, but I don't think I will release the source of the parser itself. Right now, I'm not too worried about the optimizations. Its the actual code of the Parser I am trying to finished first so I can release a beta, but I keep getting distracted by wantting to add more commands since they're relatively easier and more fun
I've got no clue whether or not you've seen this, but I think it might be of some help. http://map.grauw.nl/sources/external/z80bits.html
Hmmm it would seem so. Is it really so much of a hassle to flip the negative bit, multiply/divide, then flip it again? Seems trivial compared to any other modification, although i'm not an asm guy
By the way calcmaniac, your code didn't work. I tried -1 times 1 and it returned a weird number. But I was able to create my own routine after looking at some other code. Its a little slower, but its roughly the same size as the original 8bit routine.
Min_HLDE: xor a sbc hl,de jr c,$+4 ld h,a ld l,a add hl,de
Max_HLDE: xor a sbc hl,de jr nc,$+4 ld h,a ld l,a add hl,de
That's a cleaver trick!