1
0
mirror of https://github.com/mre/mos6502.git synced 2025-04-09 06:37:11 +00:00

Commit Graph

  • 77697dbb99 Fix Add with Carry (ADC) Implementation fix-adc Matthias 2024-10-21 10:37:17 +02:00
  • 6c6a68aa3a version bump master Sam M W 2024-10-18 19:17:49 +01:00
  • 2c65fe7e1b Fix SBC implementation and improve overflow detection Matthias 2024-10-18 14:57:45 +02:00
  • a0919fe7b8 Fix SBC implementation and improve overflow detection Matthias 2024-10-18 14:57:45 +02:00
  • 6b7c8a8aab bump version v0.6.1 Sam M W 2024-09-25 09:57:50 +01:00
  • 0c8616acb0 impl Default for CPU Sam M W 2024-09-25 09:55:33 +01:00
  • 874422b394 impl Default for the Variant types Sam M W 2024-09-25 09:51:24 +01:00
  • 40710248ff #[allow(clippy::needless_doctest_main)] v0.6.0 Sam M W 2024-07-29 09:21:50 +01:00
  • dbbb4a5ccf remove lint for pointer_structural_match, this is now a hard error Sam M W 2024-07-29 09:18:04 +01:00
  • b052f9150f version bump Sam M W 2024-07-29 09:10:46 +01:00
  • 265ef6941e
    Cmos support (#99) omarandlorraine 2024-06-07 15:29:40 +01:00
  • 467b3ff436
    Code Cleanup (#97) Matthias Endler 2024-04-27 20:51:39 +02:00
  • 4847744518 correction to comment Sam M W 2024-04-24 14:51:08 +01:00
  • 11d9540729 fix typo Matthias Endler 2024-04-24 15:39:12 +02:00
  • bf06ad8924 better commenting inside of AddressingMode enum Sam M W 2024-04-24 06:41:00 +01:00
  • 54dd0cd536 rename IndirectWithFix to Indirect Sam M W 2024-04-23 18:12:34 +01:00
  • 2444ef52d1 fix typo in comment Sam M W 2024-04-23 18:10:02 +01:00
  • ad622bc930 formatting Sam M W 2024-04-23 17:07:16 +01:00
  • 97d6b3fd89 split the Indirect addressing mode into BuggyIndirect and IndirectWithFix Sam M W 2024-04-23 17:07:05 +01:00
  • da30c8c67d change arr_to_addr to address_from_bytes Sam M W 2024-04-23 17:06:00 +01:00
  • 5ecdae2d25 get overflow calcs to look at boolean algebra instead of comparison to magic number fixes_to_flags Sam M W 2024-04-20 16:30:42 +01:00
  • 11499b6bc8
    Starting on implementing different variants (#88) omarandlorraine 2023-10-31 15:45:15 +00:00
  • b52e47bbb5
    Fix the PHP opcode (#92) omarandlorraine 2023-10-30 01:22:37 +00:00
  • 6ce85db45c
    boring crate related maintenance (#95) omarandlorraine 2023-10-30 01:20:46 +00:00
  • 4d2621d603
    use cargo test now instead of skeptic to run tests (#93) omarandlorraine 2023-10-29 15:06:41 +00:00
  • b446b042ba remove num remove_num Sam M W 2023-10-29 14:47:28 +00:00
  • a07df31c26 Cargo update Sam M W 2023-10-29 13:47:51 +00:00
  • 0d65eb0d8d
    Merge pull request #87 from omarandlorraine/update omarandlorraine 2023-08-18 09:07:20 +01:00
  • 9752a1b8f7 cargo update Sam M W 2023-08-18 09:02:16 +01:00
  • aa1a47a76f
    Fix addition and subtraction (#72) omarandlorraine 2023-06-29 11:13:49 +01:00
  • f4b8291e5e Fix labels functional_test Matthias 2023-06-29 11:24:39 +02:00
  • 4172c4bcba rebuild image Matthias 2023-06-29 11:24:29 +02:00
  • 21a4249952 update linker config Matthias 2023-06-29 11:24:09 +02:00
  • 65817524a2
    Bump bitflags from 2.3.2 to 2.3.3 (#82) dependabot[bot] 2023-06-29 10:52:01 +02:00
  • efb1c3a3b8 Add Addressing mode to Display for DecodedInstr Matthias 2023-06-29 10:45:11 +02:00
  • 902b69a053 Use labels Matthias 2023-06-28 23:48:03 +02:00
  • 360e00da20 add debug info Matthias 2023-06-28 23:37:46 +02:00
  • 05420f23e5 Make instruction printable Matthias 2023-06-28 10:41:38 +02:00
  • d9499fa419 Use correct ca65 assembler file extension Matthias 2023-06-28 10:12:23 +02:00
  • fa6e4f49f1 Compile functional test from sources Matthias 2023-06-28 10:12:09 +02:00
  • a7765431cd extend docs Matthias 2023-06-28 10:05:11 +02:00
  • e88c971625
    Add assembly example code (#80) Matthias Endler 2023-06-20 10:32:28 +02:00
  • f61a36f798 Extend documentation Matthias 2023-06-19 19:10:46 +02:00
  • cb49e5e5a6 Print decoded instruction Matthias 2023-06-19 13:41:13 +02:00
  • 23ddc109ee Add functional test and update CPU debug output Matthias 2023-06-19 13:34:35 +02:00
  • dbfa32b5c2 fix typo Matthias 2023-06-19 13:32:35 +02:00
  • fa0b343c69 cleanup Matthias 2023-06-19 13:08:07 +02:00
  • 8d506773bf Add assembly example code Matthias 2023-06-19 12:27:35 +02:00
  • 62d4b73cd5
    Bump log from 0.4.17 to 0.4.19 (#78) dependabot[bot] 2023-06-19 12:45:50 +02:00
  • 4266599bb2
    Bump bitflags from 2.2.1 to 2.3.2 (#79) dependabot[bot] 2023-06-19 11:56:09 +02:00
  • 42eb1f8689
    Update README.md (#74) omarandlorraine 2023-04-26 17:41:44 +01:00
  • 36a9dd19f6
    Bump bitflags from 2.1.0 to 2.2.1 (#73) dependabot[bot] 2023-04-25 10:45:54 +02:00
  • 2effe45a08
    Add CI pipeline (#71) Matthias Endler 2023-04-20 17:42:18 +02:00
  • 56001dc63b Add missing updated lockfile Matthias 2023-04-20 14:22:03 +02:00
  • 1a3d07861b Bump devel version to 0.5.0 Matthias 2023-04-20 13:22:13 +02:00
  • c08e8ac595
    Bump bitflags from 2.1.0 to 2.2.0 (#69) dependabot[bot] 2023-04-20 10:49:59 +02:00
  • 849f891e24
    Merge pull request #67 from mre/rts omarandlorraine 2023-04-16 07:08:25 +01:00
  • 6232b3bdbd
    Merge pull request #68 from mre/bit omarandlorraine 2023-04-15 22:05:54 +01:00
  • bd1ab13dc1 point INY instruction at the correct register Sam M W 2023-04-15 21:47:17 +01:00
  • f0fc9829db PLA opcode should update the flags Sam M W 2023-04-15 21:44:05 +01:00
  • 26a2f51bc6 don't overshoot the stack pointer! (pla and plp) Sam M W 2023-04-15 21:37:47 +01:00
  • 62424070a1 disable interrupts after BRK instruction Sam M W 2023-04-15 21:34:07 +01:00
  • a8d53f926d implement BRK Sam M W 2023-04-15 21:17:28 +01:00
  • 1c31a73a2b correct endianness for program counter push Sam M W 2023-04-15 21:01:08 +01:00
  • 239992ea6c first stab at implementing the JSR instruction Sam M W 2023-04-15 20:58:31 +01:00
  • 70e85a2eaf bugfix for the bit opcode Sam M W 2023-04-15 16:42:05 +01:00
  • 8e797b70fa implement BNE Sam M W 2023-04-15 16:17:51 +01:00
  • 18164c7abf implement RTI as well Sam M W 2023-04-15 15:27:51 +01:00
  • 1b90243738 implementation of RTS Sam M W 2023-04-13 10:23:55 +01:00
  • 7df9160e32
    Bump bitflags from 2.0.2 to 2.1.0 (#65) dependabot[bot] 2023-04-13 10:58:07 +02:00
  • 6a65b375c4 wip functional-test Matthias 2023-04-05 22:43:19 +02:00
  • 0f882e974b Merge branch 'master' of github.com:mre/mos6502 into functional-test Matthias 2023-04-05 21:33:40 +02:00
  • 4dd69194ce Initial version Matthias Endler 2018-11-04 23:11:41 +01:00
  • 99ae3d55e0
    Merge pull request #63 from mre/memory_trait omarandlorraine 2023-04-05 05:23:25 +01:00
  • f031c080a0 bump version Sam M W 2023-04-04 14:48:13 +01:00
  • 9f75d1a6b5 the get_byte method needs to take mutable reference to self Sam M W 2023-04-03 22:46:46 +01:00
  • 26926a9feb set_byte method does not need to return old_value Sam M W 2023-04-03 22:44:02 +01:00
  • d2043dc6fb less verbosity, more expliciteness Sam M W 2023-04-03 21:04:34 +01:00
  • 7222388c5e get rid of silly xextend function; just use the .into() Sam M W 2023-04-03 21:00:17 +01:00
  • 3accd8ce40 as clippy suggests, convert from bool to u8/i8 Sam M W 2023-04-03 07:38:38 +01:00
  • 672defd817 remove now dead code Sam M W 2023-04-03 07:36:50 +01:00
  • 0708a1084c fix the tests back up Sam M W 2023-04-03 07:31:49 +01:00
  • 12c901e8aa generic argument for CPU represents memory Sam M W 2023-04-03 06:59:12 +01:00
  • a8dac6e805 extract memory functionality into a trait Sam M W 2023-04-03 06:15:07 +01:00
  • f3f15de8cc remove memory.get_slice Sam M W 2023-04-03 05:47:29 +01:00
  • 4254c02f55 Remove unit test test_memory_set_bytes Sam M W 2023-04-02 21:53:36 +01:00
  • 131b0f312d remove get_byte_mut_ref method from Memory Sam M W 2023-04-02 21:35:18 +01:00
  • 766143d52f remove is_stack_address; it's never used Sam M W 2023-04-02 21:21:46 +01:00
  • 61b8dfe1f2
    add single_step function (#62) omarandlorraine 2023-03-26 23:27:44 +01:00
  • fdf71425d3
    Bump bitflags from 1.3.2 to 2.0.2 (#60) dependabot[bot] 2023-03-20 14:58:45 +01:00
  • c3438c14e7
    Make code more idiomatic (#61) Matthias Endler 2023-03-20 14:11:44 +01:00
  • 113f95afba
    Merge pull request #57 from mre/overflow_panic omarandlorraine 2022-10-23 09:46:48 +01:00
  • c2e77b5f52 also test subtractions Sam M W 2022-10-23 07:04:15 +01:00
  • 2bcbfa63b5 fix panic Sam M W 2022-10-23 07:01:26 +01:00
  • bf543e2fbe add failing test Sam M W 2022-10-23 06:52:27 +01:00
  • 11e48c1691 add missing CLI instruction Sam M W 2022-10-22 12:25:44 +01:00
  • a28ae7e584
    Merge pull request #56 from mre/incdec omarandlorraine 2022-10-21 09:15:05 +01:00
  • 32f925feb2
    Merge branch 'master' into incdec omarandlorraine 2022-10-21 09:10:18 +01:00
  • 8850934023
    Merge pull request #53 from mre/addrfix omarandlorraine 2022-10-21 09:09:21 +01:00
  • f821dce70f do increments in the same way Sam M W 2022-10-21 06:45:40 +01:00