X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=src%2Fcpu8051.h;h=67e684f46d988e7fe3f64d3773151a39dc5c6d8a;hb=fb3b3529579773b8a14959cc6bc5bb2096fd0fe8;hp=32ab37508f5cc770de58a81a80374560bffb629a;hpb=fc4dd8fa3aab94a5f63c097ed9809c75560abd7d;p=emu8051.git diff --git a/src/cpu8051.h b/src/cpu8051.h index 32ab375..67e684f 100644 --- a/src/cpu8051.h +++ b/src/cpu8051.h @@ -1,5 +1,5 @@ /* - * emu8051.h + * cpu8051.h * * Copyright (C) 1999 Jonathan St-André * Copyright (C) 1999 Hugo Villeneuve @@ -22,7 +22,6 @@ #ifndef CPU8051_H #define CPU8051_H 1 - typedef struct cpu8051_t { unsigned int pc; @@ -30,7 +29,6 @@ typedef struct cpu8051_t int active_priority; } cpu8051_t; - /* Exported variables */ #undef _SCOPE_ #ifdef CPU8051_M @@ -41,7 +39,6 @@ typedef struct cpu8051_t _SCOPE_ cpu8051_t cpu8051; - void cpu8051_init( void ); @@ -55,43 +52,21 @@ void cpu8051_WriteD( unsigned int Address, unsigned char Value ); void -cpu8051_WriteInt( unsigned int Address, unsigned char Value ); +cpu8051_WriteI( unsigned int Address, unsigned char Value ); void -cpu8051_WriteI( unsigned int Address, unsigned char Value ); +cpu8051_WriteB( unsigned int BitAddress, unsigned char Value ); unsigned char cpu8051_ReadD( unsigned int Address ); -unsigned char -cpu8051_ReadInt( unsigned int Address ); - unsigned char cpu8051_ReadI( unsigned int Address ); -unsigned int -cpu8051_GetNextAddress( void ); - -void -cpu8051_WriteB( unsigned int BitAddress, unsigned char Value ); - unsigned char cpu8051_ReadB( unsigned int BitAddress ); -void -cpu8051_CheckInterrupts( void ); - -void -cpu8051_DoTimers( void ); - -int -cpu8051_SFRMemInfo( unsigned int Address, char *Text ); - -void -cpu8051_IntMemBitInfo( unsigned int BitAddress, char *Text ); - int cpu8051_Disasm( unsigned int Address, char *Text ); - #endif /* CPU8051_H */