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:
@@ -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
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user