1.1 --- a/src/sh4/sh4core.h Sat Aug 21 06:15:49 2004 +0000
1.2 +++ b/src/sh4/sh4core.h Mon Dec 12 10:37:41 2005 +0000
1.5 - * Header for the basic sh4 emulator core
1.7 + * $Id: sh4core.h,v 1.3 2005-12-11 05:15:36 nkeynes Exp $
1.9 + * This file defines the public functions exported by the SH4 core, except
1.10 + * for disassembly functions defined in sh4dasm.h
1.12 + * Copyright (c) 2005 Nathan Keynes.
1.14 + * This program is free software; you can redistribute it and/or modify
1.15 + * it under the terms of the GNU General Public License as published by
1.16 + * the Free Software Foundation; either version 2 of the License, or
1.17 + * (at your option) any later version.
1.19 + * This program is distributed in the hope that it will be useful,
1.20 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
1.21 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1.22 + * GNU General Public License for more details.
1.27 void sh4_execute_instruction( void );
1.28 void sh4_raise_exception( int, int );
1.31 +int32_t sh4_read_long( uint32_t addr );
1.32 +int32_t sh4_read_word( uint32_t addr );
1.33 +int32_t sh4_read_byte( uint32_t addr );
1.34 +void sh4_write_long( uint32_t addr, uint32_t val );
1.35 +void sh4_write_word( uint32_t addr, uint32_t val );
1.36 +void sh4_write_byte( uint32_t addr, uint32_t val );
1.37 +int32_t sh4_read_phys_word( uint32_t addr );
1.39 void run_timers( int );
1.41 #define SIGNEXT4(n) ((((int32_t)(n))<<28)>>28)