Remove extraneous content from README.md.
Remove unused files sim_inttypes.h and sim_printf_fmts.h
This commit is contained in:
Paul Koning 2023-05-18 12:46:01 -04:00
parent 8b14bb69be
commit ec48dcb2e1
3 changed files with 0 additions and 125 deletions

View file

@ -1,9 +1,3 @@
Github Actions CI/CD status:
master branch: ![master](https://github.com/bscottm/open-simh/actions/workflows/build.yml/badge.svg)
cmake branch: ![cmake](https://github.com/bscottm/open-simh/actions/workflows/build.yml/badge.svg?branch=cmake)
# Open SIMH machine simulator # Open SIMH machine simulator
This is the codebase of SIMH, a framework and collection of computer system simulators. This is the codebase of SIMH, a framework and collection of computer system simulators.

View file

@ -1,27 +0,0 @@
#if !defined(SIM_INTTYPES_H)
/* Length specific integer declarations */
/* Handle the special/unusual cases first with everything else leveraging stdints.h */
#if defined (VMS)
#include <ints.h>
#elif defined(_MSC_VER) && (_MSC_VER < 1600)
typedef __int8 int8;
typedef __int16 int16;
typedef __int32 int32;
typedef unsigned __int8 uint8;
typedef unsigned __int16 uint16;
typedef unsigned __int32 uint32;
#else
/* All modern/standard compiler environments */
/* any other environment needa a special case above */
#include <stdint.h>
typedef int8_t int8;
typedef int16_t int16;
typedef int32_t int32;
typedef uint8_t uint8;
typedef uint16_t uint16;
typedef uint32_t uint32;
#endif /* end standard integers */
#define SIM_INTTYPES_H
#endif

View file

@ -1,92 +0,0 @@
/*~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
* sim_printf_fmts.h
*
* Cross-platform printf() formats for simh data types. Refactored out to
* this header so that these formats are avaiable to more than SCP.
*
* Author: B. Scott Michel
*
* "scooter me fecit"
*~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~*/
#pragma once
#if !defined(SIM_PRINTF_H)
/* cross-platform printf() format specifiers:
*
* Note: MS apparently does recognize "ll" as "l" in its printf() routines, but "I64" is
* preferred for 64-bit types.
*
* MinGW note: __MINGW64__ and __MINGW32__ are both defined by 64-bit gcc. Check
* for __MINGW64__ before __MINGW32__.
*/
#if defined (_WIN32) || defined(_WIN64)
# if defined(__MINGW64__)
# define LL_FMT "I64"
# elif defined(_MSC_VER) || defined(__MINGW32__)
# define LL_FMT "ll"
# else
# define LL_FMT "ll"
# endif
#elif defined (__VAX) /* No 64 bit ints on VAX */
# define LL_FMT "l"
#else
# define LL_FMT "ll"
#endif
#if defined(_WIN32) || defined(_WIN64)
# if defined(__MINGW64__)
# define SIZE_T_FMT "I64"
# elif defined(_MSC_VER) || defined(__MINGW32__)
# define SIZE_T_FMT "z"
# endif
# if defined(_WIN64)
# define SOCKET_FMT "I64"
# else
# define SOCKET_FMT "I32"
# endif
# define T_UINT64_FMT "I64"
# define T_INT64_FMT "I64"
# define NTOHL_FMT "l"
# define IP_SADDR_FMT "l"
# define POINTER_FMT "p"
#elif defined(__GNU_LIBRARY__) || defined(__GLIBC__) || defined(__GLIBC_MINOR__)
/* glibc (basically, most Linuxen) */
# define SIZE_T_FMT "z"
# define T_UINT64_FMT "ll"
# define T_INT64_FMT "ll"
# define NTOHL_FMT ""
# define IP_SADDR_FMT ""
# define SOCKET_FMT ""
# define POINTER_FMT "p"
#else
/* 32-bit platform, no 64 bit quantities */
# define SIZE_T_FMT ""
# define T_UINT64_FMT ""
# define T_INT64_FMT ""
# define NTOHL_FMT "l"
# define IP_SADDR_FMT "l"
# define SOCKET_FMT "l"
# define POINTER_FMT ""
#endif
#if defined (USE_INT64) && defined (USE_ADDR64)
# define T_ADDR_FMT T_UINT64_FMT
#else
# define T_ADDR_FMT ""
#endif
#if defined (USE_INT64)
# define T_VALUE_FMT T_UINT64_FMT
# define T_SVALUE_FMT T_INT64_FMT
#else
# define T_VALUE_FMT ""
# define T_SVALUE_FMT ""
#endif
#define SIM_PRINTF_H
#endif