1
0
mirror of https://github.com/mre/mos6502.git synced 2026-04-19 14:16:52 +00:00

Commit Graph

  • 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
  • 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
  • e4aebb9dfe cargo fmt Sam M W 2022-10-21 06:42:27 +01:00
  • 4e057a2a94 remove unused function decrement_memory Sam M W 2022-10-21 06:40:56 +01:00
  • 1d0fd6aad0 remove unused function dec_x Sam M W 2022-10-21 06:37:41 +01:00
  • 7500e8816e cargo clippy --fix Sam M W 2022-10-21 06:34:42 +01:00
  • 95731752ba using the associated function decrement Sam M W 2022-10-21 06:33:40 +01:00
  • 665ee4193d x and y are now unsigned and there's less casting all over Sam M W 2022-10-20 09:42:17 +01:00
  • 41b9b19be2 decrement_y_test passes Sam M W 2022-10-20 09:32:51 +01:00
  • c406965560 decrement_x_test passes Sam M W 2022-10-20 09:22:26 +01:00
  • 1972a42adc some failing tests Sam M W 2022-10-20 09:04:44 +01:00
  • 894e4304ea test branch_across_end_of_address_space Sam M W 2022-10-18 14:55:22 +01:00
  • d8a9558095 formatting Sam M W 2022-10-18 13:37:06 +01:00
  • 5290a9d61e zeropage wraparound test Sam M W 2022-10-18 13:35:17 +01:00
  • 89d6e66e11 whitespace Sam M W 2022-10-18 10:39:29 +01:00
  • 4cc24efce4 forgot to change README Sam M W 2022-10-18 10:13:19 +01:00
  • cd83ae7b9c delete now useless sourcefile src/address.rs Sam M W 2022-10-18 10:09:24 +01:00
  • 8c6591f6a4 remove last of Address and AddressDiff Sam M W 2022-10-18 10:09:03 +01:00
  • 3de8f9158d move tests and README away from Address Sam M W 2022-10-18 09:59:52 +01:00
  • a3c4a7689f the program counter should wrap as well Sam M W 2022-10-18 09:42:51 +01:00
  • 7328eb416a misc clippy fixes. Sam M W 2022-10-18 09:38:05 +01:00
  • 4b26e83529 remove Address and AddressDiff from equation Sam M W 2022-10-18 06:57:59 +01:00
  • 38a2dfb2f3 add failing test invalid-decimals Sam M W 2022-08-07 15:56:38 +01:00
  • f3d3bf470f add option to statically disable decimal mode (#47) omarandlorraine 2022-08-11 14:42:34 +01:00
  • 18e55aaeca remove call to .trim(), as clippy suggests Sam M W 2022-08-09 04:14:46 +01:00
  • 8e876989e4 Add image Matthias 2022-06-07 20:31:53 +02:00
  • cdb2f0949a Merge branch 'master' of github.com:mre/mos6502 Matthias 2022-06-07 20:17:48 +02:00
  • 7398fc4c3f Simplify GCD program Matthias 2022-06-07 20:17:44 +02:00
  • b6c888f951 Update and rename continuous_testing.yaml to ci.yaml Matthias 2022-06-07 20:01:11 +02:00
  • 8c088611bb Update dependencies Matthias 2022-06-07 19:57:54 +02:00
  • 885afe0c10 Rust 2021 edition Matthias 2022-06-07 19:53:16 +02:00
  • d1b1c93fd4 Fix clippy warnings Matthias 2022-06-07 19:52:00 +02:00
  • 363dc47755 Format code Matthias 2022-06-07 19:30:29 +02:00
  • e829122a5a Delete .travis.yml Matthias 2022-06-07 19:27:57 +02:00
  • ef9a49ac8b set carry flag if carry_in && value == "$ff" (#44) omarandlorraine 2022-06-07 10:03:51 +01:00
  • e2fd2469e3 Merge pull request #42 from mre/dependabot/cargo/log-0.4.17 Matthias 2022-05-03 10:02:19 +02:00
  • 57c5e97cd4 Bump log from 0.4.16 to 0.4.17 dependabot[bot] 2022-05-03 04:11:28 +00:00
  • 6b39e04089 Merge pull request #41 from mre/dependabot/cargo/log-0.4.16 Matthias 2022-03-23 10:17:33 +01:00
  • 46aae27bd1 Bump log from 0.4.14 to 0.4.16 dependabot[bot] 2022-03-23 04:11:47 +00:00
  • eea8dcd5da Merge pull request #40 from mre/dependabot/cargo/skeptic-0.13.7 Matthias 2022-02-02 10:17:59 +01:00
  • 0483f453af Bump skeptic from 0.13.6 to 0.13.7 dependabot[bot] 2022-02-02 04:11:02 +00:00
  • 8ae11309b8 Merge pull request #39 from mre/dependabot/cargo/bitflags-1.3.2 Matthias 2021-12-16 00:35:11 +01:00
  • 25cecf4cd2 Bump bitflags from 1.2.1 to 1.3.2 dependabot[bot] 2021-08-16 04:20:42 +00:00
  • 6fdd561b02 Remove unnecessary fixme comment (#37) Matthias 2021-05-16 17:21:56 +02:00
  • 424262cd36 Merge pull request #36 from mre/dependabot/add-v2-config-file Matthias 2021-04-29 18:58:26 +02:00
  • 0ccb00cd32 Upgrade to GitHub-native Dependabot dependabot-preview[bot] 2021-04-29 15:24:26 +00:00
  • c97a3634de Add historical background Matthias Endler 2021-04-07 14:05:38 +02:00
  • 3830ccca27 Add comments Matthias Endler 2021-04-07 14:01:45 +02:00
  • abb01df4b4 Cleanup Matthias 2021-04-07 13:59:51 +02:00
  • d3a9833ce0 Update deps Matthias Endler 2021-04-07 13:56:58 +02:00
  • 24973d7fbd Upgrade to Rust 2018 edition Matthias Endler 2021-04-07 13:55:41 +02:00
  • b6e4a5ce8b Merge pull request #34 from mre/dependabot/cargo/skeptic-0.13.6 dependabot-preview[bot] 2021-03-17 14:49:34 +00:00
  • 5c0b45d0d4 Bump skeptic from 0.13.5 to 0.13.6 dependabot-preview[bot] 2021-03-17 14:44:59 +00:00
  • 42c66e4242 Merge pull request #33 from mre/dependabot/cargo/num-0.4.0 dependabot-preview[bot] 2021-03-06 04:26:56 +00:00
  • 62259b3df6 Bump num from 0.3.1 to 0.4.0 dependabot-preview[bot] 2021-03-06 04:24:22 +00:00
  • a6eae6f2b0 Merge pull request #32 from omarandlorraine/stackfix Matthias 2021-01-30 23:49:57 +01:00
  • b566265dbb Don't panic on stack over- and underflow Sam M W 2021-01-30 15:11:02 +00:00
  • 34bbe55712 Add tests for stack over- and underflow Sam M W 2021-01-30 15:10:41 +00:00
  • ad90d9294c Statically initialize CPU no-std-example Matthias Endler 2021-01-29 00:14:50 +01:00
  • a4990eacbc bump memory to 128K Matthias Endler 2021-01-29 00:14:32 +01:00
  • 99b788c3b1 Merge branch 'master' of github.com:mre/mos6502 into no-std-example Matthias Endler 2021-01-28 23:46:39 +01:00
  • 96e15af044 Merge branch 'master' of github.com:mre/mos6502 into master Matthias Endler 2021-01-28 23:34:44 +01:00
  • 93a39980e4 Add Default impls Matthias Endler 2021-01-28 23:34:41 +01:00