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

62 Commits

Author SHA1 Message Date
wfjm
00559faaaa minor updates
- tools
  - asm-11/lib/defs_xu.mac: add xt.* and xr.* definitions
  - oskit/211bsd_rk/211bsd_rk_boot.ecmd: add tt1: mode: definition
  - tcl/rw11/shell.tcl: update '.h' and '.ha' text output
  - tcode/cpu_basics.mac: A4.4: change exemptions, e11 now like 11/70 and w11
2023-05-19 17:34:57 +02:00
wfjm
61b3d9d809 RtimerFd: BUGFIX; Rw11CntlDEUNA: update; mlib renames+adds
- tools
  - asm-11/lib/defs_xu.mac: add more definitions
  - asm-11/mlib: rename callp->calls; add callr
  - src/librtools/RtimerFd.cpp: BUGFIX: SetRelative(): correct is-positive check
  - src/librw11/Rw11CntlDEUNA.cpp: log transitions into and out of kStateRxPoll
2023-02-20 16:10:49 +01:00
wfjm
75578c0f10 mlib: add pushm etc; rw11/shell: add ODX format
- tools
  - asm-11/mlib: add pushm,popm,callp and helpers
  - tcl/rw11/shell_egd.tcl: add ODX format option for .e command
  - tcode/cpu_(details|mmu).mac: use pushm,popm
2023-02-18 11:34:01 +01:00
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
85fde6c5e8 mcode: use mcall and vecdef, set up proper documentation; Doxygen 1.9.6 2023-02-06 15:18:49 +01:00
wfjm
fb7122822b tbench: use .mcall, fix typos 2023-02-03 08:16:59 +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
dc9005e98a doc and comment updates [skip ci] 2022-12-25 09:07:26 +01:00
wfjm
44c96ec4ab tbit trap overhaul; fix RESET wait
- rtl/w11a:
  - pdp11.vhd: add cpustat_type treq_tbit and resetcnt; use op_rti rather op_rtt
  - pdp11_decode.vhd: use op_rti rather op_rtt
  - pdp11_sequencer.vhd: tbit logic overhaul; use treq_tbit; cleanups;
                         use resetcnt for 8 cycle RESET wait
- rtl/sys_gen/w11a/s3board/sys_conf.vhd: disable monitors for timing closure
- rtl/sys_gen/w11a/*/*.vmfset: drop removed signals
- tools
  - asm-11/lib/push_pop.mac: add push2
  - tbench/w11a/test_w11a_inst_quick.tcl: use creset option to clr pending traps
  - tcl/rw11/asm.tcl: asmrun: add creset option (active with ps option)
  - tcode/cpu_basics.mac: add F2.3 (reset settling time)
  - tcode/cpu_details.mac: add A4.* (PSW + tbit traps)
2022-12-07 15:48:48 +01:00
wfjm
2421554d4e renames, cleanups, SimH V3.12-3 ready
- rtl/w11a
  - pdp11.vhd: rename cpuerr_type adderr->oddadr etc
  - pdp11_mmu.vhd: rename mmu_mmr0_type dspace->page_dspace
  - pdp11_sequencer.vhd: rename adderr -> oddadr, don't set after err_mmu
- tools/asm-11/lib/defs_reg70.mac: rename cp.aer -> cp.odd
- tools/dasm-11/lib/defs_reg70.das: rename cp.aer -> cp.odd
- tools/tcl/rw11/defs.tcl: rename adderr -> oddadr (in cpuerr)
- tools/tcode
  - cpu_details.mac: minor updates; get SimH V3.12-3 ready
  - cpu_mmu.mac:  minor updates; get SimH V3.12-3 ready
2022-12-01 09:04:57 +01:00
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
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
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
6820bba0e4 cpu_mmu: add C2.2 and C2.3 tests 2022-09-04 07:57:42 +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
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
48e08a5bcb ssr->mmr rename: the final cleanup 2022-08-18 09:06:43 +02:00
wfjm
bc0a9907df tcode: Makefile auto-dependency; tcode_std_start bugfix 2022-08-12 08:01:02 +02:00
wfjm
fc10cc5321 *.mac: ssr->mmr rename 2022-08-09 10:13:07 +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
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
132e4ea7e8 asm-11: add limited macro support 2022-07-26 08:34:43 +02:00
wfjm
db27ceddcf SPDX: tools/asm-11/*/*.mac 2019-07-20 10:10:08 +02:00
wfjm
3c92b79224 SPDX: Makefile(.ise) 2019-07-05 17:23:39 +02:00
wfjm
ff1451d928 add dz11 tbench 2019-05-30 14:58:58 +02:00
wfjm
4ff0b57a7a add mcodes bootw11,noboot; add ram:&noboot 2019-05-11 09:29:17 +02:00
wfjm
42461113b0 minor changes
- asm-11/lib/vec_devcatch.mac: use tti,tto instead of dlr,dlt
- ibdr_pc11: set rbuf.[rp]size0 (like dl11)
- librw11/Rw11Cntl{LP11,PC11}: use RtraceTools::
2019-04-28 12:57:18 +02:00
wfjm
ee23d18f87 cosmetics 2019-04-26 10:54:22 +02:00
wfjm
f9f7000a4a minor w11 shell fix; forgotten file 2019-04-24 11:33:04 +02:00
wfjm
08b6ddcaf7 new tools/mcode area
- for test and demonstration, starting with
  - dl11/dl11echo.mac: console interface echo tester
  - sys/blink.mac: 'blinking lights' demo (rsx,bsd and other modes)
- retire tools/asm-11/w11 area
2019-04-23 18:43:43 +02:00
wfjm
afcf56463a minor updates
- ibdr_lp11_buf.vhd: remove fifo clear on BRESET
- lib/defs_kwp.mac: use 'kp.' instead of 'kw.'
- lib/defs_kwl.mac: added
- rw11/shell_egd.tcl: shell_aspec_parse: allow 8,9 in numeric address
2019-04-21 19:30:16 +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
2ae1055ee5 ibdr_{pc11,dl11}: changes for buffered version compat
- ibdr_dl11
  - now xbuf.val in bit 15 and 8;
  - use rbuf instead xbuf for rdry reporting
  - remove maintenance mode
  - use ib_rlim_slv; add RLIM_CEV, drop CE_USEC
- ibdr_pc11
  - pbuf.pval in bit 15 and 8
  - move rbusy reporting from pbuf to rbuf register
- ibdr_maxisys,ibdr_minisys: adapt to new ibdr_dl11 iface
- tb_rlink_tba_pdp11core_ibdr.dat: adapt to new ibdr_dl11 iface
- tcl/rw11/util.tcl: setup_tt: rename dlrlim to dlrrlim
- oskit/*/*_boot.tcl: use dlrrlim instead of dlrlim
- Rw11CntlDL11,Rw11CntlPC11: adapt to new dl11,pc11 iface
- tools/asm-11/lib/defs_{dl,pc}.mac: added definition file
- tools/oskit/hook/hook_ibmon_{pca,tta}.tcl: added imon hook file
2019-04-07 15:43:27 +02:00
wfjm
f82736e5da minor updates
- tb_pdp11core.vhd: print header
- vec_devcatch_reset.mac: finish half-done change start in commit a365317
2019-03-31 09:02:50 +02:00
wfjm
059d3b7f14 ibdr_lp11: move valid bit to msb 2019-03-17 10:01:38 +01:00
wfjm
a36531709c minor updates
- Rw11Probe: ctor: fData* initialized as 0 (not false)
- tbench/*/test_*.tcl: add proper device check
- ibd_ibtst: fix sensitivity list
- RlinkContext: BUGFIX: use proper polarity of status mask
- tools/asm-11/lib
  - defs_*.tcl: add va.xxx and vp.xxx vector defs
  - vec_devcatch{_reset}.mac: rename v..deu to v..xu
2019-03-17 09:48:03 +01:00
wfjm
e1abc27983 comment&code cosmetics; minor changes 2018-11-11 09:50:46 +01:00
wfjm
2190800157 travis: add tests allexp,tests allexp 2018-11-02 19:04:31 +01:00
wfjm
3eedd7f5c8 comment&code cosmetics; minor changes 2018-10-14 14:57:39 +02:00
wfjm
af57bb4201 add KW11-P test bench 2018-09-15 17:31:54 +02:00
Walter F.J. Mueller
8238d3930b tbench support for DEUNA 2017-04-17 21:29:36 +02:00
Walter F.J. Mueller
e11143de37 comment updates/fixes 2017-02-04 17:06:44 +01:00