Radosław Kujawa
|
249509fad0
|
Clean up unused function.
|
2017-02-02 11:00:32 +01:00 |
|
Radosław Kujawa
|
1c72bd23a8
|
More meaningful comments.
|
2017-01-30 21:24:45 +01:00 |
|
Radosław Kujawa
|
e0fa334e3e
|
Fix relative address pritning in disassembly.
|
2017-01-29 13:55:53 +01:00 |
|
Radosław Kujawa
|
f5a4f45127
|
Add function setting the PC for branches.
|
2017-01-29 13:29:17 +01:00 |
|
Radosław Kujawa
|
762f140efd
|
Better operand formatting in disassembly.
|
2017-01-29 13:08:32 +01:00 |
|
Radosław Kujawa
|
3640a162a3
|
Add CMP emulation and test cases.
|
2017-01-28 13:26:51 +01:00 |
|
Radosław Kujawa
|
2430cfd722
|
Branch and jump instrucitons need special PC treatment.
|
2017-01-27 20:43:08 +01:00 |
|
Radosław Kujawa
|
646c7d1905
|
Some opcodes also write data to accumulator.
|
2017-01-27 11:03:50 +01:00 |
|
Radosław Kujawa
|
90b6c06e32
|
Fix missing breaks in indirect zero page handling switch.
|
2017-01-24 22:18:02 +01:00 |
|
Radosław Kujawa
|
39aaca5034
|
Correct indirect zero page Y behaviour.
|
2017-01-24 16:37:10 +01:00 |
|
Radosław Kujawa
|
9c88afae2a
|
BBRx and BBSx instructions have zero page relative addressing.
Add zero page relative as a separate addressing type and adjust
opcode definitions for these two type of opcodes.
|
2017-01-23 12:17:06 +01:00 |
|
Radosław Kujawa
|
ee16c64310
|
Implement absolute X, absolute Y addressing.
|
2017-01-23 10:48:37 +01:00 |
|
Radosław Kujawa
|
452e4b3806
|
Implement indirect zero page with X and indirect zero page with Y addressing.
|
2017-01-23 10:29:19 +01:00 |
|
Radosław Kujawa
|
87c424557e
|
Implement aboslute addressing mode.
|
2017-01-23 00:00:45 +01:00 |
|
Radosław Kujawa
|
e763ca0d3a
|
Avoid getting instruction definition again when emulating.
While here try to make program counter incrementation more universal
and flexible.
|
2017-01-22 11:07:19 +01:00 |
|
Radosław Kujawa
|
86c9c6414c
|
Add function to write data onto bus according to choosen addressing mode.
|
2017-01-21 21:43:31 +01:00 |
|
Radosław Kujawa
|
c083114c12
|
Increment stack pointer before poping.
|
2017-01-20 23:16:02 +01:00 |
|
Radosław Kujawa
|
7862703c88
|
Add functions to pop/push emulated CPU stack.
|
2017-01-20 22:03:03 +01:00 |
|
Radosław Kujawa
|
3bcc7bb096
|
Introduce instruction-independent status adjustment functions.
For now only for negative and zero. Also use them in LDA emulation.
|
2017-01-20 10:25:19 +01:00 |
|
Radosław Kujawa
|
5201cfdc87
|
Print operand hex vals during disassembly.
|
2017-01-20 09:46:33 +01:00 |
|
Radosław Kujawa
|
6b7ddbf865
|
LDA zero page emulation and test for it.
|
2017-01-19 11:49:05 +01:00 |
|
Radosław Kujawa
|
49b70f0e1f
|
Make instruction data read more flexible and split from emulation of particular instruction.
|
2017-01-19 10:59:35 +01:00 |
|
Radosław Kujawa
|
52ce9bff8c
|
Preliminary support for emulation of instructions.
Some refactoring while here.
|
2017-01-18 17:18:19 +01:00 |
|
Radosław Kujawa
|
3032baeac4
|
Temporarily disable assert checking if instr was implemented.
|
2017-01-18 14:37:24 +01:00 |
|
Radosław Kujawa
|
bd0eeea144
|
Adjust build process and instruction-related funcs.
Due to new dynamically build 65c02isa.h header.
|
2017-01-18 12:09:14 +01:00 |
|
Radosław Kujawa
|
e36a9c34fb
|
Add accumulator addressing mode handling.
|
2017-01-18 11:12:37 +01:00 |
|
Radosław Kujawa
|
23802b176f
|
Instruction set definition is now private to 65c02isa.c, has API.
Minor refactoring while here, splitting stuff.
|
2017-01-17 14:29:20 +01:00 |
|