home *** CD-ROM | disk | FTP | other *** search
/ Loadstar 224 / 224.d81 / t.e1 < prev    next >
Text File  |  2022-08-26  |  11KB  |  369 lines

  1. u
  2.     A B O U T   E M U L A T O R S
  3.           by Professor Dredd
  4.           aka Ken Kill, Jr.
  5.  
  6.  
  7.     There are people doing something
  8. to help preserve our C-64 heritage.
  9. Since the hardware not being
  10. manufactured, they're doing it with
  11. software. By the time the Pentium chip
  12. was released, PCs had grown powerful
  13. enough to do this. All the hardware
  14. functions of the C-64 can be
  15. "emulated" by a PC program.
  16.  
  17.     Emulation means to simulate or
  18. mimic. In this case it means that a PC
  19. program takes the same data that would
  20. normally go into a C-64 circuit and
  21. provides the same (or close enough)
  22. output that the original circuit would
  23. have. Doing this takes a lot of
  24. computing power because the integrated
  25. circuits of the C-64 are fairly
  26. complex devices. These PC programmers
  27. have "reverse engineered" (analyzed
  28. and made educated guesses about) the
  29. logical functions of these integrated
  30. circuits and written programs to
  31. provide the same functions.
  32.  
  33.     What are the main integrated
  34. circuits of the C-64 which must be
  35. emulated to create a software C-64?
  36. You don't need to know these but for
  37. the curious they are:
  38.  
  39. 6510 - a 6502 compatible
  40.   microprocessor with an on-chip
  41.   bi-directional I/O port and enhanced
  42.   DMA function. Considered the "heart"
  43.   of the C-64, this is the integrated
  44.   circuit that performs calculations,
  45.   executes programs and runs programs.
  46.  
  47. CIA (6526) - The two Complex
  48.   Interface Adapters are the main I/O
  49.   circuits of the C-64. They provide
  50.   interfaces to the keyboard, serial
  51.   port and user port. One of the CIA's
  52.   also provides important memory
  53.   configuration data for the VIC-II
  54.   chip. The TI/TI$ clock in BASIC is
  55.   "ticked" by a timing circuit within
  56.   one of the CIA's.
  57.  
  58. VIC-II - This Video Interface Chip
  59.   provides the video output you see on
  60.   your TV or monitor. The VIC is
  61.   sometimes considered to be a
  62.   "co-processor" because it is capable
  63.   of grabbing control of the system
  64.   buss from the 6510. This is done
  65.   with a DMA operation (VIC is given
  66.   the highest DMA priority over all
  67.   other devices) and actually slows
  68.   the system down because the 6510
  69.   must be temporarily halted. The time
  70.   required for the VIC to do its work
  71.   depends on how many sprites are
  72.   currently onscreen. Processing speed
  73.   can actually be increased by about
  74.   15% by disabling the VIC chip with a
  75.   POKE.
  76.  
  77. PLA - The Programmable Logic Array
  78.   chip controls the memory map
  79.   configuration and provides an
  80.   interface for certain functions of
  81.   the cartridge port. It tells the
  82.   6510 what device (RAM, ROM, I/O) is
  83.   mapped to what areas of memory. For
  84.   the most part the functions of the
  85.   PLA itself are hardwired and cannot
  86.   be changed. Thus the possible system
  87.   configurations are limited to a
  88.   small number and are well known (see
  89.   p. 260 of the Commodore 64
  90.   Programmer's Reference Guide)
  91.  
  92. SID - The Sound Interface Device is
  93.   the chip that makes all the
  94.   spellbinding music and sound effects
  95.   you enjoy in your favorite games.
  96.   Essentially it is a dedicated
  97.   digital to analog converter with 3
  98.   programmable outputs. Its
  99.   flexibility and ease of use far
  100.   exceeded the sound devices used on
  101.   other computers of its time. This
  102.   chip is the one feature which drew
  103.   many people to the C-64. It was also
  104.   used in non-computer sound devices,
  105.   and there is even a PC sound card,
  106.   the HardSID, that allows you to use
  107.   multiple SID chips to produce sound
  108.   from the PC.
  109.  
  110.     It is worth noting that emulator
  111. programmers have more difficulty with
  112. the SID than the others. This is
  113. because during the manufacture of the
  114. SID, certain inconsistencies caused
  115. each one to be slightly different. Not
  116. every SID produces EXACTLY the same
  117. sounds. Also, there was at least one
  118. revision in the chip's architecture
  119. that caused sound output from some
  120. programs to vary greatly (or not work
  121. at all) between different C-64s.
  122. Additionally, the motherboard layout
  123. of the C-64 itself changed many times
  124. over the years and the SID output was
  125. occasionally affected. Trying to mimic
  126. all these changes and inconsistencies
  127. would make for an excessively complex
  128. and SLOW emulator program.
  129.  
  130.  
  131. ABOUT CCS64
  132.  
  133.     Now that you know what an emulator
  134. does, let's look at a specific case,
  135. CCS64. There are other Commodore 64
  136. emulators available. I have chosen to
  137. focus on CCS64 because it provides the
  138. fastest and most accurate emulation of
  139. a real C-64. CCS64 is regularly
  140. updated and always includes the latest
  141. features in emulation. Here are the
  142. URLs of the most common emulators:
  143.  
  144. CCS64 - The BEST!
  145. http://www.computerbrains.com /ccs64/
  146.  
  147. V.I.C.E. - Good for Windows users.
  148. Also emulates other Commodore
  149. computers.
  150. http://www.cs.cmu.edu/%7
  151. Edsladic/vice/vice.html
  152.  
  153. C64S - No longer updated. Might work
  154. better for slow PCs.
  155. http://www.phs-edv.de/c64s/ind ex.htm
  156.  
  157. Anyone looking for Macintosh-based
  158. emulators for ANY computer should
  159. try:
  160. http://emulation.net/
  161. or
  162. htt
  163. p://www.auto.tuwien.ac.at/^rlieger/Po
  164. wer64
  165.  
  166. [NOTE:] The easiest way to find these
  167. emulators on the Web is to use
  168. Google.com or Yahoo.com. Type in
  169. "emulator" and the desired name.
  170.  
  171.  
  172.     The CCS64 manual recommends a
  173. Pentium processor or better. This
  174. seems to imply a 100Mhz or better
  175. machine. Obviously, the faster your
  176. PC, the faster you'll be able to run
  177. the emulated C-64. If you're using a
  178. 486 or a slow Pentium, it is
  179. recommended that you try "CCS64 V 1.09
  180. Dos" or one of the older emulators
  181. written for slow machines. To get
  182. maximum speed from any emulator, you
  183. should boot your PC into DOS and run
  184. it from the DOS prompt. This will
  185. remove the overhead of Windows, which
  186. wants to act as a "middle man" between
  187. the program and your PC's hardware.
  188. While I've attained acceptable
  189. emulation speeds under Windows with my
  190. P133, your mileage may vary.
  191.  
  192.     To install CCS64 on your PC, just
  193. download the appropriate version.
  194. Which one you get depends on your
  195. system. Most people will want "CCS64
  196. V2.0 B Dos, Win 95/98 - PMODE/W". It
  197. works well under either Windows or DOS
  198. and provides the latest features.
  199.  
  200.     CCS64 is distributed in a PC-style
  201. PK-ZIP archive (.ZIP). Unpack it using
  202. PK-ZIP (mine is called "pkz204g.exe")
  203. from the DOS prompt or by using WinZip
  204. in Windows. Unpack the entire archive
  205. to a single folder on your "C:" drive
  206. in an easy to find place (mine is
  207. located in the folder "C:\Program
  208. Files\CCS64\32"). To make it easy to
  209. find CCS64 in Windows, make a shortcut
  210. to it by right-dragging the folder to
  211. the desktop and selecting "Create
  212. Shortcut Here" from the context menu
  213. that pops up.
  214.  
  215.     CCS64 is now fully installed and
  216. most people will be able to use it in
  217. its default configuration. To start
  218. the emulator, double-click the file
  219. ccs.exe or ccs64.exe (depending on the
  220. version you downloaded.) If CCS64
  221. doesn't start or you get an error,
  222. consult the documentation files
  223. "ccs64faq.html" and "ccs64.html" for
  224. help fixing your Windows problem.
  225.  
  226.     That's it, your ready to play!
  227.  
  228.  
  229. CCS64 BEGINNER OPERATIONS
  230.  
  231.     You now see the familiar C-64
  232. BASIC sign-on screen. The first thing
  233. some of you will want to do is change
  234. the screen resolution to your liking.
  235. Go to the "Video" menu by pressing
  236. ALT-V. Use the up/down arrow keys to
  237. highlight "Screen Mode" and select the
  238. new resolution with the right/left
  239. arrow keys.
  240.  
  241.            [*** Warning! ***]
  242. Not all monitors are designed to
  243. display every possible resolution! It
  244. is conceivable (in theory) to RUIN
  245. your monitor by selecting an invalid
  246. "Screen Mode". If you select a mode
  247. that looks trashed, just hit ALT-Q and
  248. then press ESC to quickly exit CCS64
  249. and return to normal. I've
  250. experimented with all modes on 4
  251. different monitors and never ruined
  252. one. If you leave your monitor in an
  253. invalid mode too long, you're taking
  254. an unnecessary risk. Refer to the
  255. CCS64 Manual for more info.
  256.  
  257.  
  258.     Use the F4 - "Test" option to test
  259. the new "Screen Modes" as you select
  260. them. Your display mode will be
  261. changed for a few seconds and then
  262. automatically return to the previous
  263. resolution. Use arrow-left and
  264. arrow-right to select the "Screen
  265. Mode" you want to try, then use F4 to
  266. test it. When you find a "Screen Mode"
  267. that looks good to you hit ENTER to go
  268. back to the C-64 screen and use it. If
  269. the new mode still does not please
  270. you, use ALT-V and try again u