1
0
mirror of https://github.com/wfjm/w11.git synced 2026-02-28 01:35:58 +00:00

102 Commits

Author SHA1 Message Date
wfjm
6b7c25a961 asm-11 BUGFIX; add ip_delete_tap; update 211bsd_eth.tcl
- tools
  - bin/asm-11: BUGFIX: fix directly nested .if behavior
  - bin/ip_delete_tap: added
  - asm-11/tests: add zbug_0007.mac, test_0460_if_nest.mac
  - oskit/test/os/211bsd/211bsd_eth.tcl: use 'ip' command
2023-02-16 12:29:45 +01:00
wfjm
95bc9be957 revamp tap and bridge handling [skip ci]
- ip_inspect, ip_create_br: removed
- ip_create_tap: rewritten with 'ip' commands
2023-02-12 18:24:47 +01:00
wfjm
89a1fe6ef0 add sys_tst_serloop[12]_b3 designs 2023-02-08 20:18:20 +01:00
wfjm
1d51a4123a asm-11 final polishing
- tools/bin/asm-11: use 'R' error code; fix 'S' logic
- tools/asm-11/tests-err/testerr_0040_inst.mac: add test cases
2023-01-30 08:51:01 +01:00
wfjm
65ed443ffc asm-11 asm-11 BUGFIXes; cpu_mmu.mac fix
- tools/bin
  - asm-11
- tools/tcode/cpu_(details|mmu).mac: use rt?jmp, hta??? macros
    - BUGFIX expressions: allow uop after bop operator
    - BUGFIX proper sign handling for '/','*' and .if ge,gt,le,lt
    - add 'S' error when code size too large
  - tcode/cpu_mmu.mac: remove <../100> expressions for 6 bit right shift
2023-01-29 14:50:14 +01:00
wfjm
82349ddcee asm-11 .list update; tcode updates
- tools/bin
  - asm-11
    - add minimal .list,.nlist (cnd,me,meb) directive support
    - add -(n)list options
- tools/asm-11
  - tests(-err): some tuneups
  - mlib: some macros added, some tuneups
- tools/tcode/cpu_(details|mmu).mac: use rt?jmp, hta??? macros
2023-01-28 08:35:37 +01:00
wfjm
1627b34e3e tcode: use .mcall and mlib 2023-01-27 11:39:28 +01:00
wfjm
3b033ebfa8 major asm-11 update
- tools/bin
  - asm-11
    - add .if, .if(f|t|tf), .endc, .rept, .endr, .mexit directives
    - add .error, .print, .mcall, .mdelete directives
    - add .narg, .nchr, .ntype directives
    - rewrite macro definition and call argument parsing & handling
    - add -L option (to set .mcall pathlist)
    - add auto-generated ...top label
    - add flag (MRmrd) column in output format
  - asm-11_expect
    - add simple substitution mechanism (for macro testing)
    - handle new flag column in output format
- tools/asm-11
  - tests(-err): many tests added
  - tests(-err)/Makefile: distclean target added
  - mlib: macro library, accessed by .mcall
2023-01-26 16:13:36 +01:00
wfjm
4b0a1feb2a asm-11 BUGFIX: misused # and @ don't cause BUGCHECKs anymore 2023-01-22 09:32:48 +01:00
wfjm
bc958525b5 asm-11 BUGFIX: support @(R) modifier with omitted offset
- tools
  - bin/asm-11: BUGFIX: support @(R) modifier with omitted offset
  - asm-11/tests/test_0100_op_(g|gg|rg).mac: add @(R) test cases
  - tcode/cpu_(basics|details|selftest).mac: use @(R)
2023-01-21 19:15:12 +01:00
wfjm
9c49c9ad58 tmu and tmuconv update; test_w11a_cdma tune-up
- rtl/w11a
  - pdp11.vhd: _tmu,_tmu_sb: add port DM_STAT_SE
  - pdp11_sys70.vhd: pass DM_STAT_SE to pdp11_tmu_sb
  - pdp11_tmu.vhd: add vm.vmcntl.[cm]acc, se.[iv]start fields
  - pdp11_tmu_sb.vhd: add port DM_STAT_SE
  - tb/tbd_pdp11core.vhd: pass DM_STAT_SE to pdp11_tmu_sb
- tools/bin/tmuconv: use vm.vmcntl.[cm]acc, se.[iv]start fields; add type
                     column to em line; remove VFETCH/VPUSH heuristics;
                     add -t_emm, -t_fle, -t_fli, -i_flei
- tools/tbench/w11a/test_w11a_cdma.tcl: stop A2 code via PIRQ
2023-01-08 14:38:30 +01:00
wfjm
ba4aa45c48 update tbench and tcode
- tools/bin/tmuconv: add memory system register names
- tools/src
  - librw11/Rw11Cpu: add kCPUUBMAP
  - librwxxtpp/RtclRw11Cpu.cpp: use kCPUUBMAP
- tools/tbench
  - cp/cp_all.dat: add test_cp_ubmap.tcl
  - cp/test_cp_cpubasics.tcl: add creset test
  - cp/test_cp_gr.tcl: streamline, use longer command chains
  - cp/test_cp_membasics.tcl: add 22bit mode tests
  - cp/test_cp_ubmap.tcl: added, test access via ubmap
  - w11a/test_w11a_dstr_word_flow.tcl: renamed from test_w11a_dstm_word_flow.tcl
  - w11a/test_w11a_cdma.tcl: added, test bwm/brm with active CPU
  - w11a/test_w11a_inst_traps.tcl: use defs_cpu.mac include
  - w11a/test_w11a_inst_wait.tcl: added, tests WAIT instruction
  - w11a/w11a_all.dat: add test_w11a_inst_wait.tcl, test_w11a_cdma.tcl
- tools/tcl/rw11/defs.tcl: add A_UBMAP
- tools/tcode
  - cpu_details.mac: add A5
  - cpu_mmu.mac: add F2
2023-01-06 14:02:45 +01:00
wfjm
b59d545956 BUGFIX: cc state unchanged after abort - dstw case
- rtl/w11a/
  - pdp11_psr.vhd: BUGFIX: inhibit CCWE when PSW being written
  - pdp11_sequencer.vhd: BUGFIX: cc state unchanged after abort
- tools
  - bin/tmuconv: fix ru header
  - gwstart/lib/psr.tcl: added, definitions for psr
  - tcode/cpu_details.mac: update A4.1, add B3.1

Closes #37
2023-01-01 11:45:41 +01:00
wfjm
f0f12dc407 add gwstart, a gtkwave starter [skip ci] 2022-12-23 20:36:17 +01:00
wfjm
93307c746d minor edits; add cpu_mmu test
- tools/bin/tmuconv: change VFETCH text for MMU(250) and FPP(244)
- tools/tcode/cpu_mmu.mac: add test C2.4: mmu abort vs nxm abort
- doc/w11a_diff_70_mmu_nxm_prio.md: additional known w11 difference
2022-12-02 10:29:03 +01:00
wfjm
695e49dad0 tmuconv: add -t_ru06 and -t_flow [skip ci] 2022-11-19 08:40:50 +01:00
wfjm
792b175100 content renames gpr -> gr 2022-10-28 08:48: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
058f88b9a0 tools/bin: add dasm-11, a PDP-11 disassembler [skip ci] 2022-09-01 08:44:23 +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
7b9eed22ac asm-11: add -E,-M option 2022-08-11 08:42:31 +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
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
8fe17e59b1 fix dangling ${sys_conf}; tmuconv update [skip ci]
- rtl/sys_gen/*/*.vbom: some vbom's had undefined ${sys_conf} references
- tools/bin/tmuconv: add -t_vf -t_all; fis mnemos; add headers
2022-07-19 07:53:26 +02:00
wfjm
35453c4bdf cleanup SimH setup files (*.scmd); create_disk update [skip ci]
- tools/bin/create_disk: -help: print byte size of disk
- tools/simh/setup_w11a_(min|max).scmd: use autoconfig, cleanups
- tools/oskit
  - *: set RL/RP disk types
  - rsx11mp-30_rp/rsx11mp-30_rp_boot.scmd: disable STOP_TRAPS simulator stops
  - u7ed_rp/u7ed_rp_boot.scmd: use setup_w11a_max.scmd and 2M memory
2022-07-16 08:48:26 +02:00
wfjm
f2ced63b0d tbrun_tbwrri and ti_w11 updates
- tbrun_tbwrri: fully implement --r(l|b)mon
  - ti_w11: add -w and -to options
2022-07-10 12:29:41 +02:00
wfjm
1401e20a2e Some minor updates
- rtl/vlib/rlink/tbcore/rlink_cext_dpi.c: add function prototypes
- rtl/sys_gen/tst_rlink/cmoda7/tb: add missing ssim vbom
- tools/bin
  - ti_w11: update --help text, add -ar,-n4d,-bn4d
  - tmuconv: add DEUNA defs
2022-07-07 09:30:31 +02:00
wfjm
88f8360e44 njobihtm: add -n and -h options; update simh install 2022-06-05 10:23:19 +02:00
wfjm
7ec5be2a30 final touches for V0.791 release
- exptest/util.tcl: add proc et_tstline{0,1}; add et_exp el sub command
- console_starter: change simh port handling
- simh/setup_w11a_(max|min).scmd: adjust port handling
- docu updates
2022-04-24 18:13:35 +02:00
wfjm
6b8c0633bc catch-up after a two years hiatus
- drop Travis support (now defunct)
- generic_cpp.mk: use -std=c++17 (requires gcc 7.3 or later)
- RlinkPortCuff : drop libusb_set_debug (now deprecated)
- viv_tools_config.tcl: use open_hw_manager
- vbomconv: ghdl_m: use -Wl,--no-pie (for UB 18.04 gcc)
- simlib.vhd: write{oct,hex}: fix for ghdl V0.36 -Whide warnings
2021-08-22 16:59:38 +02:00
wfjm
9f13421caa automation of oskit tests (initial version)
- tools/bin/ostest: driver script for oskit tests
- tools/exptest: configuration files for ostest and other expect based tests
- tools/oskit/test: support files for OS disk/tape image kits
- tools/tcl/exptest: tcl package for expect based tests
- tools/tcl/exptest_rri: tcl package for rri mode
2019-08-03 11:45:05 +02:00
wfjm
84540478cd bin/*: drop superfluous exists for 2019-08-02 23:34:18 +02:00
wfjm
4f447bc05a automation of oskit download [skip ci]
- bin/oskit_setup: generic helper
- oskit/*/*_setup: scripts for oskit
2019-07-28 08:43:08 +02:00
wfjm
5b52e5418d Rw11CntlTM11 and tap2file updates
- tap2file
  - BUGFIX in rlmax calculation
  - add -v option
- Rw11CntlTM11
  - BUGFIX: AddNormalExit(): get tmds logic right
  - support odd record length
2019-07-14 09:45:17 +02:00
wfjm
4fbe46df8b SPDX: tools/bin/* 2019-06-29 18:32:12 +02:00
wfjm
1234d3f8ba code cosmetics 2019-06-19 18:58:13 +02:00
wfjm
3925fb1cd9 minor updates and code cosmetics
- asm-11_expect: skip data checks if dot not defined
- tbrun: print list of failed test after summary line
- RparseUrl: add DirName,FileName,FileStem,FileType
2019-06-10 15:37:46 +02:00
wfjm
4c5bcf5521 add intreq monitors; asm-11 prints erroneous lines
- ibd_kw11l:
  - add csr.ir (rem; as intreq monitor)
  - csr only loc writable
  - csr.moni can be cleared, but not set by loc write
- ibdr_{dl11,lp11,lp11_buf}: add rcsr.ir and xcsr.ir (intreq monitors)
- asm-11: print lines with errors to stderr unless -lst seen
2019-04-26 10:52:57 +02:00
wfjm
71290b5142 add ExecWibr(),ExecRibr() and minor updates
- Rw11Cpu: add ExecWibr(),ExecRibr(); LoadAbs(): better trace format
- Rw11Cntl{DEUNA,DL11,LP11,RK11,RHRP,TM11}: use ExecWibr(),ExecRibr()
- ldadump: better -trec format of start address record
- asm-11: .end directive auto-creates '...end' label
- ti_w11: for -e use .end start address when available
- defs_cpu.mac: add some CPU system registers
- defs_dl.mac: fix naming typo
- defs_tm.mac: add function mnemos
2019-04-19 20:56:22 +02:00
wfjm
9b7b3bd5c8 UnitSetup overhaul; new pc11 boot loader; minor changes
- ibus/ib_rlim_gen: add CPUSUSP port; RLIM_CEV now slv8
- ibus/ib_rlim_slv: RLIM_CEV now slv8
- ibus/ibdr_{dl11,lp11_buf}: RLIM_CEV now slv8
- bin/asm-11: fix -help text
- bin/ldadump: added, lda file dumper
- src
  - Rw11Cntl: add UnitSetup(), UnitSetupAll()
  - Rw11Cntl{DEUNA,DL11,RHRP,RK11,RL11,TM11}: call UnitSetupAll() in Start()
  - Rw11CntlLP11: remove SetOnline(), use UnitSetup()
  - Rw11CntlPC11:
    - BootCode(): boot loader rewritten
    - remove SetOnline(), use UnitSetup()
  - Rw11Cpu
    - add defs for w11 cpu component addresses;
    - add MemSize(),MemWriteByte()
    - LoadAbs(): return start, better odd byte handling;
  - Rw11VirtStream: add Error(),Eof()
  - RtclRw11Cpu:
    - BUGFIX: M_wtcpu(): check cpu attn in no-server case
    - add MemSize() getter
    - M_loadabs(): add -trace and start
- ibd_pc11/util.tcl: use rdy instead of done in PCSR
- rw11/util.tcl: setup_lp: add rlim option
2019-04-14 15:52:12 +02:00
wfjm
74ad445c1e Some minor updates:
- tbrun: add --list option
- ti_w11: add add -ar,-n4d (ddr versions)
- travis: run all  sys_tst_sram,sys_w11a also for arty (cover ddr)
- tst_mig/test_mem.tcl: add low level iface tests
- comment changes
2019-01-13 09:46:54 +01:00
wfjm
b8dfa6d41e get ready for w11a_V0.753 release
- rtl/sys_gen/*/*.vhd: drop superfluous genlib call
- rtl/sys_gen/*/*.vmfset: accomodate recent code changes
- tools/bin/tbrun: show correct 'found count' in summary message
- tools/dox/*.Doxyfile: push version to 0.753
- tools/src/librtools/Rtime.ipp: change list-init make some gcc happy
2018-12-29 14:14:08 +01:00
wfjm
89732fe3e0 update xviv_msg_filter
- add c type rules for 'count-only' filters
- add support for bitstream generation checking ([bit] section)
- update vmfsets
2018-12-26 09:40:03 +01:00
wfjm
a73bda34de perl scripts: add and use bailout 2018-12-24 09:02:41 +01:00
wfjm
40f7cad0af tbrun: add --all option 2018-12-20 09:16:42 +01:00
wfjm
5d34d1fad6 ensure that essential vivado warnings are not discarded
- xviv_msg_filter: display INFO Common 17-14 'further message disabled'
- viv_tools_build.tcl: increase message limits (all 200, some 5000)
- sys_w11a_*.vmfset: correct for thus far missed entries
2018-12-07 19:38:32 +01:00
wfjm
74ef4925b4 add and use bailout; add @tcl 2018-12-02 09:39:29 +01:00
wfjm
f248ab9bb2 tbrun,asm-11: use bailout, update exit codes 2018-11-11 09:39:40 +01:00
wfjm
0913863793 comment&code cosmetics; minor changes 2018-11-03 10:30:00 +01:00