diff --git a/doc/simh.doc b/doc/simh.doc index 387b0e19..9574a8e6 100644 Binary files a/doc/simh.doc and b/doc/simh.doc differ diff --git a/sim_disk.c b/sim_disk.c index 992e3a42..1f0438a0 100644 --- a/sim_disk.c +++ b/sim_disk.c @@ -366,12 +366,11 @@ return SCPE_OK; t_stat sim_disk_show_capac (FILE *st, UNIT *uptr, int32 val, void *desc) { -struct disk_context *ctx = (struct disk_context *)uptr->disk_ctx; const char *cap_units = "B"; DEVICE *dptr = find_dev_from_unit (uptr); t_offset capac = ((t_offset)uptr->capac)*((dptr->flags & DEV_SECTORS) ? 512 : 1); -if (ctx->capac_factor == 2) +if ((dptr->dwidth / dptr->aincr) == 16) cap_units = "W"; if (capac) { if (capac >= (t_offset) 1000000)