Commit graph

172 commits

Author SHA1 Message Date
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
Mark Pizzolato
cf280ad8f7 Completing merge of v3.9-0-rc1 compile cleanups 2012-03-20 18:55:45 -07:00
Mark Pizzolato
fffad7c20e Merge changes from v3.9-0 rc1 2012-03-19 16:05:24 -07:00
Mark Pizzolato
d8f55a652b Cleaned up filename cases to be consistent for cross platform builds 2011-04-19 16:02:45 -07:00
Mark Pizzolato
fe8b1f06de Merge branch 'FastAsynchIO' into simhv38-2-rc2
Conflicts:
	PDP11/pdp11_tq.c
	PDP11/pdp11_ts.c
	PDP11/pdp11_xq.h
	VAX/vax780_sbi.c
	VAX/vax_cpu.c
	makefile
	scp.c
	sim_defs.h
	sim_ether.c
	sim_timer.c
2011-04-15 10:47:35 -07:00
Mark Pizzolato
8eb9caff10 Merge branch 'ControlFlow' into simv3.8-2-rc2
Conflicts:
	scp.c
2011-04-15 09:19:29 -07:00
Mark Pizzolato
a6964f849d Cleaned up parameter declarations in all simulators to achieve clean compiles on all platforms
Very minor in all cases, but the strange case of swtp_cpu.c
This module used expressions of the form:
   PC = ++PC & ADDRMASK;
Officially, the C language says that expressions which modify the same variable in more than one place have undefined behavior.
These were changed to the legal form which performs the desired action:
   PC = (PC + 1) & ADDRMASK;
2011-04-15 09:04:39 -07:00