Radoslaw Kujawa
|
8e89ed067a
|
CPU emulator should not try to emulate peripherals.
Especially in a lame/incomplete way. These should be later
re-added in examples.
|
2021-01-25 00:38:58 +01:00 |
|
Radosław Kujawa
|
b3e49fdb24
|
Add preambles with license information.
|
2019-09-23 15:28:05 +02:00 |
|
Radosław Kujawa
|
e98fceaace
|
Change license to GNU GPL v3.
|
2019-09-23 15:20:35 +02:00 |
|
Radosław Kujawa
|
0a9b487549
|
Bump year.
|
2019-08-05 11:18:38 +02:00 |
|
Radosław Kujawa
|
eaa2c0a906
|
Merge branch 'master' of ssh://github.com/rkujawa/rk65c02
|
2019-08-05 11:04:17 +02:00 |
|
Radosław Kujawa
|
ff8f018816
|
Add the only appropriate badge.
|
2019-08-05 11:04:03 +02:00 |
|
Radosław Kujawa
|
affb3f8630
|
Test for ADC abs, absx, better test for 16bit adc.
|
2019-01-25 11:10:35 +01:00 |
|
Radosław Kujawa
|
aa76f7ba6c
|
Add tests for ADC immediate, zp, zpx.
|
2019-01-11 15:54:09 +01:00 |
|
Radosław Kujawa
|
f7737ad607
|
Merge branch 'master' of ssh://github.com/rkujawa/rk65c02
|
2019-01-10 10:27:59 +01:00 |
|
Radosław Kujawa
|
327d60932e
|
Add an example of 8-bit multiplication.
|
2019-01-10 10:27:44 +01:00 |
|
Radosław Kujawa
|
e6088d2396
|
Add tests for TSX, TXS.
|
2019-01-08 23:34:08 +01:00 |
|
Radosław Kujawa
|
e3714fe805
|
Add missing test cases for LDA.
|
2019-01-08 13:57:10 +01:00 |
|
Radosław Kujawa
|
ed39eff773
|
Add test cases for STX.
|
2019-01-07 13:35:14 +01:00 |
|
Radosław Kujawa
|
9bcbeb3ca7
|
Add tests for STY.
|
2019-01-07 11:43:23 +01:00 |
|
Radosław Kujawa
|
b39663db42
|
No need to use workaround - vasm was fixed.
|
2019-01-06 00:02:03 +01:00 |
|
Radosław Kujawa
|
84f4c530d8
|
Add missing test cases for STZ.
|
2019-01-05 23:57:18 +01:00 |
|
Radosław Kujawa
|
69fb59ee41
|
Add missing test cases for LDA addressing modes.
|
2019-01-05 12:13:28 +01:00 |
|
Radosław Kujawa
|
184c23b399
|
Explicitly enable WDC65C02 mode in vasm.
|
2019-01-05 00:30:18 +01:00 |
|
Radosław Kujawa
|
2492c75cb2
|
Note new vasm version is required.
|
2019-01-05 00:30:02 +01:00 |
|
Radosław Kujawa
|
a03189fd7e
|
More sanity checks.
|
2018-08-13 21:18:29 +02:00 |
|
Radosław Kujawa
|
2cc9d86c64
|
Simplify error handling if malloc fails.
There's no way to reliable handle out of memory situation in an
emulator. So just bail out by raising assertion.
|
2018-08-05 23:45:44 +02:00 |
|
Radosław Kujawa
|
0896956337
|
Include argument names in prototype.
For doxygen purposes.
|
2018-07-24 19:20:29 +02:00 |
|
Radosław Kujawa
|
b1d001113f
|
Make function declerations proper prototypes.
|
2018-07-24 19:20:06 +02:00 |
|
Radosław Kujawa
|
61cc5d2c68
|
Call finish funcs for devices when closing bus.
|
2018-07-24 11:02:22 +02:00 |
|
Radosław Kujawa
|
ef69c47c25
|
No reason to inline BCD conversion.
There's no noticable performance gain.
|
2018-07-06 10:26:44 +02:00 |
|
Radosław Kujawa
|
d3dccffe83
|
Clarify needed vasm version.
|
2018-06-25 14:06:48 +02:00 |
|
Radosław Kujawa
|
9f916885b8
|
Add missing include.
|
2018-06-25 14:06:38 +02:00 |
|
Radosław Kujawa
|
dc1e2bf829
|
Refactoring to support (future) string asm.
|
2018-06-25 14:05:47 +02:00 |
|
Radosław Kujawa
|
dfb3bd1fca
|
Try to make this build on Linux, NetBSD and OS X.
Without actually using autoconf etc.
|
2018-06-25 13:19:35 +02:00 |
|
Radosław Kujawa
|
6c3e66a9f1
|
Merge branch 'master' of github.com:rkujawa/rk65c02
|
2018-06-13 10:30:13 +02:00 |
|
Radosław Kujawa
|
060f84e07d
|
Fail if mapping exceeding the bus size
|
2018-06-13 10:29:26 +02:00 |
|
Radosław Kujawa
|
1ec075518c
|
Split assembler-related things into separate file.
|
2018-04-27 14:07:42 +02:00 |
|
Radosław Kujawa
|
b7986df553
|
Split address calculation into separate function.
This removes some code duplication for instruction_data_read/write
functions. Also this way implementing watchpoints will be far easier.
|
2018-04-27 10:34:48 +02:00 |
|
Radosław Kujawa
|
216450da52
|
Enable debug-safe optimizations.
Also ggdb for tests.
|
2018-04-26 14:16:32 +02:00 |
|
Radosław Kujawa
|
e2bf924fa9
|
Make sure doff is initialized.
|
2018-04-26 14:16:04 +02:00 |
|
Radosław Kujawa
|
8ca86735df
|
Add tests for BBRx, BBSx.
|
2018-04-16 12:27:53 +02:00 |
|
Radosław Kujawa
|
4ff3f390db
|
Fix assembling opcode 0xFF (BBS7).
|
2018-04-16 12:26:52 +02:00 |
|
Radosław Kujawa
|
a2fdb78d2b
|
BBR and BBS instructions have 2 operands.
|
2018-04-16 12:14:31 +02:00 |
|
Radosław Kujawa
|
7445c275e6
|
Add test cases for ROR and ROL.
Too old to ROR and to ROL.
|
2018-04-13 12:26:06 +02:00 |
|
Radosław Kujawa
|
6d7f0abef0
|
Comment WAI/interrupt behaviour.
|
2018-04-13 11:25:30 +02:00 |
|
Radosław Kujawa
|
fae3445e58
|
Add test cases for TRB and TSB.
|
2018-04-12 15:28:47 +02:00 |
|
Radosław Kujawa
|
e5448f50eb
|
Fix expected PC address.
|
2018-04-12 15:13:48 +02:00 |
|
Radosław Kujawa
|
0ac5932e75
|
Doxify more.
|
2018-04-12 12:45:05 +02:00 |
|
Radosław Kujawa
|
578955e4a1
|
Add test case for invalid opcode handling.
|
2018-04-12 11:40:33 +02:00 |
|
Radosław Kujawa
|
d0728c8ade
|
Emulate invalid instructions.
Treat them as NOPs of different length just as real 65C02.
|
2018-04-10 13:56:37 +02:00 |
|
Radosław Kujawa
|
f0471947fc
|
Doxify more.
|
2018-04-10 12:49:11 +02:00 |
|
Radosław Kujawa
|
901e9626d5
|
Add initial Doxyfile.
|
2018-04-10 12:18:19 +02:00 |
|
Radosław Kujawa
|
faec05b87e
|
Start doxifying the documentation.
|
2018-04-10 12:17:59 +02:00 |
|
Radosław Kujawa
|
95368a186a
|
Remove leftover attempt at CLI.
|
2018-04-10 10:23:32 +02:00 |
|
Radosław Kujawa
|
ed4b2786b6
|
Simplify ROM loading by providing utility function.
|
2018-04-10 10:12:27 +02:00 |
|