Peter Schorn
dc2bbe5a40
AltairZ80: Updated 8080/Z80 CPU for new breakpoint package
2016-08-31 17:39:04 +02:00
Peter Schorn
9d2b7ee968
AltairZ80: Fixed NUM_CHIP_TYPE warning and added missing declaration
2016-05-23 13:26:17 -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
Peter Schorn
60a8a2d43d
AltairZ80: Fixed device descriptions for all devices.
2016-05-15 14:44:09 -07:00
Mike Douglas
7a231a2cf9
AltairZ80: Add support for North Star single density controller
...
The first disk controller made by North Star was a single density
controller (MDSA). This was followed by the double density controller
(MDSAD) that is already supported in SIMH. This update adds support for
the single density controller as device MDSA. Since the controllers are
not software compatible, this update allows running of older software
designed for the MDSA controller.
2015-12-16 15:39:46 -06:00
Mike Douglas
f3af74e444
AltairZ80: Fix head stepping to only occur on 1 to 0 transitions
...
The source file to be updated provides emulation of the North Star DD
floppy disk controller. The proposed change steps the head only when the
step bit in the order byte transitions from 1 to 0. This is the way the
actual hardware functions. Previously, the emulation would step any time
an order was issued and the step bit was 1. This behavior caused some
original software (e.g., Lifeboat CP/M 2.2) to end up on an incorrect
track.
2015-08-08 21:27:09 -05:00
Peter Schorn
bb39ce97c7
AltairZ80: Better comparison operator to remove warning message
2015-08-08 08:58:24 +02:00
Peter Schorn
a9e5913d0c
AltairZ80: Reduced polling for CPU stop on non UNIX platforms
2015-04-26 09:50:00 +02:00
Peter Schorn
ff908f4f59
AltairZ80: Simplified polling for stop CPU on non UNIX platform
2015-04-25 14:02:26 +02:00
Peter Schorn
ad3767a2bd
AltairZ80: Fixed keyboard polling on non UNIX platform and daylight savings time issue with CP/M 3 clock
2015-04-25 08:31:05 +02: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
Howard M. Harte
569cfaf591
AltairZ80: mfdc: Only display ROM write attempt error messages when debug is enabled
2015-03-21 13:33:59 -07:00
Mike Douglas
89a3783281
AltairZ80: mfdc: allow disk controller to work with MZOS disk images
...
Do not insert the computed checksum for VGI disk images, since the
checksum is already present in the sector data.
2015-03-18 19:41: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
0b015efcac
Compiler suggested cleanup
2015-02-11 12:25:11 -08:00
Mark Pizzolato
1fb209c275
SOCKETS: Cleanup, simplify and extend the sim_sock API set.
...
Cleanup/Simplification by:
1) removing irrelevant master flag variable from sim_close_sock and thus sim_err_sock
2) change previous boolean feature arguments (datagram, nodelay, reuseaddr) to flag bits in a single option argument. This allows for features to be added by new flag bits which don't change the calling signatures.
3) changed all status returns to be int (vs t_stat) with success being 0 and error being -1
4) removed unneeded simh specific type references to allow sim_sock to be used by n
Extended API by providing flags to influence socket setup/behavior:
SIM_SOCK_OPT_REUSEADDR Retains prior behavior when sim_switches had -U set
SIM_SOCK_OPT_DATAGRAM UDP socket setup provided for when prior datagram argument was specified
SIM_SOCK_OPT_NODELAY TCP Nagle disable provided for when prior nodelay argument was specified
SIM_SOCK_OPT_BLOCKING Blocking socket mode (detault is non blocking)
2015-02-11 09:41:18 -08:00
Peter Schorn
ea5b1dc6fe
AltairZ80: Fixed confusing call to memset
2014-11-12 19:06:24 +01:00
Peter Schorn
1cc1ca7a41
AltairZ80: Removed unnecessary calls to abs()
2014-10-28 18:53:12 +01:00
Mark Pizzolato
2e1167d4a0
Compiler suggested cleanups - mostly const fixups
2014-10-26 17:06:24 -07:00
Peter Schorn
ebf53c9cda
Replaced printf with sim_printf.
2014-10-24 23:10:54 +02:00
Mark Pizzolato
3951ad2432
Cleanup of unneeded global extern declarations
2014-10-10 08:18:15 -07:00
Mark Pizzolato
0b1050853e
SCP: Allow for the potential of a breakpoint action to remove the establishing breakpoint while still completing pending actions
2014-10-10 08:03:22 -07:00
Peter Schorn
977712b9c5
AltairZ80: More debug information available when using IMD disks
2014-09-21 09:42:26 +02:00
Mark Pizzolato
defe5f07d9
AltairZ80: Promote sim_imd.c to a top level simh library to be used as needed by various simulators
2014-09-16 11:29:19 -07:00
Mark Pizzolato
60a0cf7468
AltairZ80: Reworked the conditional compile time debug code to use the runtime sim_debug() APIs.
2014-09-16 11:07:15 -07:00
Peter Schorn
899b7a654e
Improved DSK handling from Mike Douglas and bug fix in URLContens.
2014-09-09 18:27:25 +02:00
Peter Schorn
a0c978f5f7
AltairZ80: Improved Altair Minidisk support from Mike Douglas
2014-07-05 09:44:20 +02:00
Peter Schorn
f8020a2c4c
AltairZ80: Addressed Microsoft compiler generated warnings
2014-05-29 18:12:18 +02:00
Peter Schorn
589aca19f4
AltairZ80: Added Motorola 68000 CPU support for CP/M-68K, support for Altair mini-disk format, added descriptions for all device registers
2014-05-27 20:01:30 +02:00
Peter Schorn
798b82b868
Added debug support for the MHDSK device, support for the NEXT command and a warning if 8086 symbolic input is attempted.
2014-04-21 08:56:27 +02:00
Peter Schorn
8d3ecd0ddb
AltairZ80: Added boot to MHDSK device and improved disassembler
2014-04-01 19:33:09 +02:00
Peter Schorn
49d38187dd
Updated AltairZ80 documentation and incorporated altairz80_mhdsk.c in build process
2014-03-29 15:12:53 +01:00
Peter Schorn
1d35a4f612
Updated year in copyright and implemented sim_vm_pc_value
2014-03-29 08:19:22 +01:00
Peter Schorn
5b2f229bb0
Added 88-HDSK support from Mike Douglas to AltairZ80
2014-03-29 07:21:59 +01:00
Mark Pizzolato
9320c56f3f
PDP11, PDP10, AltairZ80: Fixed cases where assert() macro is called with an expression which has side effects and therefore wouldn't get executed if compiled with NDEBUG defined.
2014-03-02 14:50:43 +01:00
Mark Pizzolato
5800e5b403
Compiler indicated cleanup
2014-01-06 14:13:30 -08:00
Mark Pizzolato
8cb6a2ef79
Corrected to properly leverage the new -N attach_unit switch
2013-04-15 06:55:57 -07:00
Mark Pizzolato
ee3d98a125
Updated AltairZ80 from Peter Schorn
2013-04-13 16:47:59 -07:00
Mark Pizzolato
414cf3335f
Compiler identified issues in AltairZ80 simulator
2013-04-12 06:39:28 -07:00
Mark Pizzolato
a262dd9c14
Compiler indicated cleanups
2013-03-19 01:11:22 -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
eb101e3881
HP-UX port supplied by Mikulas Patocka
2013-03-05 13:29:38 -08:00
Mark Pizzolato
a63090f22a
Fix compile error of #ifdef __linux change for the altairz80 simulator
2013-02-20 22:09:17 -08:00
Mark Pizzolato
4ff56d6c15
Changed all internal #ifdef's which were conditional on __linux to be conditional on either __linux or __linux__. Some platforms (PPC) don't define __linux when gcc is invoked with -std=c99.
2013-02-20 21:57:02 -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
7b6f7a9871
Set device flags indicating DEV_DISK, DEV_TAPE, DEV_MUX and DEV_ETHER for all simulator devices which use the sim_disk, sim_tape, sim_tmxr, and sim_ether libraries
2013-01-07 12:47:24 -08:00
Mark Pizzolato
7f6a1af5bf
Added an optional validation argument to sim_parse_addr for callers which need to confirm incoming connections come from expected sources
2012-12-09 12:12:09 -08:00
Mark Pizzolato
30ce7fdbaa
Revised the socket library sim_sock(.c & .h) to support both IPv4 and IPv6 leveraging the RFC3493 APIs.
...
All dependent code has been updated to use the revised interfaces.
2012-09-28 15:34:55 -07:00