On Wednesday 02 January 2002 03:45, you wrote: > Okay, I've narrowed it down just a little more: Using -O3 > -fno-rename-registers allows z80.c to compile. -frename-registers by > itself doesn't cause a problem, so it's probably an interaction with one > of the other flags.
You could try to pre-define BIG_SWITCH=0 in your Makefile. My guess is that the optimizations, that gcc tries on the big chunk of code inside the opcode switch/case statement are causing the trouble -- it has always been troublesome, for all CPU cores that use it (currently z80,z180 and 6809 check this macro). On the newer host processors and for most games the Z80 isn't really a bottleneck. The switch/case optimizations are more interesting for low end host computers that want to run old Z80 games (like digital cameras ;-) Regards, Juergen _______________________________________________ Xmame mailing list [EMAIL PROTECTED] http://toybox.twisted.org.uk/mailman/listinfo/xmame
