This perl program is a tool for calculating the complete partition
table and drive tables for a hard disk given the start and end
cylinders for each partition.

The program is really just a hack that does the job.
It is rather unflexible, and the code is by no means pretty.
If anyone feels like improving it, go ahead!

Usage:

Create a file with a table and some variables and call it "table"
(use the supplied file as a template). Then run "perl calculate_table"
to compute the table.
