1
0
mirror of https://github.com/wfjm/w11.git synced 2026-01-19 01:47:47 +00:00

103 Commits

Author SHA1 Message Date
wfjm
e14d92f9cc comment&code cosmetics 2019-03-08 16:44:44 +01:00
wfjm
6024dce209 use std::bind instead of lambda
- automatic return type detection for lambda's can be error prone
- it is safer and more compact to use std:bind as method forwarder
- closes issue #19
2019-03-03 09:40:56 +01:00
wfjm
1206e5d938 add ibd_ibtst; tbench code for ibd_ibtst and sdreg
- ibd_ibtst: added, an ibus tester device
- pdp11_sys70: instantiate ibd_ibtst (when sys_conf_ibtst = true)
- Rw11Cpu,RtclRw11Cpu: add ibmon setup and HasIbtst()
- tcl/ibd_ibtst/util.tcl: added, tcl support for ibd_ibtst
- tbench/w11a/test_w11a_sdreg.tcl: added, tbench for sdreg
- tools/tbench/w11a_ibtst/: added tbench for ibd_ibtst
2019-03-01 09:05:29 +01:00
wfjm
8d323848b3 Some minor updates
- top-level Makefile: drop w11a/arty_bram
- sys_w11a_s3: set BTOWIDTH 7 (was 6, must be > vmbox atowidth (6))
- RtclGet.ipp: use const& for oper() of string& and Rtime&
- *.Doxyfile: bump version to 0.77
- comment and docu updates
2019-02-24 12:50:38 +01:00
wfjm
fefa952a4d Makefile: drop boost includes and libs 2019-01-02 12:00:31 +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
0fe9cd8acc mixed bag of small backend code updates
- RlinkCommand,RlinkCommandList: add move version of methods
- use constructor delegation
- use nullptr
- drop empty destructors for pod-only classes
- RlinkCommand: rename IsBlockExt -> HasBlockExt
- RlinkConnect: add BadPort(); used on all hard port checks
- remove contraproductive moves (-Wpessimizing-move)
- add casts (-Wfloat-conversion, -Wdouble-promotion)
- virtual dtor now outlined to streamline vtable
- make Dump non virtual in some cases (-Wnon-virtual-dtor)
- rename variables in shadow situations (-Wshadow)
2018-12-27 09:04:19 +01:00
wfjm
5bf5d405c3 use std::boolalpha; add and use RosPrintf(bool) 2018-12-23 09:07:25 +01:00
wfjm
93bf5ce03b use c++ style casts 2018-12-22 09:20:02 +01:00
wfjm
4e2f1c3d19 use std::thread instead of boost; final boost cleanup
- no boost:: classes used anymore
- no boost/*.hpp headers included anymore
- significantly improved compilation speed
2018-12-19 11:53:54 +01:00
wfjm
dcaf39ff84 use mutex and friends from std:: instead from boost::
- use std::mutex
- use std::recursive_mutex
- use std::condition_variable
- use std::lock_guard
2018-12-18 10:22:35 +01:00
wfjm
783778f2bb use =delete for noncopyable instead of boost 2018-12-17 09:00:15 +01:00
wfjm
1620ee3a84 phase-out boost::function,bind
- use std::function instead of boost
- use c++11 lambda instead of boost::bind in most cases
- use std::bind in few cases where this deems more readable
- use move semantics for passing of function objects
2018-12-16 12:24:07 +01:00
wfjm
11e6c81379 add HasPort/HasVirt(); Port() and Virt() return reference 2018-12-15 14:49:34 +01:00
wfjm
70f0911b37 use std::shared_ptr instead of boost 2018-12-14 18:24:24 +01:00
wfjm
cd97fb0f45 add and use move semantic in RlinkCommandExpect 2018-12-13 20:53:56 +01:00
wfjm
03d69de264 BUGFIX: Start(Tx|Rx)Ring, was broken in 970be66 2018-12-09 09:22:06 +01:00
wfjm
a369c48762 use unique_ptr 2018-12-09 09:16:07 +01:00
wfjm
233730885d comment&code cosmetics; minor changes 2018-12-08 09:25:25 +01:00
wfjm
86556f767f use range loops 2018-11-30 20:21:30 +01:00
wfjm
4e1f91b0a1 use auto; use emplace,make_pair 2018-11-16 18:26:00 +01:00
wfjm
e1abc27983 comment&code cosmetics; minor changes 2018-11-11 09:50:46 +01:00
wfjm
dd3a253dbc Rw11VirtDiskRam: add ram: scheme for ram-only-disk 2018-11-10 12:24:43 +01:00
wfjm
341cf23e76 Rw11VirtDisk: keep track of disk geometry 2018-11-10 09:04:48 +01:00
wfjm
4e001adf8d replace boost/foreach 2018-11-04 09:01:47 +01:00
wfjm
0913863793 comment&code cosmetics; minor changes 2018-11-03 10:30:00 +01:00
wfjm
2a50d35e71 some minor c++11 and -Weverything code updates
- use `nullptr` instead of plain '0'
- use `[[noreturn]]` (clang -Wmissing-noreturn)
- drop never reached returns (clang -Wunreachable-code-return)
- drop `throw()` lists, use `noexcept` (clang -Wdeprecated)
- add `R*_Init` prototypes (clang -Wmissing-prototypes)
- Rw11VirtEthTap.cpp: BUGFIX: buffer not null terminated (coverity)
2018-10-28 12:19:19 +01:00
wfjm
86380fc2c6 coverity: catch exceptions in dtor 2018-10-27 12:44:39 +02:00
wfjm
4b355707c8 add Rtools::Catch2Cerr 2018-10-27 12:41:12 +02:00
wfjm
102845ccf6 move using after includes (clang warning) 2018-10-07 08:28:39 +02:00
wfjm
37da9f19fa fix wrong doxygen trailing comments (clang -Wdocumentation) 2018-10-05 19:10:52 +02:00
wfjm
1be14ad15f Integrate dmpcnt in all w11 designs and backend
- pdp11_sequencer: add DM_STAT_SE.(cpbusy,idec)
- pdp11_sys70: only preliminary set of signals, cache signals kludged
2018-09-30 09:35:30 +02:00
wfjm
970be66d07 cleanups for -Wpedantic; bugfix in RtclArgs.hpp 2018-09-28 19:51:19 +02:00
wfjm
700eb2349c coverity: bugfixes for resource leaks etc; use -Wpedantic 2018-09-23 09:48:21 +02:00
wfjm
c01fc7c053 coverity: fixed for uninitialized variables 2018-09-22 11:14:45 +02:00
wfjm
4df1d3e549 minor comment corrections/additions 2018-09-21 19:35:31 +02:00
wfjm
c1370bd5d8 RtclRw11Unit: fix for clang: M_virt() now public 2018-09-15 18:26:50 +02:00
wfjm
49777105c2 get disclaimers in line with GPL V3 License.txt 2018-01-02 21:41:07 +01:00
wfjm
dc1633ff56 Rw11VirtDiskOver: more detailed stats 2017-06-05 23:06:20 +02:00
wfjm
e9d9dc309f Rw11VirtDiskOver.cpp: Read(): BUGFIX: fix index error in blockwise read 2017-06-03 19:42:29 +02:00
wfjm
a9425599e7 Miscellaneous fixes and changes
- ibdr_deuna: add logic to handle 'PDMD issued while busy'
- Rw11CntlDEUNA: adopt trace and statistics
- hook_ibmon_xua.tcl: use .imf,.ime
2017-05-28 13:33:39 +02:00
wfjm
c0a227c1d5 Miscellaneous fixes and changes
- Rw11VirtDiskOver: BUGFIX: correct write count accumulation
- svn_set_ignore: check svn:ignore existance before reading it
- telnet_wrapper: add 'r' --> reset and stty sane handling
2017-05-27 16:06:15 +02:00
wfjm
6969442dac Rw11CntlPC11,Rw11CntlDL11: trace received chars 2017-05-20 17:41:19 +02:00
Walter F.J. Mueller
ed4988d0e4 re-arrange rawio commands for rlc and rlp
- RtclRlink(Connect|Port): drop M_rawio; add M_rawread,M_rawrblk,M_rawwblk
- RtclRlinkPort: LogFileName(): returns now const std::string&
2017-04-30 15:20:16 +02:00
Walter F.J. Mueller
76244111d1 BUGFIXes for backend
- RlinkPort: BUGFIX: RawRead(): proper irc for exactsize=false
- Rexception: BUGFIX: add fErrtxt for proper what() return
2017-04-30 15:17:41 +02:00
Walter F.J. Mueller
2c7b4715f0 remove Doxygen \version lines 2017-04-28 21:34:40 +02:00
Walter F.J. Mueller
509c3719bd integrate rbus monitor in w11 shell; setup procs idempotent
- RlinkConnect: add rbus monitor probe, add HasRbmon()
- RtclRlinkConnect: M_amap: -testname opt addr check; add hasrbmon get
- RtclRw11Cpu: M_(imap|rmap): -testname optional addr check
- ti_rri: setup rbus monitor if detected
- rw11/shell.tcl: integrate rbmon: add .rme,.rmd,.rmf,.rml
- ibd_ibmon/util.tcl: setup: now idempotent; move out imap_reg2addr
- rbmoni/util.tcl: setup: now idempotent; add procs filter,rme,rmf
- rlink/util.tcl: add amap_reg2addr
- rw11/util.tcl: move in imap_reg2addr; add imap_range2addr
- rw11/shell.tcl: integrate rbmon: add .rme,.rmd,.rmf,.rml
- rw11/dmhbpt.tcl: hb_set: use imap_range2addr, allow regnam and range
- */util.tcl: setup: now idempotent
2017-04-22 15:33:04 +02:00
Walter F.J. Mueller
4cb079d5a0 backend for DEUNA
- Rw11CntlDEUNA: controller and almost all logic
- Rw11UnitDEUNA: unit
2017-04-17 21:15:37 +02:00
Walter F.J. Mueller
726377722c backend support classes for networking 2017-04-17 21:05:42 +02:00
Walter F.J. Mueller
64b8435719 code cosmetics 2017-04-17 14:08:38 +02:00