From 394c9fbb6cc243e46b32aa9e7221b0e6cadd4c13 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Wed, 25 Nov 2020 20:35:13 +0100 Subject: some work on emulator, also added gengetopt and cmake support for it --- emu/6502.h | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'emu/6502.h') diff --git a/emu/6502.h b/emu/6502.h index b5ab14a..dac07a1 100644 --- a/emu/6502.h +++ b/emu/6502.h @@ -31,14 +31,19 @@ enum { }; enum { - LDX_IMM = 0xA2, + LDX_IMM = 0xA2, LDX_ZERO = 0xA6, - LDY_IMM = 0xA0, + LDY_IMM = 0xA0, LDY_ZERO = 0xA4, - LDA_IMM = 0xA9, + LDA_IMM = 0xA9, LDA_ZERO = 0xA5, - JMP_ABS = 0x4C, - JSR_ABS = 0x20, + STX_ABS = 0x8E, + DEY_IMPL = 0x88, + ROL_ACC = 0x2A, + BNE_REL = 0xD0, + BCC_REL = 0x90, + JMP_ABS = 0x4C, + JSR_ABS = 0x20, RTS_IMPL = 0x60, TXS_IMPL = 0x9A }; -- cgit v1.2.3-54-g00ecf