Pointer-ified the alpha-8201

This commit is contained in:
Aaron Giles 2008-12-10 05:29:29 +00:00
parent 36d63663d3
commit 9de8dad60d
3 changed files with 425 additions and 466 deletions

View File

@ -336,7 +336,7 @@ static void InitDasm8201(void)
OpInizialized = 1;
}
CPU_DISASSEMBLE( ALPHA8201 )
CPU_DISASSEMBLE( alpha8201 )
{
offs_t dasmflags = 0;
int i;

File diff suppressed because it is too large Load Diff

View File

@ -44,30 +44,6 @@ enum
extern CPU_GET_INFO( alpha8201 );
extern CPU_GET_INFO( alpha8301 );
/*
* Read a UINT8 from given memory location
*/
#define ALPHA8201_RDMEM(A) ((unsigned)memory_read_byte_8le(R.program, A))
/*
* Write a UINT8 to given memory location
*/
#define ALPHA8201_WRMEM(A,V) (memory_write_byte_8le(R.program, A,V))
/*
* ALPHA8201_RDOP() is identical to ALPHA8201_RDMEM() except it is used for reading
* opcodes. In case of system with memory mapped I/O, this function can be
* used to greatly speed up emulation
*/
#define ALPHA8201_RDOP(A) ((unsigned)memory_decrypted_read_byte(R.program, A))
/*
* ALPHA8201_RDOP_ARG() is identical to ALPHA8201_RDOP() except it is used for reading
* opcode arguments. This difference can be used to support systems that
* use different encoding mechanisms for opcodes and opcode arguments
*/
#define ALPHA8201_RDOP_ARG(A) ((unsigned)memory_raw_read_byte(R.program, A))
CPU_DISASSEMBLE( ALPHA8201 );
CPU_DISASSEMBLE( alpha8201 );
#endif /* __ALPH8201_H__ */