mirror of
https://github.com/simh/simh.git
synced 2026-01-26 12:02:14 +00:00
DISK: Minimize the sim_disk_pdp10_attach arguments to minimize aguments
The sim_disk_pdp10_... API's specifically provide 1024 byte sector interfaces for 64bit data. Customize the attach help output to be more appropriate for the devices in the running simulator and the device who's help is being displayed.
This commit is contained in:
@@ -1177,8 +1177,7 @@ t_stat r;
|
||||
static const char *drives[] = {"RM03", "RP04", "RM80", "RP06", "RM05", "RP07", NULL};
|
||||
|
||||
uptr->capac = drv_tab[GET_DTYPE (uptr->flags)].size;
|
||||
r = sim_disk_pdp10_attach (uptr, cptr, RP_NUMWD * sizeof (d10), sizeof (d10),
|
||||
(uptr->flags & UNIT_AUTO) == 0, DBG_DSK,
|
||||
r = sim_disk_pdp10_attach (uptr, cptr, (uptr->flags & UNIT_AUTO) == 0, DBG_DSK,
|
||||
drv_tab[GET_DTYPE (uptr->flags)].name,
|
||||
0, (uptr->flags & UNIT_AUTO) ? drives : NULL);
|
||||
if (r != SCPE_OK)
|
||||
|
||||
Reference in New Issue
Block a user