Adrian Conlon
|
3dfea03b2e
|
In theory, this finishes the 6809 disassembler.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
|
2018-08-28 13:56:06 +01:00 |
|
Adrian Conlon
|
67b5fe1658
|
Add two more pieces of 6809 documentation
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
|
2018-08-28 08:30:56 +01:00 |
|
Adrian Conlon
|
c22b3fca3b
|
Correct 6809 disassembly prefix issue.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
|
2018-08-28 08:18:00 +01:00 |
|
Adrian Conlon
|
837ac495ab
|
Couple more 6809 disassembly instructions added, up to the point of an instruction oddity...
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
|
2018-08-27 23:50:18 +01:00 |
|
Adrian Conlon
|
ce9738eb4b
|
Fill out more 6809 disassembly + fix a bug in the TFR/EXG instructions: muddled up 8/16 bit transfers.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
|
2018-08-27 22:48:08 +01:00 |
|
Adrian Conlon
|
fbc743a608
|
6809 Disassembly: Addressing mode: immediate byte added. More instructions decoded.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
|
2018-08-27 13:11:43 +01:00 |
|
Adrian Conlon
|
dfc4c49454
|
Correct 5-bit sign extension on the 6809 processor. Allows CLR 5-bit offset indexed disassembly to work correctly.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
|
2018-08-27 12:57:44 +01:00 |
|
Adrian Conlon
|
2f632cdaf5
|
Another 6809 instruction and addressing mode disassembly added.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
|
2018-08-27 11:29:15 +01:00 |
|
Adrian Conlon
|
a8cc289149
|
Whoops: The "Bus" class *really* isn't allowed to know the "endianness" of the attached processor!
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
|
2018-08-27 11:27:33 +01:00 |
|
Adrian Conlon
|
a5e51f7140
|
Simplify the 6809 disassembler usage a little.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
|
2018-08-27 10:43:12 +01:00 |
|
Adrian Conlon
|
974d5fbd14
|
Only show disassembled output, when there is actually something to show (fixes 6809 startup/interrupt sequence)
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
|
2018-08-27 10:25:15 +01:00 |
|
Adrian Conlon
|
983e2a5eb2
|
Start fleshing out the 6809 disassembler.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
|
2018-08-27 01:19:22 +01:00 |
|
Adrian Conlon
|
87b7295fe8
|
Remove unused "Resource" folder from the 6809 test project
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
|
2018-08-27 01:18:49 +01:00 |
|
Adrian Conlon
|
2d6b9d9ecf
|
Add some more 6809 documentation.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
|
2018-08-26 19:10:04 +01:00 |
|
Adrian Conlon
|
e88cbc269b
|
Add a skeletal half way house between a 6809 tester and a CoCo 2 emulator.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
|
2018-08-26 19:09:34 +01:00 |
|
Adrian Conlon
|
a22c5a5c78
|
Add skeletal disassembler to the 6809 processor.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
|
2018-08-26 19:08:07 +01:00 |
|
Adrian Conlon
|
735f70e717
|
Remove a couple of unused headers from the 6502 processor.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
|
2018-08-26 19:06:00 +01:00 |
|
Adrian Conlon
|
50826d36b6
|
Add a little pin documentation to the 6809 processor.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
|
2018-08-26 19:02:41 +01:00 |
|
Adrian Conlon
|
dc6803a5b6
|
Whoops: powerOn should always be public (6809)
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
|
2018-08-26 17:27:50 +01:00 |
|
Adrian Conlon
|
ef5e325b6d
|
Tidy 6809 header file usage a little.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
|
2018-08-26 13:07:26 +01:00 |
|
Adrian Conlon
|
c03d8488b5
|
Allow memory peek as a const operation.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
|
2018-08-26 13:06:05 +01:00 |
|
Adrian Conlon
|
8823bb6610
|
Refactor the *EndianProcessor classes, such that their implementation is no longer in header files.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
|
2018-08-25 22:51:56 +01:00 |
|
Adrian Conlon
|
3a4235f651
|
Whoops: The NMI line needs to be powered on by individual processors now it's no longer part of the Processor base class.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
|
2018-08-25 22:50:18 +01:00 |
|
Adrian Conlon
|
ab78ba5db0
|
Start adding definition of BA/BS flags.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
|
2018-08-25 14:55:57 +01:00 |
|
Adrian Conlon
|
1212e8d4f0
|
Tidy some processor virtual specifications.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
|
2018-08-25 13:35:53 +01:00 |
|
Adrian Conlon
|
535346dede
|
Whoops: missed UNLIKELY specifier on the 6502 processor
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
|
2018-08-25 13:17:14 +01:00 |
|
Adrian Conlon
|
ae66b39dac
|
Add a couple of LIKELY/UNLIKELY specifications to the 6809 processor.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
|
2018-08-25 12:51:43 +01:00 |
|
Adrian Conlon
|
c105ee37bf
|
Have a stab at sorting out processor pin handling.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
|
2018-08-25 12:09:26 +01:00 |
|
Adrian Conlon
|
17c46264e9
|
Match the GameBoy code to the updated handling of reset (etc.) interrupts.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
|
2018-08-25 01:57:22 +01:00 |
|
Adrian Conlon
|
6d4223c368
|
Start moving towards reset being just another style of interrupt.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
|
2018-08-25 01:34:30 +01:00 |
|
Adrian Conlon
|
bca7977a23
|
Whoops: correctly generalise DAA code on the 6809
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
|
2018-08-24 13:05:29 +01:00 |
|
Adrian Conlon
|
f8097af5a4
|
Whoops: correct overly enthusiastic shift on the 6809
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
|
2018-08-24 12:57:04 +01:00 |
|
Adrian Conlon
|
0649796575
|
Small code tidy in the 6809
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
|
2018-08-24 12:36:25 +01:00 |
|
Adrian Conlon
|
adb6433737
|
Easier to read flag handling in the 6809
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
|
2018-08-24 12:30:16 +01:00 |
|
Adrian Conlon
|
21e8360dc1
|
First stab at interrupt handling on the 6809 processor.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
|
2018-08-24 12:14:14 +01:00 |
|
Adrian Conlon
|
1eb59279a8
|
Remove unneeded powerOn override from the 6809 processor.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
|
2018-08-24 10:54:16 +01:00 |
|
Adrian Conlon
|
57928602d5
|
Tidy instruction prefixing in the 6809, such that executed/ing instruction events fire correctly.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
|
2018-08-24 10:49:13 +01:00 |
|
Adrian Conlon
|
a43b1109bc
|
Add TST instruction to the 6809 processor
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
|
2018-08-24 00:33:18 +01:00 |
|
Adrian Conlon
|
c7ca555995
|
Add various SUB/SBC instructions to the 6809 processor
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
|
2018-08-24 00:14:44 +01:00 |
|
Adrian Conlon
|
595a9a0af7
|
Tidy the formatting within the 6809 processor code.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
|
2018-08-23 23:22:14 +01:00 |
|
Adrian Conlon
|
722e7b89c2
|
Add implementation of ST instruction for the 6809
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
|
2018-08-23 23:09:19 +01:00 |
|
Adrian Conlon
|
1e32514e1d
|
Implement SEX/SWI/SWI2/SWI3/SYNC/TFR instructions for the 6809
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
|
2018-08-23 14:09:46 +01:00 |
|
Adrian Conlon
|
e555fe335f
|
Whoops: correct return values of 6809 branch helpers.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
|
2018-08-23 09:32:37 +01:00 |
|
Adrian Conlon
|
6af8641b45
|
Tidy instruction comments a little on the 6809
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
|
2018-08-23 09:22:17 +01:00 |
|
Adrian Conlon
|
224c254223
|
Add stubs for any remaining instruction sin the 6809 processor.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
|
2018-08-23 00:43:56 +01:00 |
|
Adrian Conlon
|
4703b89a42
|
First stab at 6809 branching
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
|
2018-08-22 23:06:36 +01:00 |
|
Adrian Conlon
|
90fb124bd7
|
Whoops: RTI is 3B in the 6809 processor
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
|
2018-08-22 10:24:12 +01:00 |
|
Adrian Conlon
|
10684a02f4
|
Add RTI/RTS instructions to the 6809 processor
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
|
2018-08-22 10:21:22 +01:00 |
|
Adrian Conlon
|
07248972bf
|
Add implementations of ROL/ROR for the 6809 processor
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
|
2018-08-22 09:11:02 +01:00 |
|
Adrian Conlon
|
6f6e88f003
|
Tidy up instruction timing for the PUL/PSH instructions on the 6809
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
|
2018-08-22 08:45:38 +01:00 |
|