Search
lxdream.org :: lxdream/src/sh4/sh4core.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/sh4core.h
changeset 157:fbe03268ad8a
prev95:7c0dac698ea2
next246:98054d036a24
author nkeynes
date Thu Jun 15 10:27:10 2006 +0000 (14 years ago)
permissions -rw-r--r--
last change Add preliminary call-stack tracing ability
Fix INTC state save/load/reset
file annotate diff log raw
1.1 --- a/src/sh4/sh4core.h Wed Feb 15 12:38:50 2006 +0000
1.2 +++ b/src/sh4/sh4core.h Thu Jun 15 10:27:10 2006 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: sh4core.h,v 1.12 2006-02-15 12:38:50 nkeynes Exp $
1.6 + * $Id: sh4core.h,v 1.13 2006-06-15 10:27:10 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.h
1.10 @@ -118,6 +118,9 @@
1.11 void SCIF_run_slice( uint32_t );
1.12 void SCIF_save_state( FILE *f );
1.13 int SCIF_load_state( FILE *f );
1.14 +void INTC_reset( void );
1.15 +void INTC_save_state( FILE *f );
1.16 +int INTC_load_state( FILE *f );
1.17
1.18 #define SIGNEXT4(n) ((((int32_t)(n))<<28)>>28)
1.19 #define SIGNEXT8(n) ((int32_t)((int8_t)(n)))
.