1
0
mirror of https://github.com/mre/mos6502.git synced 2026-03-10 23:28:17 +00:00

Commit Graph

  • 93d9fc46ba Fix: Correct cycle counts for branch taken and branch page crossing (#130) master Mark Schmelzenbach 2026-03-09 15:56:00 -06:00
  • 684c5413b4 Fix BEQ test to use correct sign extension for relative offset fix/branch-cycle-timing Matthias 2026-02-28 00:18:13 +01:00
  • 2d16fcb51a Clarify signed-to-unsigned cast in BEQ test comment Matthias 2026-02-28 00:16:29 +01:00
  • f9656f220d Ran cargo fmt to keep the linter happy Schmelze 2026-02-14 09:57:45 -07:00
  • 4f661fa196 Fix: Correct cycle counts for branch taken and branch page crossing Schmelze 2026-02-08 07:34:07 +00:00
  • d66c1e667d Bump version to 0.8.0 (#129) v.0.8.0 Matthias Endler 2026-02-06 17:31:32 +01:00
  • 9ff04c75f1 Add interrupt handling (NMI, IRQ) and WAI/STP wait states (#122) Matthias Endler 2026-02-06 17:16:13 +01:00
  • 9385b99484 Add buble sort example Matthias 2026-02-06 16:42:17 +01:00
  • c91d604efe Add support for illegal opcodes (#126) omarandlorraine 2026-02-06 15:19:01 +00:00
  • 3d4af71c8a Add cycle times (#124) Matthias Endler 2026-01-10 18:02:49 +01:00
  • 196f4c118b Complete the WDC 65C02 instruction set implementation (#121) Matthias Endler 2025-12-31 13:15:10 +01:00
  • eee00369c9 Add CI tests badge v0.7.0 Matthias Endler 2025-12-30 19:16:26 +01:00
  • 673e7e42e3 Functional Test (#81) Matthias Endler 2025-12-30 18:42:23 +01:00
  • 4fbc79fe31 Add engaging historical documentation for 6502 variants (#118) Matthias Endler 2025-12-30 17:03:40 +01:00
  • 74fa8123c2 Improve SBC behavior for all 6502 variants (#117) Matthias Endler 2025-12-30 14:27:40 +01:00
  • f7235f7981 Create NOTES.md Matthias Endler 2025-07-31 18:48:02 +02:00
  • dcb51dcad9 Fix ADC behavior (#109) Matthias Endler 2025-07-30 12:27:47 +02:00
  • 665f1c948a Update Rust edition to 2024 (#114) Matthias Endler 2025-07-30 11:59:23 +02:00
  • da6fa8d7e4 Add Dependabot configuration for Rust dependencies (#116) Matthias Endler 2025-07-30 11:53:00 +02:00
  • b67d2e97c6 Update dependencies Matthias 2025-07-29 19:37:55 +02:00
  • 4077abecf0 Update FUNDING.yml Matthias Endler 2025-07-29 19:26:28 +02:00
  • 6486a015b9 format Matthias 2025-07-29 19:21:31 +02:00
  • d30a36b1fa Update reset sequence documentation with detailed cycle information Matthias 2025-07-29 19:20:08 +02:00
  • 9f86cfc2ec format Matthias 2025-07-29 08:12:08 +02:00
  • 5eb3b8f4d8 Implement 6502 reset sequence Matthias 2025-07-29 08:10:45 +02:00
  • 6e61d2c5e0 formatting sbc-improvements Matthias 2025-07-29 19:09:48 +02:00
  • 2cb51702e5 Improve SBC behavior Matthias 2025-07-29 19:08:00 +02:00
  • 39dce7aeaa Clean up CI workflow Matthias 2025-07-29 18:46:33 +02:00
  • 6582a8a578 Remove decimal_mode feature Matthias 2025-07-29 18:43:32 +02:00
  • 482e313d66 format Matthias 2025-07-29 18:37:53 +02:00
  • ff4ef20a08 Improve AdcOutput struct with PartialEq and Eq traits for improved comparison functionality Matthias 2025-07-29 18:35:56 +02:00
  • 2f3ca09d4c Refactor test attribute for decimal mode tests Matthias 2025-07-29 18:28:18 +02:00
  • a1e3736a7f Add set_flag and unset_flag Matthias 2025-07-29 18:04:52 +02:00
  • 03b2e00721 Rename flag_set to get_flag and introduce set_flag for improved status register management Matthias 2025-07-29 17:58:58 +02:00
  • 4bc85a831e Split up execute_adc into adc_binary and adc_decimal Matthias 2025-07-29 12:15:48 +02:00
  • 222544e60b Fix more lints Matthias 2025-07-29 08:25:15 +02:00
  • 035ebe3c00 Fix clippy lints Matthias 2025-07-29 08:19:52 +02:00
  • 08850f3b43 Document Status flags Matthias 2025-07-29 08:02:05 +02:00
  • f1d1e319e5 Rename test Matthias 2025-07-29 07:47:03 +02:00
  • 6598c8fa9a Introduce flag_set for cleaner status register access Matthias 2025-07-29 07:45:50 +02:00
  • 40f05e4730 Add tests Matthias 2025-07-29 07:36:32 +02:00
  • e4ab80960c Refactor ADC instruction to return structured output and improve clarity Matthias 2025-07-29 07:31:14 +02:00
  • ece3117095 Move adc instruction to separate method Matthias 2025-07-28 19:21:33 +02:00
  • 7286b55fea fix lints Matthias 2025-07-28 15:11:34 +02:00
  • e67e56c158 Fix clippy lints Matthias 2025-07-28 15:03:51 +02:00
  • 63c60718c1 formatting Matthias 2025-07-28 14:56:36 +02:00
  • fcf484e78a Fix comments for ADC and SBC instructions to clarify decimal mode behavior. Make naming of instruction a little clearer Matthias 2025-07-27 22:09:43 +02:00
  • a9f45c8506 Refactor ADC implementation to correctly calculate carry and overflow flags based on binary addition. fix-adc Matthias 2025-07-26 01:21:37 +02:00
  • 77697dbb99 Fix Add with Carry (ADC) Implementation Matthias 2024-10-21 10:37:17 +02:00
  • 6c6a68aa3a version bump 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
  • 65817524a2 Bump bitflags from 2.3.2 to 2.3.3 (#82) dependabot[bot] 2023-06-29 10:52:01 +02:00
  • e88c971625 Add assembly example code (#80) Matthias Endler 2023-06-20 10:32:28 +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