Commit graph

  • bf73554a59
    Merge branch 'main' into jsonsimh jsonsimh Folkert van Heusden 2025-04-12 17:10:48 +02:00
  • 0ad6fec19b test_psw outofmbufs 2025-04-10 12:44:25 -05:00
  • 0f32d9fca9 Make @property psw use pswfields/dict methods outofmbufs 2025-04-09 22:16:56 -05:00
  • 6ae4b9b641
    memory before/after, instruction count Folkert van Heusden 2025-04-09 07:00:17 +02:00
  • e1300a8c43
    wip Folkert van Heusden 2025-04-09 06:49:58 +02:00
  • 5df044e44c Really fix #23, this time without making Unix crash outofmbufs 2025-04-08 22:35:02 -05:00
  • fe7243e460 Command line option to invoke LONG tests, such as the exhaustive ash tests outofmbufs 2025-04-08 22:20:09 -05:00
  • ddd5c4bda5 more tests including rtt outofmbufs 2025-04-08 22:19:48 -05:00
  • bbaf5e8bc6 Fixes #23 RTT/RTI too trusting outofmbufs 2025-04-08 22:16:48 -05:00
  • b7da554118 Fixes Issue #22: ash, ashc handle psw_v wrong #22 outofmbufs 2025-04-07 15:32:11 -05:00
  • a91e781725 more ash tests outofmbufs 2025-04-07 15:25:04 -05:00
  • 2e6359f384 BSD boot sequences expects csr in R1 Neil Webber 2025-04-06 08:13:39 -05:00
  • 9b0c1b906f clock tests and adc Neil Webber 2024-10-24 23:45:11 -05:00
  • 29af35d50d Add timestamp log for analysis Neil Webber 2024-10-24 23:44:12 -05:00
  • 33b46680ce adc Neil Webber 2024-10-24 10:48:00 -05:00
  • 58a45b0813 cleanups Neil Webber 2024-10-24 08:17:06 -05:00
  • b4ac71c3b9 In one of those "how did this ever work?" situations... correct the mapping of the I/O page in u64mapped_pdp() Neil Webber 2024-10-23 11:43:59 -05:00
  • d9b436dad6 Make the unittests work again Neil Webber 2024-10-23 11:43:39 -05:00
  • 4f06554597 Run all the unit tests Neil Webber 2024-10-23 11:43:13 -05:00
  • 7031d8b6cd dup pending interrupts do not need to notify_all Neil Webber 2024-05-29 19:11:02 -05:00
  • 86175eae07 fix check16 message Neil Webber 2024-05-24 07:39:21 -05:00
  • ff2d6b6de4 Clean up RED/YELLOW logging Neil Webber 2024-05-24 07:38:43 -05:00
  • 62150f45de squeeze a few nsec out of MOV Neil Webber 2024-05-23 18:14:23 -05:00
  • dbe374b4bf clarify (and improve) how WAIT works Neil Webber 2024-05-23 18:13:38 -05:00
  • 6182fafe06 a few missing check16 calls Neil Webber 2024-05-21 06:32:09 -05:00
  • 8ab16ad442 initial gitignore Neil Webber 2024-05-20 08:10:54 -05:00
  • 8ca1a55668 clarify timing methodology Neil Webber 2024-05-18 18:23:36 -05:00
  • b237f9b100 Lots about perf testing Neil Webber 2024-05-18 17:36:43 -05:00
  • d4b8e8d896 enhancements for performance tests Neil Webber 2024-05-18 17:25:52 -05:00
  • ddd800afb6 slight perf optimization Neil Webber 2024-05-18 17:23:14 -05:00
  • 96ae70668e uppersize and systemID Neil Webber 2024-05-18 13:38:49 -05:00
  • 5a95c06401 test_byteops Neil Webber 2024-05-18 09:08:43 -05:00
  • 4e92326323 optimize register-direct paths for ADD and CMP, more could be done. Signif speedups for the optimized cases Neil Webber 2024-05-17 12:04:05 -05:00
  • 715ff48d22 optimize TST on register direct Neil Webber 2024-05-17 12:03:09 -05:00
  • 6da0df526d tstb decb Neil Webber 2024-05-17 12:02:43 -05:00
  • 156972e88f Squeeze another 1% out of reg-reg mov Neil Webber 2024-05-17 11:26:12 -05:00
  • 0a5b2b8a69 some optimizations for >5% increaase in register ops Neil Webber 2024-05-16 15:55:05 -05:00
  • 379aeca487 add test for (user mode) PC wrap-around Neil Webber 2024-05-16 15:41:28 -05:00
  • 4651d137f7 HALT in user mode is ReservedInst, not AddressError Neil Webber 2024-05-16 15:39:44 -05:00
  • d0de30614f minor editorial fixes Neil Webber 2024-05-15 22:17:22 -05:00
  • 02f55397f8 minor perf improvement for byte writes in operandx (validated with timeit) Neil Webber 2024-05-14 09:04:38 -05:00
  • 837c691fdc added MUL test Neil Webber 2024-05-13 12:40:38 -05:00
  • 6b3b41a0c8 Make sure HALT_SEQUENCE works even if only one byte Neil Webber 2024-05-12 04:17:25 -05:00
  • 5a1558c3d7 Updates for stdin mode Neil Webber 2024-05-11 17:06:11 -05:00
  • 3d8ec4a4bf cleanup Neil Webber 2024-05-11 16:18:28 -05:00
  • 9171cd5df1 Implement stdin mode (vs socket) and halt toggle capability (stdin only) Neil Webber 2024-05-11 16:18:17 -05:00
  • d33ea43bd7 implement halt toggle Neil Webber 2024-05-11 16:17:44 -05:00
  • 8b55fe047d This entire module probably needs refactoring, it's getting a bit messy especially regarding messages. That said .. implement ability to select use_stdin for console emulation Neil Webber 2024-05-11 16:16:57 -05:00
  • aeefc45355 Provide option to send telnet initialization sequences to console Neil Webber 2024-05-09 10:26:26 -05:00
  • f278e18b89 SIMH allows -(PC) addressing mode, therefore, so do we Neil Webber 2024-05-08 20:37:57 -05:00
  • d1e040dce8 test_trapconditions to verify various illegal sequences generate correct trap vectors (MORE TESTS NEEDED HERE) Neil Webber 2024-05-08 20:17:19 -05:00
  • 932fbd9ae2 Add tests for LDA with/without checksum on END block Neil Webber 2024-05-08 18:00:27 -05:00
  • 9428e4744a Verifying with some test code, SIMH generates ReservedInstruction for things like JMP R0 ... and now this code does the same (was AddressError) Neil Webber 2024-05-08 17:59:35 -05:00
  • 625c5ce1cc Allow for no checksum in END block of an LDA file Neil Webber 2024-05-08 17:58:38 -05:00
  • 53d7c5d7ab Fix for typeerror #21 -- though this also points out re-reading what MMR2 points to (for logging) might be a bad idea Neil Webber 2024-05-08 08:40:13 -05:00
  • 9442b70617 implement write lock Neil Webber 2024-05-04 13:59:48 -05:00
  • fed836b5b3 v5 instructions Neil Webber 2024-05-03 10:41:19 -05:00
  • 3f5126c398 generalize boot messages Neil Webber 2024-05-03 10:22:03 -05:00
  • fb71067946 first go at making rk unix bootable Neil Webber 2024-05-03 07:50:11 -05:00
  • 9434ea843e Working well enough to boot unix5 Neil Webber 2024-05-03 07:49:49 -05:00
  • c4f9423a4c clean up Neil Webber 2024-05-03 07:48:18 -05:00
  • 87dff94cd3 Add readonly support and illegal_cycle convenience Neil Webber 2024-05-03 07:46:33 -05:00
  • b3b834c0fb cleanup breakpoint inits Neil Webber 2024-05-03 07:44:37 -05:00
  • 98510af5e7 minor cleanups Neil Webber 2024-05-02 09:16:16 -05:00
  • 0c6256571a cleanup Neil Webber 2024-04-23 13:19:34 -05:00
  • 59e2542ff1 pseudo-bkpt to look for bogus memory values outside 16 bit range Neil Webber 2024-04-23 13:16:55 -05:00
  • f5509d373d add check16 to verify no larger than 16 bit values got generated; also reduce footprint of physmem in most cases because of this check Neil Webber 2024-04-23 08:40:51 -05:00
  • 8259c035e0 safeguard literal from allowing bad values into physmem Neil Webber 2024-04-23 08:00:33 -05:00
  • 7a9fff6f8b was masking 18 bits not 16 in ubmap Neil Webber 2024-04-23 07:55:16 -05:00
  • 872ad7833d Make sure no illegal values outside 16 bit range loaded via loadphysmem Neil Webber 2024-04-23 07:39:18 -05:00
  • 6e54a9dc9e accomodate octal formatting in machinestate for logging while still leaving raw values for, e.g., breakpoonts Neil Webber 2024-04-18 17:02:38 -05:00
  • 9408867f47
    Delete mmio.py Neil Webber 2024-04-16 23:11:11 -05:00
  • 496f962c6c incorporate booting LDA Neil Webber 2024-04-14 12:13:08 -05:00
  • 2ef5d03a8c
    Merge pull request #19 from folkertvanheusden/EMKAB0 Neil Webber 2024-04-13 12:58:05 -05:00
  • 81e8d1e9d9
    missing folkert van heusden 2024-04-13 19:38:57 +02:00
  • 1423e79813 Fix I/O to registers via Unibus addrs; also microbreak register Neil Webber 2024-04-13 12:24:48 -05:00
  • e418355987 fix boot_lda Neil Webber 2024-04-11 17:40:09 -05:00
  • 22f05d58ca Revamp the unibus device callback system. New version has explicit BusCycle argument in one callback function vs the mishmash of time-evolved methods for reset, bytes, etc Neil Webber 2024-04-11 16:59:06 -05:00
  • c78972654c Revamp the unibus device callback system. New version has explicit BusCycle argument in one callback function vs the mishmash of time-evolved methods for reset, bytes, etc Neil Webber 2024-04-11 16:58:41 -05:00
  • 1eba151bdb Allow zero bytes between blocks in LDA Neil Webber 2024-04-11 16:40:07 -05:00
  • 6ef31cb034 Checking in an intermediate LDA implementation but going to change it to conform 100% w SIMH Neil Webber 2024-04-10 07:11:03 -05:00
  • 5ef8965399 Test physRW_N Neil Webber 2024-04-09 14:14:55 -05:00
  • 5993b73e6e Fix AddressError in RW_N when address is od Neil Webber 2024-04-09 14:14:09 -05:00
  • 94c72d28a6 Fix for #14 https://github.com/outofmbufs/python-pdp11-emulator/issues/14 Neil Webber 2024-04-07 08:56:00 -05:00
  • 974674e067 Test for https://github.com/outofmbufs/python-pdp11-emulator/issues/14 Neil Webber 2024-04-07 08:55:43 -05:00
  • dfb95bce2e
    Merge pull request #13 from folkertvanheusden/INC Neil Webber 2024-04-04 20:12:31 -05:00
  • 9125cfbeac
    INC fix Folkert van Heusden 2024-04-04 22:40:16 +02:00
  • bddbd824d9 enable individual test selection from command line Neil Webber 2024-04-01 11:13:49 -05:00
  • 319f78f645 Clean up unused BRANCH_NAMES Neil Webber 2024-04-01 11:13:04 -05:00
  • d9031f7d8b Acknowledgments Neil Webber 2024-04-01 10:21:51 -05:00
  • d65986c619 MFPI same bug as MTPI Neil Webber 2024-04-01 10:16:37 -05:00
  • 7ea4acd24f
    Merge pull request #12 from folkertvanheusden/MTPID Neil Webber 2024-04-01 10:12:01 -05:00
  • 4410f073c4 Fixes Issue NEG #11 ; v setting when zero Neil Webber 2024-04-01 10:08:56 -05:00
  • f6fb96a6e9 ooops, fix negb test to actually use NEGB Neil Webber 2024-04-01 10:06:47 -05:00
  • 8dd0b60fbd test neg/negb Neil Webber 2024-04-01 09:23:26 -05:00
  • 54a7e86d0d neg/negb Neil Webber 2024-04-01 09:23:11 -05:00
  • 5ea5641186 remove unused imports Neil Webber 2024-04-01 08:49:55 -05:00
  • ee26b46dda
    N flag depends on bit 15 folkert van heusden 2024-04-01 15:48:29 +02:00
  • 7920985eb5 pycodestyle complaints and remove unused import Neil Webber 2024-04-01 08:47:08 -05:00
  • 7fd5b507d5 missing import and fix _shifter when NN=0 per 1981 book. Issue Misc #10 Neil Webber 2024-04-01 07:56:22 -05:00