Search
lxdream.org :: lxdream/src/sh4/scif.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/scif.c
changeset 828:b42865f00fb5
prev736:a02d1475ccfd
next929:fd8cb0c82f5f
author nkeynes
date Sun Dec 14 07:50:48 2008 +0000 (15 years ago)
permissions -rw-r--r--
last change Setup a 'proper' stackframe in translated blocks. This doesn't affect performance noticeably,
but does ensure that
a) The stack is aligned correctly on OS X with no extra effort, and
b) We can't mess up the stack and crash that way anymore.
Replace all PUSH/POP instructions (outside of prologue/epilogue) with ESP-rel moves to stack
local variables.
Finally merge ia32mac and ia32abi together, since they're pretty much the same now anyway (and
thereby simplifying maintenance a good deal)
file annotate diff log raw
1.1 --- a/src/sh4/scif.c Mon Jul 14 07:44:42 2008 +0000
1.2 +++ b/src/sh4/scif.c Sun Dec 14 07:50:48 2008 +0000
1.3 @@ -546,8 +546,10 @@
1.4 break;
1.5 case SCSPTR2: /* Serial Port Register */
1.6 MMIO_WRITE( SCIF, reg, val );
1.7 - /* NOT IMPLEMENTED */
1.8 - WARN( "SCSPTR2 not implemented: Write %08X", val );
1.9 + /* NOT IMPLEMENTED - 'direct' serial I/O */
1.10 + if( val != 0 ) {
1.11 + WARN( "SCSPTR2 not implemented: Write %08X", val );
1.12 + }
1.13 break;
1.14 case SCLSR2:
1.15 val = val & SCLSR2_ORER;
.