filename | src/sh4/sh4core.h |
changeset | 95:7c0dac698ea2 |
prev | 84:b993a8d8fbf3 |
next | 157:fbe03268ad8a |
author | nkeynes |
date | Wed Mar 22 14:29:02 2006 +0000 (18 years ago) |
permissions | -rw-r--r-- |
last change | Rename IDE DMA registers appropriately Remove forced irq hack Add correct irq handling for IDE Miscellaneous WIP for the GD-rom drive |
file | annotate | diff | log | raw |
1.1 --- a/src/sh4/sh4core.h Sat Jan 21 11:38:36 2006 +00001.2 +++ b/src/sh4/sh4core.h Wed Mar 22 14:29:02 2006 +00001.3 @@ -1,5 +1,5 @@1.4 /**1.5 - * $Id: sh4core.h,v 1.11 2006-01-21 11:38:36 nkeynes Exp $1.6 + * $Id: sh4core.h,v 1.12 2006-02-15 12:38:50 nkeynes Exp $1.7 *1.8 * This file defines the internal functions exported/used by the SH4 core,1.9 * except for disassembly functions defined in sh4dasm.h1.10 @@ -159,7 +159,8 @@1.11 #define FR(x) sh4r.fr[(sh4r.fpscr&FPSCR_FR)>>21][(x)^1]1.12 #define DR(x) ((double *)(sh4r.fr[(sh4r.fpscr&FPSCR_FR)>>21]))[x]1.13 #define XF(x) sh4r.fr[((~sh4r.fpscr)&FPSCR_FR)>>21][(x)^1]1.14 -1.15 +#define XDR(x) ((double *)(sh4r.fr[((~sh4r.fpscr)&FPSCR_FR)>>21]))[x]1.16 +#define DRb(x,b) ((double *)(sh4r.fr[((b ? (~sh4r.fpscr) : sh4r.fpscr)&FPSCR_FR)>>21]))[x]1.17 /* Exceptions (for use with sh4_raise_exception) */1.19 #define EX_ILLEGAL_INSTRUCTION 0x180, 0x100
.