A few changes to improve running on real hardware. Runs pretty good now.
Note that the assumption that the OS files are located on the first
partition of the first IDE hard disk.