1 |
|
/* |
2 |
|
* CPUC64_SC.cpp - Single-cycle 6510 (C64) emulation |
3 |
|
* |
4 |
< |
* Frodo (C) 1994-1997,2002-2003 Christian Bauer |
4 |
> |
* Frodo (C) 1994-1997,2002-2005 Christian Bauer |
5 |
|
* |
6 |
|
* This program is free software; you can redistribute it and/or modify |
7 |
|
* it under the terms of the GNU General Public License as published by |
276 |
|
* Read a byte from the CPU's address space |
277 |
|
*/ |
278 |
|
|
279 |
– |
#ifdef __i386 |
280 |
– |
inline |
281 |
– |
#endif |
279 |
|
uint8 MOS6510::read_byte(uint16 adr) |
280 |
|
{ |
281 |
|
if (adr < 0xa000) { |
630 |
|
pc = 0xedac; |
631 |
|
Last; |
632 |
|
case 0x03: |
633 |
< |
ram[0x90] |= TheIEC->In(&a); |
633 |
> |
ram[0x90] |= TheIEC->In(a); |
634 |
|
set_nz(a); |
635 |
|
c_flag = false; |
636 |
|
pc = 0xedac; |