Hi Charles,

I got this emulator from Morten Welinder. He never got the time to finish it,
so he sent me a copy as is. I haven't had the time myself to run through it
and make any real changes. I did make some changes to the code so that it
would compile with TASM here in the US (not sure what he used in Denmark).

His documentation was not completed, so I'll give you a primer/tips.

There are a bunch of include files. Each deals with a particular segment
of emulation: 6510 instructions, CIA, SID, VIDEO, etc... You'll definetly
need to know assembly to make alterations. Unfortunately Morten made few
comments...a poor practice particularly in assembly. All these modules
are integrated into one binary (.bin) file which is loaded by the pascal
part of the program.

The Pascal program loads this binary code emulator program along with the ROM 
images which are executed (or used as data) by the code emulator, effectively
acting as a C64 CPU upon the ROM images. These images are:

     A000-Bfff  ROM BASIC
     D000-Dfff  CHAR ROM
     E000-Ffff  KERNAL ROM

Technically, these are copyrighted pieces of code but I'm leaving them in
as did Morten. You could easily PEEK the values from a C64, write them to
a file and, x-mit them to a PC via modem, and cosidering a used 64 console
goes for about 15 bucks, well...

The pascal program also emulates the disk i/o which basically denotes any
file with the extension (.64P) as a C64 file. Note that the ROMs are such.
The file ZOOM.64P is apparently a 6510 assembler, type SYS 32768 to activate.
The .64P files are expected to be in the 64 code directory or a PROGRAMS 
subdirectory:

     c:\64\  ...... all the 64 code/asm and .64P
     c:\64\PROGRAMS\ ....... only .64P files

Where to get .64P files? Well , you can write a BASIC or assembly PRG and
save it directly to hard-disk (or floppy if running on floppy)....OR, you
can upload files from the C64/1541 to a PC/Hard-disk via modem, and then
rename all >PRG files to .64P. I think >SEQ files are accepted. Maybe you
can build an interface (or buy an RS232 ) for your PC and link directly,
ie:Null modem.

BASIC programs ran fine, maybe a little slow, on my 386 25Mhz PC. NUKEWARS
from Avalon Hill (circa 1983) written mostly in Basic was playable. Some
other single file commercial games that I transfered worked partially, and
slowly. BuckRodgers worked with lots of flickering and crawling speed.
Timing and IRQ handling are a joke, I wish you LOTS of luck.

CTRL-ALT-DEL will only "reboot" - RESET the 64 emulator, threfore, to exit
the emulator:
               Perform a 'wild' SYS. ie: SYS 1, SYS 55522
               This throws an unknown OPCODE at the emulator, HALTing it.
               Type MODE 80 to return to 80 column mode, normal PC screen.


Best of Luck!!!

Luis

10/27/93


