mirror of
https://github.com/simh/simh.git
synced 2026-01-25 11:46:37 +00:00
PDP11, VAX: Fix SET RPn BADBLOCK behavior and auto sizing.
BAD144 info was written correctly if the user answered Y when the disk image was created, but would not work if SET RPn BADBLOCK was entered later. Auto sizing would be potentially wrong if a disk had been created without writing the BAD144 data. Now, if the disk contains a file system that information along with the physical container's size is used to properly auto size the disk.
This commit is contained in:
@@ -89,6 +89,7 @@ t_stat sim_disk_clearerr (UNIT *uptr);
|
||||
t_bool sim_disk_isavailable (UNIT *uptr);
|
||||
t_bool sim_disk_isavailable_a (UNIT *uptr, DISK_PCALLBACK callback);
|
||||
t_bool sim_disk_wrp (UNIT *uptr);
|
||||
t_stat sim_disk_pdp11_bad_block (UNIT *uptr, int32 sec, int32 wds);
|
||||
t_offset sim_disk_size (UNIT *uptr);
|
||||
t_bool sim_disk_vhd_support (void);
|
||||
t_bool sim_disk_raw_support (void);
|
||||
|
||||
Reference in New Issue
Block a user