Search found 1598 matches
- Sun 13 Jan, 2008 8:19 am
- Forum: Announce Your Projects
- Topic: [BASIC] Dystopia
- Replies: 22
- Views: 36933
- Mon 31 Dec, 2007 7:40 pm
- Forum: Announce Your Projects
- Topic: Greyscale tetris for ti-83\84
- Replies: 20
- Views: 36754
- Thu 20 Dec, 2007 3:29 pm
- Forum: Off Topic
- Topic: Google is your friend :D
- Replies: 14
- Views: 10077
Re: Google is your friend :D
driesguldolf wrote:[offtopic] WTF happend to the tag? ...[/offtopic][/quote] You have t ... 28 and %29.
- Fri 14 Dec, 2007 7:51 am
- Forum: Programming Help
- Topic: [ASM] Compare 16-bit registers?
- Replies: 27
- Views: 34705
Perhaps we could check the sign flag. It should be M if BC >= DE and P otherwise, right? I haven't thought that one through at all - it's just a guess, so I may be wrong. That wouldn’t be enough, because B can be so much greater than D that the difference goes below -128. You’d have to check the ov...
- Thu 13 Dec, 2007 10:24 pm
- Forum: Programming Help
- Topic: [ASM] Compare 16-bit registers?
- Replies: 27
- Views: 34705
Indeed, I knew I was overlooking something trivial. That’s what happens when you stop dealing with low-level stuff...qarnos wrote:Another way of doing it byte by byte:
Carry flag set if BC > DE.Code: Select all
ld a, e sub c ld a, d sbc a, b
Zero flag set if BC == DE.
- Thu 13 Dec, 2007 3:19 pm
- Forum: Programming Help
- Topic: [ASM] Compare 16-bit registers?
- Replies: 27
- Views: 34705
What about doing it byte by byte?
Code: Select all
ld a,d
cp b
jp c,bcIsBigger
jp nz,deIsBigger
ld a,e
cp c
jp c,bcIsBigger
jp nz,deIsBigger
<they are equal here>
- Thu 13 Dec, 2007 9:56 am
- Forum: Staff Side Projects & Featured Projects
- Topic: [Featured][Dev] PindurTI (Best Thread 2005)
- Replies: 1356
- Views: 569980
CoBB, PindurTI is losing in popularity against WabbitEmu... :( Why is that a problem? Wabbit is superior in practically every respect. :) I'll hack it as a second backend into my new Linux frontend for WabbitEmu, so I don't give either project an advantage, but if PTI wants to survive you really ne...
- Tue 11 Dec, 2007 8:54 pm
- Forum: Announce Your Projects
- Topic: Reviving the Vera project!
- Replies: 129
- Views: 203753
- Tue 11 Dec, 2007 4:19 pm
- Forum: Announce Your Projects
- Topic: Reviving the Vera project!
- Replies: 129
- Views: 203753
The only viable software solution would be to use an interrupt handler to check the state of the program counter, as GuillaumeH described. Well, if you set the interrupt to the highest speed, you can regain control about once in 1000-2000 instructions (10-11k cc). That might catch some nastiness, b...
- Fri 07 Dec, 2007 11:23 am
- Forum: Latenite, Brass and EarlyMorning
- Topic: Latenite 2: Directory structure and project management.
- Replies: 38
- Views: 51324
- Fri 07 Dec, 2007 10:02 am
- Forum: Latenite, Brass and EarlyMorning
- Topic: Latenite 2: Directory structure and project management.
- Replies: 38
- Views: 51324
Same goes for Java as a language and as a system. I don't really understand how so many people can hate it so much :) For instance, deploying Java programs at different machines is often impossible without recompilation. I’m teaching Java in this semester (and did last year too), and you have no id...
- Thu 06 Dec, 2007 11:16 am
- Forum: Programming Help
- Topic: [ASM] How to ld hl,sp?
- Replies: 13
- Views: 19219
- Sat 01 Dec, 2007 5:22 pm
- Forum: Program Ideas
- Topic: Z80 peephole optimizer
- Replies: 8
- Views: 15421
- Fri 30 Nov, 2007 3:53 pm
- Forum: Program Ideas
- Topic: Z80 peephole optimizer
- Replies: 8
- Views: 15421
I thought the same thing as CoBB, but to solve this, one can imagine source code annotations to mark areas that must not be rewritten (SMC parts mostly). That’s unfortunately a chicken and egg problem of some sort. Since the optimiser has limited means to find out what effects you want to preserve,...
- Fri 30 Nov, 2007 11:34 am
- Forum: Program Ideas
- Topic: Z80 peephole optimizer
- Replies: 8
- Views: 15421