mirror of
https://github.com/bradgrantham/apple2e.git
synced 2024-06-26 02:29:36 +00:00
remove dead code and comments lacking confidence
This commit is contained in:
parent
17806a16b7
commit
5e8adf5de1
21
cpu6502.h
21
cpu6502.h
|
@ -93,7 +93,6 @@ struct CPU6502
|
|||
|
||||
static bool sbc_overflow_d(unsigned char a, unsigned char b, int borrow)
|
||||
{
|
||||
// ??
|
||||
signed char a_ = a;
|
||||
signed char b_ = b;
|
||||
signed short c = a_ - (b_ + borrow);
|
||||
|
@ -102,7 +101,6 @@ struct CPU6502
|
|||
|
||||
static bool adc_overflow_d(unsigned char a, unsigned char b, int carry)
|
||||
{
|
||||
// ??
|
||||
signed char a_ = a;
|
||||
signed char b_ = b;
|
||||
signed short c = a_ + b_ + carry;
|
||||
|
@ -162,25 +160,6 @@ struct CPU6502
|
|||
exception = NONE;
|
||||
}
|
||||
|
||||
#if 0
|
||||
enum Operand {
|
||||
A,
|
||||
IMPL,
|
||||
REL,
|
||||
ABS,
|
||||
ABS_X,
|
||||
ABS_Y,
|
||||
IND,
|
||||
X_IND,
|
||||
IND_Y,
|
||||
ZPG,
|
||||
ZPG_X,
|
||||
ZPG_Y,
|
||||
IMM,
|
||||
UND,
|
||||
};
|
||||
#endif
|
||||
|
||||
void cycle()
|
||||
{
|
||||
if(exception == RESET) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user