From 90e6c88c55732311770bfea4cbca66c43218c438 Mon Sep 17 00:00:00 2001 From: Volker Ruppert Date: Sat, 4 Feb 2012 16:39:59 +0000 Subject: [PATCH] - limit physical head and sectors per track parameters to the values supported by hardware and BIOS --- bochs/config.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bochs/config.cc b/bochs/config.cc index 5d2b9b430..3d41a2bbb 100644 --- a/bochs/config.cc +++ b/bochs/config.cc @@ -1262,14 +1262,14 @@ void bx_init_options() "heads", "Heads", "Number of heads", - 0, 255, + 0, 16, 0); heads->set_ask_format("Enter number of heads: [%d] "); bx_param_num_c *spt = new bx_param_num_c(menu, "spt", "Sectors per track", "Number of sectors per track", - 0, 255, + 0, 63, 0); spt->set_ask_format("Enter number of sectors per track: [%d] ");