1
0
mirror of https://github.com/simh/simh.git synced 2026-01-26 04:01:38 +00:00

DISK, TAPE: Add optional library specific DEVICE context structure

- add disk and tape library initialization routines
- cleanup snprintf arguments
- truncate disk container trailing zero sectors when zapping
This commit is contained in:
Mark Pizzolato
2021-09-20 12:28:11 -07:00
parent 2834bfb1f9
commit feec1da242
6 changed files with 66 additions and 27 deletions

View File

@@ -67,6 +67,7 @@ typedef void (*DISK_PCALLBACK)(UNIT *unit, t_stat status);
/* Prototypes */
t_stat sim_disk_init (void);
t_stat sim_disk_attach (UNIT *uptr,
const char *cptr,
size_t memory_sector_size, /* memory footprint of sector data */