Tips for compiling PC64Dos
--------------------------

You must have MSVC 1.xx and MASM 6.1a installed. The source code contains about five workarounds for bugs in MASM 6.1a. There may be other bugs in other versions of MASM which are not covered by the source now. Because MSVC is not so buggy than MASM, any 1.xx version should do.

To perform a complete rebuild of the emulator, run Master.bat. This will create the files C:\PC64D122.zip for the German version, C:\PC64E122.zip for the English version, and C:\PC64S122.zip for the source code.

If Master.bat prints some errors, you should ensure that the directories in DevDirs.bat are correct.

For interactive compiling and debugging, use E.bat. This will start the PWB which comes with MASM and load the project PC64 into it. To build the project, use <F5>. If there were compiler errors, press <Esc> and then use <F4> to jump to the location of the next error.

There is a bug when you are running the PWB under Windows 95. After building the project, you must either click on <Run> or <Cancel> with the mouse or press <Esc> twice.

In order to use MASM under Windows 95, you must add the line "device=C:\MASM610\Bin\DosXnt.386" to the [386Enh] section in System.ini. Re-boot the computer after this change.

The MSVC library contains a bug which doesn't allow a MOVE program to read its resources while Share.exe is loaded. To fix that bug, load LLibCE.lib into Norton DiskEdit. Then search for the byte sequence "C5 16 00 00 32 C0 B4 3D CD 21" and change the "32 C0" into "B0 40". MOVE will now allow the EXE file to be opened by other parts of the program, too.
