B. Scott Michel
8b14bb69be
CMake build infrastructure II ( #53 )
...
* CMake build infrastructure
The squashed commit that builds and packages releases for the SIMH
simulator suite with CMake, version 3.14 or newer.
See README-CMake.md for documentation.
2023-05-17 20:18:42 -04:00
Mark Pizzolato
decbe5b76b
Various simulators: Set line endings to CRLF for consistency, remove stray tabs
...
Project standard source code has tabs converted to spaces and CRLF line
endings.
Other text files have CRLF line endings.
2023-03-19 16:51:27 -04:00
Bill Beech
44428e53b6
SWTP6800: Update to simulators
...
- General cleanup of codebase
- Fixed condition codes m6800.c from Roberto Sancho Villa
- Add additional FDC lfd-400 from Roberto Sancho Villa
- Add additional OS's (FLEX 1.0, FDOS 1.0, DOS68, MiniDOS, and MiniDOS-MPX)
to software support
- Add additional disk formats to software support dc-4.c from Roberto
Sancho Villa
- Add CPU history
- Fix LOAD/DUMP to support binary and hex
- Fix fprintf_sym to disassemble 6800 code correctly
- Add EXAMINE/DEPOSIT to CPU Memory
- Fixed disasm to space the register
- Add SET_FLAG(IF) to IRQ – fixed error in handling IRQ from
Roberto Sancho Villa
2022-06-09 14:28:04 -07:00
Bill Beech
087e0c7bc8
SWTP: Rename boot rom to reflect the ROM version in the filename
2022-06-09 14:10:33 -07:00
Bill Beech
efa04e4e31
SWTP: Fix Coverity found more missing arguments in M6800
2022-03-16 14:41:34 -07:00
Bill Beech
af6665be05
SWTP: Fix Coverity found missing argument in M6800
2022-03-15 15:44:13 -07:00
Mark Pizzolato
56688be951
SWTP6800: Fix Coverity issue
2022-03-12 07:58:04 -08:00
Bill Beech
a1a916f819
SWTP6800: Fix Coverity reported issue
2022-03-09 16:05:23 -07:00
Bill Beech
c9c9fa641b
SWTP6800: General cleanup and boot fixup
...
DC-4: fixed flags
M6800: simplified code in big instr decode loop, Removed sim-debug
M6810: added examine and deposit (from Thomas Pfau), Removed sim-debug
MP-A: added examine and deposit (from Thomas Pfau)
2022-03-09 15:37:29 -07:00
Mark Pizzolato
d1a720debd
BuildROMs: Change name define logic to avoid conflicts
...
Each of the BOOT_CODE_SIZE, BOOT_CODE_FILENAME and BOOT_CODE_ARRAY names
are replaced whenever a BuildROMs generated file is included.
2021-08-23 13:36:04 -07:00
Mark Pizzolato
ae1472db79
Generated ROM Image includes: Updated for multiple ROM image support
...
The actual contents of the input ROM binary files and the contents of the
created arrays are unchanged.
Multiple ROM image include files can be included in the same source module
without the need for any #undef BOOT_CODE_SIZE, etc.
2021-08-23 12:26:45 -07:00
Mark Pizzolato
ae825c9afb
All: Declare sim_stop_messages as an array SCPE_BASE long
...
This avoids a potential invalid pointer dereference when formatting
the return value from sim_instr() if it is < SCPE_BASE but greater
than the previously defined static array size.sizeof
Update simh.doc to reflect this generic change.
2020-09-02 15:56:07 -07:00
Bill Beech
1513d6ee66
SWTP6800: Fix typo in the DAA instruction
2020-05-06 14:25:46 -07:00
Bill Beech
6e6706f2a4
SWTP6800: Corrected flag setting errors (Richard Brinegar)
2020-04-28 14:02:03 -07:00
Mark Pizzolato
487e78ef36
swtp6800: Fix incorrect address to data table SOFTWARE INTERRUPT vector
...
As reported/suggested Clinton Yourth @cyourth-cognonic in #820
Fix approved by simulator Bill Beech
2020-03-24 22:00:49 -07:00
Bill Beech
4cd8aff027
swtp6800: Correct overflow(V) flag status bit
2020-02-04 16:27:19 -07:00
Bill Beech
08330de7f4
swtp6800: Correct address bound on memory write
2020-02-04 16:26:29 -07:00
Mark Pizzolato
a314cb680b
swtp6800: Fix inconsistent indentation block
2020-01-01 08:35:37 -08:00
Bill Beech
eea6eceaa9
SWTP: Improve error messages
2018-08-27 15:33:05 -07:00
Bill Beech
5eb6566565
SWTP: Properly check return status from disk reads
2018-03-06 12:24:40 -08:00
Bill Beech
625d1b391e
swtp6800: Solve Coverity identified issues
2017-06-07 11:06:02 -07:00
Bill Beech
861d460ce5
SWTP: remove error path extra close (COVERITY)
2017-04-05 12:48:52 -07:00
Bill Beech
bef62a51fd
SWTP: Cleanup Coverity identified issues
2017-03-20 13:32:43 -07:00
Bill Beech
f10f8bc9c5
SWTP6800: Address Converity identified problems
2017-03-13 16:55:13 -07:00
Mark Pizzolato
d8dbc7e6b5
SCP: Migrate all stdio writes to pass through SCP provided Fprintf()
2017-01-14 20:48:09 -08:00
Bill
6b5ab2bc06
SWTP6800, IBMPC, IBMPCXT, isys8010, isys8020, imds-225: sim_interval fix
...
Properly sequence change to sim_interval so that debug behavior is as
expected.
2016-10-11 15:56:10 -07:00
Mark Pizzolato
5531ccb175
ALL: Massive 'const' cleanup
...
These changes facilitate more robust parameter type checking and helps
to identify unexpected coding errors.
Most simulators can now also be compiled with a C++ compiler without
warnings.
Additionally, these changes have also been configured to facilitate easier
backporting of simulator and device simulation modules to run under the
simh v3.9+ SCP framework.
2016-05-15 15:25:33 -07:00
Bill Beech
21cd2a4e25
SWTP6800: Adjust indentation
2015-05-05 14:06:13 -07:00
Bill Beech
8d9a379d05
25 Apr 15 mods for ISYS8010.
2015-05-05 14:06:10 -07:00
Mark Pizzolato
d4720d3540
SWTP6800: Added support to initialize the BOOTROM with the contents of the swtbug.bin ROM image while retaining the ability to load any other ROM image.
2015-04-05 18:40:35 -07:00
Mark Pizzolato
50bac79cd3
SWTP68000: Merge of Bill Beech's swtp6800-v2.1 branch with tabs removed
2015-04-05 16:00:22 -07:00
Mark Pizzolato
66dba79418
ALPHA, ALTAIR, AltairZ80, I7094, NOVA, PDP1, PDP10, PDP11, PDP18B, PDP8, SAGE, sigma, swtp6800, TX-0, VAX: Change tabs to spaces which had crept in over time
2015-03-30 10:24:24 -07:00
Mark Pizzolato
e768629009
SCP: Added the capability for EXAMINE command output to be written directly to a socket.
2015-02-21 12:40:36 -08:00
Mark Pizzolato
c2cef3c051
ALL: Avoid name space collision for the global variable PC when readline is dynamically loaded in many simulators.
2015-01-11 15:22:47 -08:00
Mark Pizzolato
d0d3742504
SWTP6800: Added build support for internally contained swtbug.bin as a built-in ROM image
2014-02-24 18:13:12 -08:00
Mark Pizzolato
d0cee0f6b6
SWTP: Fixes to segfault issue described in #103 (from Gene Irwin)
...
The simulated memory address block from 0x8000 thru 0x8FFF is defined to have address 0x8000 - 0x801F mapped to I/O ports and 0x8020 - 0x8FFF as NO RAM ALLOWED. Code has been added to behave reasonably when references are made to 0x8020 - 0x8FFF.
2014-02-01 08:12:19 -08:00
Mark Pizzolato
028f152f6f
SWTP: Fixed overflown bit logic for addition and subtraction (from Bill Beech)
2014-01-01 10:33:29 -08:00
Mark Pizzolato
6cc9d569bf
Merge Fixes from Bob Supnik's updates
2013-08-22 16:46:57 -07:00
Mark Pizzolato
2e5b0d54c6
Generalized the sim_disk layer to support large file disk devices (simh, VHD and RAW formats) with out requiring USE_ADDR64, and enhanced the pdp11_rq device to use this capability.
2013-03-17 12:02:43 -07:00
Mark Pizzolato
28f645aeab
Compiler suggested cleanups
2013-03-13 22:28:14 -07:00
Mark Pizzolato
9bd8305943
Cleanup compiler warnings on Solaris and newer OSX clang compilers.
...
Add Large File support on Solaris
2013-03-13 20:29:03 -07:00
Mark Pizzolato
9091330a5f
Compiler suggested fixes
2013-01-23 12:36:03 -08:00
Mark Pizzolato
fae991d592
More compiler identified cleanups
2013-01-10 16:10:39 -08:00
Mark Pizzolato
448d9e52fc
Added VAX860 to the descrip.mms and cleaned up the VMS compiler identified issues
2013-01-10 15:14:51 -08:00
Mark Pizzolato
dac73b9381
Migrating scp and library global variables to be declared as extern in the appropriate library include file and remove repetitive declarations in referencing modules.
2013-01-10 13:29:15 -08:00
Mark Pizzolato
629de4dcc5
Build identified cleanups
2013-01-09 17:22:17 -08:00
Mark Pizzolato
66edd72ecb
Merge branch 'nj7p/swtp6800-v2.1'
...
Conflicts:
makefile
swtp6800/common/bootrom.c
swtp6800/common/dc-4.c
swtp6800/common/i2716.c
swtp6800/common/m6800.c
swtp6800/common/m6810.c
swtp6800/common/mp-8m.c
swtp6800/common/mp-a.c
swtp6800/common/mp-a2.c
swtp6800/common/mp-b2.c
swtp6800/common/mp-s.c
swtp6800/swtp6800/mp-a2_sys.c
swtp6800/swtp6800/mp-a_sys.c
swtp6800/swtp6800/swtp_defs.h
2012-07-13 15:21:30 -07:00
Bill Beech
908ad1308e
Corrected copyright dates on all files
2012-07-11 12:23:03 -07:00
Bill Beech
fc3c1812bf
Fixed nested sim_defs.h problem
2012-07-11 12:00:57 -07:00
Bill Beech
5fcd6a7960
Updated several file to remove "egregious" errors
2012-07-11 11:59:15 -07:00