1
0
mirror of https://github.com/open-simh/simh.git synced 2026-02-27 01:10:17 +00:00
B. Scott Michel a275c71170 SCP: Reduce compiler warnings on LP64 platforms
(Note: Reducing compiler warnings across all, but primarily LP64
platforms, is a long term objective.)

Reduce compiler warnings on LP64 platforms (macOS, Windows) and 32-bit
builds (Win32). Prefer 'size_t' for pointer arithmetic, array indexing
and extents; 'int' hasn't been used for these purposes for many years
and across many ANSI standards. N.B. that conversions from int or int32
to size_t cause the compiler to zero-extend the value, which is
inefficient.

Refactor printf() format modifiers into sim_printf_fmts.h. Add the
SIZE_T_FMT modifier for better portability, especially on LP64 platforms
where size_t is unsigned long and sizeof(size_t) > sizeof(int).

3B2: Fix known size_t printf() format.
2024-02-01 12:51:32 -05:00
2024-02-01 12:51:13 -05:00
2023-05-17 20:18:42 -04:00
2023-05-17 20:18:42 -04:00
2023-05-17 20:18:42 -04:00
2023-05-17 20:18:42 -04:00
2023-05-17 20:18:42 -04:00
2023-05-17 20:18:42 -04:00
2023-05-17 20:18:42 -04:00
2023-05-17 20:18:42 -04:00
2023-05-17 20:18:42 -04:00
2024-02-01 12:51:13 -05:00
2023-05-17 20:18:42 -04:00
2023-05-17 20:18:42 -04:00
2023-05-17 20:18:42 -04:00
2023-05-17 20:18:42 -04:00
2024-02-01 12:51:13 -05:00
2024-02-01 12:51:13 -05:00
2023-05-17 20:18:42 -04:00
2023-05-17 20:18:42 -04:00
2023-05-17 20:18:42 -04:00
2023-05-17 20:18:42 -04:00
2023-05-17 20:18:42 -04:00
2024-02-01 12:51:13 -05:00
2023-10-09 20:17:13 -04:00
2024-02-01 12:51:13 -05:00
2023-05-17 20:18:42 -04:00
2024-02-01 12:51:13 -05:00
2024-02-01 12:51:13 -05:00
2024-02-01 12:51:13 -05:00
2023-11-27 10:55:16 -05:00
2022-09-15 14:15:28 -07:00
2022-09-15 14:15:28 -07:00
2022-03-14 15:28:39 -07:00
2022-03-06 02:11:57 -08:00
2023-07-16 16:35:58 -04:00

Open SIMH machine simulator

This is the codebase of SIMH, a framework and collection of computer system simulators.

SIMH was created by Bob Supnik, originally at Digital Equipment Corporation, and extended by contributions of many other people. It is now an open source project, licensed under an MIT open source license (see LICENSE.txt for the specific wording). The project gatekeepers are the members of the SIMH Steering Group. We welcome and encourage contributions from all. Contributions will be covered by the project license.

The Open SIMH code base was taken from a code base maintained by Mark Pizzolato as of 12 May 2022. From that point onward there is no connection between that source and the Open SIMH code base. A detailed listing of features as of that point may be found in SIMH-V4-status.

PLEASE NOTE

Do not contribute material taken from github.com/simh/simh unless you are the author of the material in question.

Coverity Scan Build Status
Description
The Open SIMH simulators package
Readme 140 MiB
Languages
C 96.9%
Assembly 1%
CMake 0.5%
Batchfile 0.4%
Makefile 0.4%
Other 0.5%