Thanx to all of the helpful souls who took the time to respond with some more

info about the emulator.  This Rev. 2 of the FAQ has the changes added.



                                        -=>AMC<=-





Information and FAQ sheet for the Commodore 64 emulator C64S09C.EXE.



     This is information that I have assembled through experimentation with

the emulator.  I have tested most, if not all, things mentioned here, but there

may be other things about the emulator that I don't know about.  Also, my

personal PC is a mutt of sorts, I assembled it my self from purchases at

computer shows.  It is an AMD386DX-40 motherboard with 4M RAM, 128k Cashe, an

8-bit Seagate SCSI adapter with 2 drives, a Diamond Speedstar Pro video card,

and a Pro Audio Spectrum 16 card.  I still find the emulator running slower

than an original C64 did, but faster PCs should be better about this.





     1.  Start up options:



          a.  c64s09c -sp     will give the C64 sound through the PC speaker

                              (which is pretty bad on my system.)



          b.  c64s09c -sb     will give the c64 sound through a Soundblaster

                              or compatible card.  I don't know about 8-bit

                              cards for sure, or about specific hardware

                              settings, but I made no changes to my default

                              settings and it work right away.



     1a. How to exit the emulator:

          

          Press CONTROL-BREAK, and you will be kicked out to DOS.

     

     2.  Emulator options:    



          Once the C64 screen comes up, press F8 for the emulator options

          screen.  Version 0.9c has the ability to alter the raster rate,

          the screen refresh, and joystick emulation through the keyboard

          or an analog PC joystick.



          a.  Raster rate and Screen refresh control how often the screen is

              updated and sprite collisions are detected.  By increasing

              either/or of these options, you will sacrifice speed of execution

              of the program, but movements of graphics and collisions will be

              handled better.  Sound will slow with slowing of execution.  By

              lowering (to the right) these settings, the speed and sound will

              pick up, but graphics will be jumpy and choppy, and collisions

              might be missed altoghether.



          b.  Keyboard Joysticks can be turned on and off.  Setting this to

              [B] or [BOTH] will cause keyboard problems (those of you that

              remember your C64 will remember this) but [A] will not.  The

              keys to emulate the joysticks are as follows:



              For [A] emulation or [B] emulation only:



                       UP     keypad 7

                       DOWN   keypad 4

                       LEFT   keypad 8

                       RIGHT  keypad 9

                       FIRE   keypad +

                                                       ------------

              For [BOTH] emulation only:              |            |

                                                      v            |

                   [A]:UP     keypad 7     [B]:UP     1 or W    (number)

                       DOWN   keypad 4         DOWN   ` or S

                       LEFT   keypad 8         LEFT   U

                       RIGHT  keypad 9         RIGHT  2 or I <-(letter)

                       FIRE   keypad +         FIRE   SPACE or O <-(letter)



          c.  Analog Joysticks use a PC analog stick to emulate the C64 stick.

              Setting to [B] or [BOTH] will cause the same problems as the

              keyboard stick will, so turn them on after starting the game.

              Use ALT-F10 to reset center on the joystick.  I had a little

              trouble with my Gravis on my PAS16 cards port.  To help me

              center the joystick, I used this little Commodore BASIC

              program:



                        10 PRINT PEEK(56321) AND 15:GOTO 10



              Type this in, RUN it, then goto the options screen and set the

              analog joystick to [BOTH].  The values for directions are:



                     5     1     9

                       \   |   /

                         \ | /

                     4 ----0---- 8

                         / | \

                       /   |   \

                     6     2    10



              Just move the joysick around, centering with ALT-F10 until

              you get a nice balanced response.  Go back to the options

              screen and kill the joystick emulation.  Then use TAB to stop

              the program from running.



     3.  Here's a biggie: the keyboard.  For those of you who don't have an

         old burned out C64 about to look at the keyboard, here is a layout

         of the C64 keyboard:







 |-----------------------------------------------------------------|   |----|

 |   | ! | " | # | $ | % | & | ' | ( | ) |   |   |   |li-|CLR |INST|   | f2 |

 |<--| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | + | - |-ra|HOME|DEL |   | f1 | 

 |-----------------------------------------------------------------|   |----|

 |    |   |   |   |   |   |   |   |   |   |   |   |   |   |        |   | f4 |

 |CTRL| Q | W | E | R | T | Y | U | I | O | P | @ | * | ^ | RESTORE|   | f3 |

 |-----------------------------------------------------------------|   |----|

 |RUN |SHFT|   |   |   |   |   |   |   |   |   | [ | ] |   |       |   | f6 |

 |STOP|LOCK| A | S | D | F | G | H | J | K | L | : | ; | = | RETURN|   | f5 |

 |-----------------------------------------------------------------|   |----|

 |    |    |   |   |   |   |   |   |   | < | > | ? |     |CRSR|CRSR|   | f8 |

 | C= |SHFT| Z | X | C | V | B | N | M | , | . | / |SHIFT|U/D |L/R |   | f7 |

 |-----------------------------------------------------------------|   |----|

           |                                   |

           |             SPACE BAR             |

           |-----------------------------------|



         or as close as I can get (upper half is SHIFTed, and the lira key

         is the British Pound sign.)  Notice the different placement of some

         notable characters (the double quote, colon, semi-colon, plus, minus,

         equals, star, parenthesis) so you gotta think before typing.

         

         Here is a listing of key equivalences:



         PC     C=          PC     C=          PC          C=

         --------------     --------------     -------------------

         F1     F1          ALT    C= LOGO     UP          CRSR U/D (SHIFTed)

         F2     F3          ENTER  RETURN      DOWN        CRSR U/D

         F3     F5          [      @           LEFT        CRSR L/R (SHIFTed)

         F4     F7          ]      *           RIGHT       CRSR L/R

         F12    RESTORE     ;      :           grey /      /

         `      <--         '      ;           grey ENTER  RETURN

         -      +           ,      ,          *kp .        ^

         =      -           .      .          *kp 2        CRSR U/D

         \      =           /      /          *kp 4        CRSR L/R (SHIFTed)

         BKSP   INST/DEL    INS    lira       *kp 6        CRSR L/R

         TAB    RUN/STOP    DEL    ^          *kp 7        CLR/HOME

         SHIFT  SHIFT       HOME   CLR/HOME   *kp 8        CRSR U/D (SHIFTed)

         CTRL   CTRL        1-9    1-9         A-Z         A-Z



         * kp (KEYPAD) is only in effect when there is no joystick emulation.



         Pain in the butt, huh?



     4.  Loading files from TAPE (.T64 DOS files) and DISK (.D64 DOS files).

         

         F9 is the key that brings up the file menu.  The first key press will

         present the TAPE image files.  The arrow keys will scroll through

         the list of files, each corresponding to a .T64 file in DOS.  Go to

         the file you wish to load, and press ENTER.  The word FILE will

         appear.  Hit ENTER again and you will see the C64 BASIC screen.  Now

         type  LOAD"FILE"  and hit ENTER.  at the READY. prompt, type RUN.

         This should start most games.  If not, the game might be started

         by using the SYS<address> command.  Those who have had a C64 will

         know the popular locations (SYS49152,  SYS32768, SYS2049).  If these

         don't work, contact whoever you got the .T64 file from and ask them.



     5.  Hitting F9 twice from the BASIC screen will present you with the

         DISK image files.  Again, the arrow keys scroll through the list.

         I have heard that the first time a selection is made from this menu 

         a system lock-up will occur if any LOAD is attempted from the DISK. 

         The solution, I'm told is to select the first DISK image and hit 

         ENTER.  Then hit F9 to get back to the DISK menu.  Now select the 

         DISK image you wish to load from.  Type  LOAD"$",8  and hit ENTER.  

         At the READY. prompt, type  LIST  and hit ENTER.  This will give you 

         a directory of the files on the DISK image.  To load a file, type

         LOAD"<filename>",8  or  LOAD"<filename>",8,1  and hit ENTER.

         BASIC files and loaders will use the first method, which is a

         relocating load, and will always load starting ad address 2049, the 

         beginning of Commodore 64 BASIC program space.  If RUNning this

         program does nothing, then try loading it the secony way, with a

         non-relocating load, which will load the program starting at the 

         memory address from which it was saved.  Some of these need to be

         started with RUN or an SYS<address>, but most, in my experience

         of owning a C64 for many years, will run automatically.

         For games that span multiple DISKs, just hit F9 when it prompts you 

         for the next disk, and select the next DISK image that you need.



     6.  For those enterprising computer hackers,  the recently established

         ftp site  watson.mbb.sfu.ca  has the emulator and other utilities

         for it.  The one that I'm using to get my C64 games to the PC

         emulator is DISK64E.  If you can get the parts and make up a simple

         4 or 5 wire cable, and you own a 1541 disk drive, you can hook it up

         to your parallel port, and make your own disk images.



I have tried to make this document as accurate as possible.  If you find any

errors or useful additions, please E-mail them to me, rather than post to

a news group, 'cause I don't get online every night.  I'll add/correct the

FAQ list and repost it and re-upload it to the ftp site watson.mbb.sfu.ca





Hope this helps.    ;)



                                        Alan McComas

                                        -=>AMC<=-

                                        amc@ritz.mordor.com



