Search
lxdream.org :: lxdream/src/sh4/sh4core.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/sh4core.h
changeset 54:d8b73031289c
prev53:f2981805b929
next84:b993a8d8fbf3
author nkeynes
date Sun Jan 01 08:08:40 2006 +0000 (14 years ago)
permissions -rw-r--r--
last change Add (partial) DMAC implementation
file annotate diff log raw
1.1 --- a/src/sh4/sh4core.h Thu Dec 29 12:52:29 2005 +0000
1.2 +++ b/src/sh4/sh4core.h Sun Jan 01 08:08:40 2006 +0000
1.3 @@ -1,8 +1,8 @@
1.4 /**
1.5 - * $Id: sh4core.h,v 1.9 2005-12-29 12:52:29 nkeynes Exp $
1.6 + * $Id: sh4core.h,v 1.10 2006-01-01 08:08:40 nkeynes Exp $
1.7 *
1.8 - * This file defines the public functions exported by the SH4 core, except
1.9 - * for disassembly functions defined in sh4dasm.h
1.10 + * This file defines the internal functions exported/used by the SH4 core,
1.11 + * except for disassembly functions defined in sh4dasm.h
1.12 *
1.13 * Copyright (c) 2005 Nathan Keynes.
1.14 *
1.15 @@ -53,7 +53,6 @@
1.16 */
1.17 #define SH4_STATE_STANDBY 4
1.18
1.19 -
1.20 struct sh4_registers {
1.21 uint32_t r[16];
1.22 uint32_t r_bank[8]; /* hidden banked registers */
1.23 @@ -105,12 +104,15 @@
1.24 int32_t sh4_read_phys_word( uint32_t addr );
1.25
1.26 /* Peripheral functions */
1.27 -void DMAC_run_slice( uint32_t );
1.28 void TMU_run_slice( uint32_t );
1.29 void TMU_update_clocks( void );
1.30 void TMU_reset( void );
1.31 void TMU_save_state( FILE * );
1.32 int TMU_load_state( FILE * );
1.33 +void DMAC_reset( void );
1.34 +void DMAC_run_slice( uint32_t );
1.35 +void DMAC_save_state( FILE * );
1.36 +int DMAC_load_state( FILE * );
1.37 void SCIF_reset( void );
1.38 void SCIF_run_slice( uint32_t );
1.39 void SCIF_save_state( FILE *f );
.