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
fefa952a4d
Makefile: drop boost includes and libs
2019-01-02 12:00:31 +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
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
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
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
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
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
2c7b4715f0
remove Doxygen \version lines
2017-04-28 21:34:40 +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
Walter F.J. Mueller
3ae2cae6d8
make attach status and attach url gettable for units
...
- Rw11Cntl,Rw11CntlBase: NUnit() now pure; add UnitBase()
- Rw11Unit: add IsAttached(), AttachUrl()
- Rw11UnitVirt: add VirtBase()
- Rw11Virt: add Url() const getter
- RtclRw11UnitBase: add attached,attachutl getters
2017-04-16 15:16:21 +02:00
Walter F.J. Mueller
8b97e62314
ensure that defaulted scheme visible in displayed open urls
...
- pass default scheme to RparseUrl in Open()
- add Open() overloads for Rw11VirtDiskFile and Rw11VirtDiskOver
2017-04-16 15:12:20 +02:00
Walter F.J. Mueller
3e6b02f9cf
tools/src/librw11/Rw11Cpu.cpp
2017-04-16 15:03:58 +02:00
Walter F.J. Mueller
5c534bb829
more compact dumps, add Dump(..,detail) -- Part 2
2017-04-07 22:17:34 +02:00
Walter F.J. Mueller
d333d6b356
default disk scheme now parametrized via rlw
2017-04-02 20:21:09 +02:00
Walter F.J. Mueller
3de030a0dd
code cosmetics
2017-04-02 19:23:02 +02:00
Walter F.J. Mueller
79c565f6f3
more compact dumps, add Dump(..,detail); trace output with cntl name
...
- RlinkCommand: add CommandInfo()
- RtclCmdBase: add GetArgsDump()
- RlinkCommandList: Dump(): add detail arg
- Rstats: add NameMaxLength(); Print(): add counter name
- Rw11Cntl: use Dump(detail) for PrimClist ect
- Rw11CntlBase,Rw11Rdma*: Dump(): add detail arg
- Rw11Cntl*: Dump(): add detail arg; use cntl name as message prefix
- RtclRw11Cntl: M_dump: use GetArgsDump and Dump detail
2017-04-02 19:06:38 +02:00
Walter F.J. Mueller
5f2301b561
add Rw11VirtDiskOver (simple overlay file container)
...
- Rw11VirtDiskBuffer: added, disk buffer representation
- Rw11VirtDiskOver: added, a 'keep changes in memory' overlay file container
- Rw11Virt: add fWProt,WProt()
- Rw11VirtDiskFile: adopt WProt handling
- RtclRw11Unit: add fpVirt,DetachCleanup(),AttachDone(),M_virt()
- RtclRw11UnitBase: add AttachDone()
2017-04-02 15:46:03 +02:00
Walter F.J. Mueller
92812d76b7
add and use Rw11Cpu::kCPAH_M_UBM22
...
- in all practical cases the unibus map enable should be used together with
the 22bit addressing enable, so it's prudent to add a new constant.
2017-02-27 20:25:19 +01:00
Walter F.J. Mueller
f13b1b4900
minor code cleanups
2017-02-26 15:07:16 +01:00
Walter F.J. Mueller
d7aa4966bf
use Rtime; handle auxilliary devices; ModLalh()
...
- use Rtime; drop Rtools::TimeOfDayAsDouble()
- probe/setup auxilliary devices: kw11l,kw11p,iist
- librw11/Rw11Cpu: add ModLalh()
2017-02-26 15:06:09 +01:00