1
0
mirror of https://github.com/rkujawa/rk65c02.git synced 2026-03-11 03:16:11 +00:00

Commit Graph

  • d3bafd5892 Add Tiny OS example: scheduler with extended physical RAM master Radosław Kujawa 2026-03-09 22:11:41 +01:00
  • 981bcb0ec2 examples/msbasic: add Makefile, ld65 configs, and rk65c02 platform source (defines, extra, io, iscntc, loadsave) Radosław Kujawa 2026-03-08 00:18:32 +01:00
  • f7aa2d2826 examples/msbasic: add patches for rk65c02 platform (defines, extra, iscntc, loadsave, init, print) Radosław Kujawa 2026-03-08 00:16:25 +01:00
  • 016138ef79 Add MS BASIC example to main README and examples Makefile Radosław Kujawa 2026-03-08 00:07:46 +01:00
  • b93aa4ffdc examples/msbasic: fix README memory map and stub addresses, fix host run command Radosław Kujawa 2026-03-08 00:07:06 +01:00
  • bd59220c49 examples/msbasic: add host, map 32KB RAM from $0000 Radosław Kujawa 2026-03-07 23:57:20 +01:00
  • a641af5d36 doc: align jit-design.md with implementation Radosław Kujawa 2026-03-07 17:23:52 +01:00
  • f09bb28811 Build with or without GNU Lightning (optional JIT) Radosław Kujawa 2026-03-07 16:26:44 +01:00
  • 35b7ce9a8e gitignore: add new example and test binaries, functional_tests build outputs Radosław Kujawa 2026-03-07 16:10:33 +01:00
  • a73ebc3024 examples: add interrupts, hello_serial, stepper, jit_bench, breakpoints Radosław Kujawa 2026-03-07 15:16:18 +01:00
  • 1b4e7fe598 MMU/JIT: extended bus, examples (mmu_mpu, mmu_pae), tests, doc Radosław Kujawa 2026-03-07 13:49:52 +01:00
  • 2cd7094f10 examples: fix comments, add PASS/Expected, improve docs Radosław Kujawa 2026-03-07 13:48:53 +01:00
  • ee826da6ec MMU: host-pluggable translation, TLB, JIT coherence, docs and examples Radosław Kujawa 2026-03-07 04:05:50 +01:00
  • fa5afd1a90 Update README dependencies and host idle-wait guidance. Radosław Kujawa 2026-03-07 01:44:03 +01:00
  • 6ad825a983 Harden logging severity and clean runtime/test noise boundaries. Radosław Kujawa 2026-03-07 01:36:46 +01:00
  • b419a566ce Clean up JIT opcode style and gate perf counters. Radosław Kujawa 2026-03-07 01:25:55 +01:00
  • 8d532664a4 Add WAI idle-wait host integration and documentation. Radosław Kujawa 2026-03-07 01:05:20 +01:00
  • c2d34b0e83 Improve JIT performance on self-modifying workloads. Radosław Kujawa 2026-03-06 23:31:54 +01:00
  • 95139173db Expand JIT coverage and use targeted self-mod invalidation. Radosław Kujawa 2026-03-06 23:22:55 +01:00
  • 8f5b74f6f6 Fix JIT self-modifying code correctness within active blocks. Radosław Kujawa 2026-03-06 22:55:55 +01:00
  • 9f5c8c13c4 Stabilize JIT functional runs and fix BBR/BBS branch checks. Radosław Kujawa 2026-03-06 21:56:55 +01:00
  • e2571da31a Integrate Klaus Dormann's 6502 functional test suite with ATF/Kyua. Radosław Kujawa 2026-03-06 20:48:19 +01:00
  • b980fdaae2 Add host-control callbacks and JIT-safe polling. Radosław Kujawa 2026-03-06 19:58:55 +01:00
  • 813bc612f5 Add compute-intensive benchmark to compare interpreter vs JIT Radosław Kujawa 2026-03-06 19:18:14 +01:00
  • 20adc06fb2 JIT: add ADC/SBC, memory ASL/LSR/ROL/ROR, JMP indirect, JSR, RTS Radosław Kujawa 2026-03-06 19:09:32 +01:00
  • 1680f30f91 Update README. Radosław Kujawa 2026-03-06 18:47:30 +01:00
  • 489a3c59a9 Add JIT. Fix bugs. Radosław Kujawa 2026-03-06 18:40:31 +01:00
  • a7b3f77f88 Remove tests for serial device. Radoslaw Kujawa 2021-01-26 01:16:36 +01:00
  • 6ccb94ac46 Update copyright year. Radoslaw Kujawa 2021-01-25 01:09:01 +01:00
  • f2d37b7e5d Improve wording. Radoslaw Kujawa 2021-01-25 01:08:53 +01:00
  • 23730825fb Avoid null pointer dereference. Radoslaw Kujawa 2021-01-25 01:00:18 +01:00
  • 8e89ed067a CPU emulator should not try to emulate peripherals. Radoslaw Kujawa 2021-01-25 00:38:58 +01:00
  • b3e49fdb24 Add preambles with license information. Radosław Kujawa 2019-09-23 15:28:05 +02:00
  • e98fceaace Change license to GNU GPL v3. Radosław Kujawa 2019-09-23 15:20:35 +02:00
  • 0a9b487549 Bump year. Radosław Kujawa 2019-08-05 11:18:38 +02:00
  • eaa2c0a906 Merge branch 'master' of ssh://github.com/rkujawa/rk65c02 Radosław Kujawa 2019-08-05 11:04:17 +02:00
  • ff8f018816 Add the only appropriate badge. Radosław Kujawa 2019-08-05 11:04:03 +02:00
  • affb3f8630 Test for ADC abs, absx, better test for 16bit adc. Radosław Kujawa 2019-01-25 11:10:35 +01:00
  • aa76f7ba6c Add tests for ADC immediate, zp, zpx. Radosław Kujawa 2019-01-11 15:54:09 +01:00
  • f7737ad607 Merge branch 'master' of ssh://github.com/rkujawa/rk65c02 Radosław Kujawa 2019-01-10 10:27:59 +01:00
  • 327d60932e Add an example of 8-bit multiplication. Radosław Kujawa 2019-01-10 10:27:44 +01:00
  • e6088d2396 Add tests for TSX, TXS. Radosław Kujawa 2019-01-08 23:34:08 +01:00
  • e3714fe805 Add missing test cases for LDA. Radosław Kujawa 2019-01-08 13:57:10 +01:00
  • ed39eff773 Add test cases for STX. Radosław Kujawa 2019-01-07 13:35:14 +01:00
  • 9bcbeb3ca7 Add tests for STY. Radosław Kujawa 2019-01-07 11:43:23 +01:00
  • b39663db42 No need to use workaround - vasm was fixed. Radosław Kujawa 2019-01-06 00:02:03 +01:00
  • 84f4c530d8 Add missing test cases for STZ. Radosław Kujawa 2019-01-05 23:57:18 +01:00
  • 69fb59ee41 Add missing test cases for LDA addressing modes. Radosław Kujawa 2019-01-05 12:13:28 +01:00
  • 184c23b399 Explicitly enable WDC65C02 mode in vasm. Radosław Kujawa 2019-01-05 00:30:18 +01:00
  • 2492c75cb2 Note new vasm version is required. Radosław Kujawa 2019-01-05 00:30:02 +01:00
  • a03189fd7e More sanity checks. Radosław Kujawa 2018-08-13 21:18:29 +02:00
  • 2cc9d86c64 Simplify error handling if malloc fails. wip-20180810-pre-gasm Radosław Kujawa 2018-08-05 23:45:44 +02:00
  • 0896956337 Include argument names in prototype. Radosław Kujawa 2018-07-24 19:20:29 +02:00
  • b1d001113f Make function declerations proper prototypes. Radosław Kujawa 2018-07-24 19:20:06 +02:00
  • 61cc5d2c68 Call finish funcs for devices when closing bus. Radosław Kujawa 2018-07-24 11:02:22 +02:00
  • ef69c47c25 No reason to inline BCD conversion. Radosław Kujawa 2018-07-06 10:26:44 +02:00
  • d3dccffe83 Clarify needed vasm version. Radosław Kujawa 2018-06-25 14:06:48 +02:00
  • 9f916885b8 Add missing include. Radosław Kujawa 2018-06-25 14:06:38 +02:00
  • dc1e2bf829 Refactoring to support (future) string asm. Radosław Kujawa 2018-06-25 14:05:47 +02:00
  • dfb3bd1fca Try to make this build on Linux, NetBSD and OS X. Radosław Kujawa 2018-06-25 13:19:35 +02:00
  • 6c3e66a9f1 Merge branch 'master' of github.com:rkujawa/rk65c02 Radosław Kujawa 2018-06-13 10:30:13 +02:00
  • 060f84e07d Fail if mapping exceeding the bus size Radosław Kujawa 2018-06-13 10:29:26 +02:00
  • 1ec075518c Split assembler-related things into separate file. Radosław Kujawa 2018-04-27 14:07:42 +02:00
  • b7986df553 Split address calculation into separate function. Radosław Kujawa 2018-04-27 10:34:48 +02:00
  • 216450da52 Enable debug-safe optimizations. Radosław Kujawa 2018-04-26 14:16:32 +02:00
  • e2bf924fa9 Make sure doff is initialized. Radosław Kujawa 2018-04-26 14:16:04 +02:00
  • 8ca86735df Add tests for BBRx, BBSx. Radosław Kujawa 2018-04-16 12:27:53 +02:00
  • 4ff3f390db Fix assembling opcode 0xFF (BBS7). Radosław Kujawa 2018-04-16 12:26:52 +02:00
  • a2fdb78d2b BBR and BBS instructions have 2 operands. Radosław Kujawa 2018-04-16 12:14:31 +02:00
  • 7445c275e6 Add test cases for ROR and ROL. Radosław Kujawa 2018-04-13 12:26:06 +02:00
  • 6d7f0abef0 Comment WAI/interrupt behaviour. Radosław Kujawa 2018-04-13 11:25:30 +02:00
  • fae3445e58 Add test cases for TRB and TSB. Radosław Kujawa 2018-04-12 15:28:47 +02:00
  • e5448f50eb Fix expected PC address. Radosław Kujawa 2018-04-12 15:13:48 +02:00
  • 0ac5932e75 Doxify more. Radosław Kujawa 2018-04-12 12:45:05 +02:00
  • 578955e4a1 Add test case for invalid opcode handling. Radosław Kujawa 2018-04-12 11:40:33 +02:00
  • d0728c8ade Emulate invalid instructions. Radosław Kujawa 2018-04-10 13:56:37 +02:00
  • f0471947fc Doxify more. Radosław Kujawa 2018-04-10 12:49:11 +02:00
  • 901e9626d5 Add initial Doxyfile. Radosław Kujawa 2018-04-10 12:18:19 +02:00
  • faec05b87e Start doxifying the documentation. Radosław Kujawa 2018-04-10 12:17:59 +02:00
  • 95368a186a Remove leftover attempt at CLI. Radosław Kujawa 2018-04-10 10:23:32 +02:00
  • ed4b2786b6 Simplify ROM loading by providing utility function. Radosław Kujawa 2018-04-10 10:12:27 +02:00
  • 96f955e8c1 Update year. Radosław Kujawa 2018-04-09 17:07:21 +02:00
  • fe94c747e5 Add test case for signed comparison. Radosław Kujawa 2018-04-09 15:00:02 +02:00
  • eeb564d69f Make log less verbose. Radosław Kujawa 2018-04-06 14:27:05 +02:00
  • adef30da21 Load the example at 0xC000, stop the emulator after running. Radosław Kujawa 2018-04-06 14:26:00 +02:00
  • 5173d10a69 Add code to actually run the example. Radosław Kujawa 2018-04-06 14:25:26 +02:00
  • b44dcdc91a Add example routine finding min among 3 numbers. Radosław Kujawa 2018-04-05 00:32:53 +02:00
  • 7cf3f263e3 Simplify handling ciritcal emulation errors. Radosław Kujawa 2018-04-01 21:40:49 +02:00
  • 68fa918d97 Document the way invalid opcodes are handled. Radosław Kujawa 2018-04-01 21:16:58 +02:00
  • 3c684fbf2c Fix zero page wrap for indexed indirect mode. Radosław Kujawa 2018-03-31 15:03:22 +02:00
  • 7c4d6cea3f Fix indirect indexed with Y addressing. Radosław Kujawa 2018-03-31 12:38:45 +02:00
  • 4f299a6f36 Also fix zero page wrap for bus reads. Radosław Kujawa 2018-03-28 14:18:50 +02:00
  • b35323cb3d Use logging function instead of printf. Radosław Kujawa 2018-03-28 13:52:07 +02:00
  • 390bbdc14e Add test cases for LSR and zero page wrap. Radosław Kujawa 2018-03-28 13:47:18 +02:00
  • 260ac09c01 Emulate zero page wrap for zp,x addressing. Radosław Kujawa 2018-03-28 13:46:06 +02:00
  • 0b2be69481 Add test case for ASL. Radosław Kujawa 2018-03-28 13:18:44 +02:00
  • 9ff0cb26fc Explicitely cast time to long long ints. Radosław Kujawa 2018-03-27 13:30:33 +02:00
  • 25e62f4be4 Avoid compiler warning (variable uninitialized). Radosław Kujawa 2018-03-27 13:18:29 +02:00
  • e72871a5b6 Use clock_gettime instead of gettimeofday. Radosław Kujawa 2018-03-27 12:53:08 +02:00
  • 262321b363 Bring README up to date. Radosław Kujawa 2018-03-26 16:45:07 +02:00