1
0
mirror of https://github.com/wfjm/w11.git synced 2026-01-13 15:37:43 +00:00

332 Commits

Author SHA1 Message Date
wfjm
f6ff0fa701 pdp11_sequencer: BUGFIX: correct mmu trap vs interrupt priority
- rtl/w11a/pdp11_sequencer: BUGFIX: correct mmu trap vs interrupt priority
- tools/asm-11/lib/halt_checks.mac: add htstge
- tools/tcode
  - cpu_details.mac: add test A1.2
  - cpu_mmu.mac: add test E2.1
2022-11-29 08:41:18 +01:00
wfjm
85f1854c60 pdp11_sequencer: BUGFIX: correct mmu trap handing in s_idecode
- rtl/w11a
  - pdp11.vhd: add cpustat_type intpend
  - pdp11_sequencer: BUGFIX: correct mmu trap handing in s_idecode
- tools/tbench/rhrp/test_rhrp_int.tcl: increase expected interrupt latency
- tools/tcode/cpu_mmu.mac: add E1.3 and E1.4

Closes #36
2022-11-24 16:19:20 +01:00
wfjm
40608e35fe pdp11_sequencer: BUGFIX: correct ysv flow implementation
- rtl/w11a
  - pdp11.vhd: rename, eg srv->ser; drop trap_done; add in_vecysv
  - pdp11_sequencer: renames; BUGFIX: correct ysv flow implementation
  - pdp11_vmbox.vhd: rename some rsv->ser; remove obsolete trap_done
- tools/tbench/w11a/test_w11a_cpuerr.tcl: removed, all in cpu_details.mac
- tools/tcl/rw11/defs.tcl: renames
- tools/tcode/cpu_details.mac: expand A3.3, add A3.4
2022-11-23 08:46:12 +01:00
wfjm
b5189053d3 pdp11_vmbox: BUGFIX: correct red/yellow zone boundary 2022-11-20 13:14:23 +01:00
wfjm
695e49dad0 tmuconv: add -t_ru06 and -t_flow [skip ci] 2022-11-19 08:40:50 +01:00
wfjm
3542cc5ca2 do STKLIM check for mode 1,2,4,6 in dstr flows
- pdp11_sequencer.vhd: BUGFIX: use is_kstackdst1246 also in dstr flow
- tools/asm-11/lib/
  - defs_cpu.mac: rename cp.sli -> cp.slr
  - halt_checks.mac: add htstne, htsbne
- tools/tcode
  - cpu_basics.mac: rename cp.sli -> cp.slr
  - cpu_details.mac: add Test A3: STKLIM
  - cpu_(eis|mmu).mac,tcode.ecmd: editorial changes
2022-11-18 17:00:06 +01:00
wfjm
2b7b47e169 minor tcode updates
- cpu_mmu.mac: make C2.3 test more robust
- tcode.ecmd: use 'set cpu nouwin' to emulate w11 behavior
2022-10-29 15:01:20 +02:00
wfjm
792b175100 content renames gpr -> gr 2022-10-28 08:48:07 +02:00
wfjm
9ca20e39ac get ready for V0.792
- rtl/w11a/tb/
  - tbrun.yml: retire last tb_pdp11core_stim.dat based test
  - tb_pdp11core_stim.dat: remove file, now unused and obsolete
- tools/tcode/tcode.ecmd: ensure that unibus map window is not memory
- tools/dox/*.Doxyfile: up version
2022-10-25 09:25:36 +02:00
wfjm
22a2eeea9d tcode: add tests; minor changes
- cpu_details.mac: add C1.* tests
- cpu_mmu.mac: B4.1: check stored PC in SimH and w11 case
2022-10-23 09:47:14 +02:00
wfjm
11091f15bc tcode: add CPU mode 10 tests; minor changes
- cpu_details.mac: fix systyp checks;
- cpu_mmu.mac: add MMR0/3 unimplented bit tests; add B4.1 and B4.2 tests
2022-10-22 12:22:07 +02:00
wfjm
6ff9c8e57c tcode: add CPUERR tests; minor changes
- cpu_details.mac: add section A2.* (cpuerr tests)
- tcode_exec.scmd: use 3M config; set STOP_SPA to 0
2022-10-18 09:01:17 +02:00
wfjm
3134c8ac82 finalize fix for I space mode=1 in s_dstr_def 2022-10-06 11:25:15 +02:00
wfjm
278d2e229d pdp11_sequencer: BUGFIX: use I space for all mode=1,2,3 if reg=pc
- tcode/cpu_mmu.mac: add test F1.1 (verify fix)

Closes #35
2022-09-12 11:12:59 +02:00
wfjm
9614b01644 RtclRw11Cpu.cpp: M_show: fix mmr1 display, better mmr0 display 2022-09-11 08:50:52 +02:00
wfjm
1644863a58 pdp11_mmu.vhd: BUGFIX: correct trap and PDR A logic
- tools/asm-11/lib/defs_mmu.mac: rename md.a??, saner names for ACF
- tcode/cpu_mmu.mac: add E1.1, test m0.trp, pdr aia/aiw transitions (verify fix)

Closes #34
Closes #33
Closes #26
Closes #25
2022-09-09 09:01:06 +02:00
wfjm
137889a271 mcode/sys/memclr.mac added 2022-09-07 08:30:47 +02:00
wfjm
6820bba0e4 cpu_mmu: add C2.2 and C2.3 tests 2022-09-04 07:57:42 +02:00
wfjm
058f88b9a0 tools/bin: add dasm-11, a PDP-11 disassembler [skip ci] 2022-09-01 08:44:23 +02:00
wfjm
5a28096eb6 cpu_mmu: add C2.1 test 2022-08-31 08:06:52 +02:00
wfjm
1b4b641d57 cpu_mmu: add D1.1: full mmr2+mmr1 test 2022-08-30 07:56:31 +02:00
wfjm
84d3f181bd cpu_basics.mac:test jsr sp,dst and rts sp 2022-08-27 09:02:30 +02:00
wfjm
7f9506b201 add systyp checking; add w11 specific tcode tests
- tcode_std_start.mac: system type (w11,simh,e11) detection via sysid
- cpu_mmu.mac: add a test done for w11 only
- tcode.ecmd,tcode_exec.scmd: set up sysid
2022-08-25 09:00:53 +02:00
wfjm
faf596e531 tmuconv updates [skip ci]
- add -emcancel; drop em 'cancel' when -t-ib
- print ru after em,ib, best for reg from mem cases
- map r6,r7 to sp,pc for rdst,1reg,rsrc instructions
2022-08-23 08:04:24 +02:00
wfjm
4a7f5612cf sysid: encode system type 2022-08-22 08:50:07 +02:00
wfjm
823c738a9b RtclRw11CntlFactory: add coverity accept comments 2022-08-21 18:17:21 +02:00
wfjm
279a5e0fd2 cleanup setup spelling [skip ci] 2022-08-20 08:37:33 +02:00
wfjm
48e08a5bcb ssr->mmr rename: the final cleanup 2022-08-18 09:06:43 +02:00
wfjm
f77e2bef31 divtst: add w11a data [skip ci] 2022-08-17 08:38:53 +02:00
wfjm
13a72d1b4b mcode: use call/return; fix (lp11|pc11)write; add scmd
- tools/mcode
  - *.mac: use call/return
  - (lp11|pc11)write: check line count after last char is accepted
  - pc11copy: kw11-p: use 100 kHz/13.; ensure last puncher interrupt
  - *.scmd: add SimH startup files when reasonable
- tools/simh/setup_w11a_(max|min).scmd: enable pclk
2022-08-13 07:45:28 +02:00
wfjm
bc0a9907df tcode: Makefile auto-dependency; tcode_std_start bugfix 2022-08-12 08:01:02 +02:00
wfjm
7b9eed22ac asm-11: add -E,-M option 2022-08-11 08:42:31 +02:00
wfjm
621c200b11 *.*pp,*.tcl: ssr->mmr rename 2022-08-10 08:04:19 +02:00
wfjm
fc10cc5321 *.mac: ssr->mmr rename 2022-08-09 10:13:07 +02:00
wfjm
e8fc9fa366 tcode: add Makefile [skip ci] 2022-08-08 09:40:44 +02:00
wfjm
063ad4c4c0 updates for cpu_mmu.mac and stktst/data
- cpu_mmu.mac: test mmr0,1,3; test m*p* sp access; use call/return;
- stktst/data/2022-08-03: add note on bsd kernel version confusion
2022-08-07 08:05:00 +02:00
wfjm
6cb56af26c stktst: document the 11/70 findings [skip ci] 2022-08-06 08:00:53 +02:00
wfjm
0f6557beea stktst: minor updates and consolidations [skip ci]
- handle comments from Johnny Billquist
- use page instead of segment language (-s -> -p)
- call printf before 'r' tests done to have stack action
2022-08-05 08:09:45 +02:00
wfjm
1be7bb0376 stktst: minor updates, add README and data [skip ci]
- stktst.c: add (s,c,o) breakdown of sp address
- dotst.s: skip -c and -s for negative counts
2022-08-04 09:11:33 +02:00
wfjm
6d98a17e86 cpu_eis.mac: DIV tests: ignore NZ when V=1
- N and Z are unspecified when DIV returns with V=1
- w11 and Simh show indentical behavior, different from a real 11/70
- e11 models the 11/70 closely, and differs thus from w11 and SimH
- since tcodes should run on w11, SimH and e11, the N and Z cc's are ignored
2022-08-03 16:03:20 +02:00
wfjm
fc480a3b0a tools/tests: add stktst program [skip ci] 2022-08-02 08:30:27 +02:00
wfjm
75dbb26431 add tools/tests, start with divtst [skip ci] 2022-07-31 09:20:04 +02:00
wfjm
c3f36925c2 use call+return+push+pop
- tools/tcode/*.mac: use call+return+push+pop
- tools/asm-11
  - lib/push_pop.mac: added, contains push/pop macros
  - lib/tcode_std_start.mac: include push_pop.mac; ensure PRI=0 at start
  - tests/test_0170_misc.mac: added, verifies call,return response
2022-07-30 11:14:57 +02:00
wfjm
1f7cf00c35 asm-11: BUGFIX '100(pc)' was compiled as '100'
- asm-11: do pc-relative offset calculation correctly
- tools/asm-11/tests:
  - test_0100_op_g, test_0110_op_gg: add test cases for this bug
  - test_0140_op_o.mac: add value checks

Closes #32
2022-07-29 08:34:23 +02:00
wfjm
d0ca1224e5 tcodes: use hcmpeq macro and friends 2022-07-28 08:23:07 +02:00
wfjm
14877b7aa7 tcodes: cpu_mmu.mac added; use macros
- tools/asm-11/lib/halt_checks.mac: added, tcode support macros
- tools/tcode/cpu_mmu.mac: added, with first sections
2022-07-27 08:11:37 +02:00
wfjm
2714d21f83 asm-11: fix lost -x chmod flag 2022-07-26 08:52:42 +02:00
wfjm
132e4ea7e8 asm-11: add limited macro support 2022-07-26 08:34:43 +02:00
wfjm
e7d26bf06f tcode cpu_details.mac: add B*: Stress tests 2022-07-25 08:01:29 +02:00
wfjm
5fab9ca10e tcode cpu_basics.mac: add F3: trap instructions 2022-07-24 08:27:17 +02:00