First, I'd like to start with an acknowledgment. The baseline for this project's code is the re-engineered Pascal source code (and assembler code) from the Wizardry_I program by Thomas William Ewers.