1
0
mirror of https://github.com/simh/simh.git synced 2026-05-05 23:34:21 +00:00

Intel-Systems: Cleanup and reorganized multibus code

This commit is contained in:
Bill Beech
2020-02-04 16:24:05 -07:00
parent f01e8900ed
commit a2998ebaf2
28 changed files with 142 additions and 1339 deletions

View File

@@ -33,12 +33,12 @@
/* function prototypes */
t_stat SBC_config(void);
t_stat SBC_reset (DEVICE *dptr);
uint8 get_mbyte(uint16 addr);
uint16 get_mword(uint16 addr);
void put_mbyte(uint16 addr, uint8 val);
void put_mword(uint16 addr, uint16 val);
t_stat SBC_config(void);
// globals

View File

@@ -110,7 +110,7 @@
/* Memory */
#define MAXMEMSIZE 0x0FFFF /* 8080 max memory size */
#define MAXMEMSIZE 0xFFFF /* 8080 max memory size */
#define MEMSIZE (i8080_unit.capac) /* 8080 actual memory size */
#define ADDRMASK (MAXMEMSIZE) /* 8080 address mask */
#define MEM_ADDR_OK(x) (((uint16) (x)) <= MEMSIZE)