/* Imported from Wayback Machine Original URL : https://www.retrobrewcomputers.org/doku.php?id=builderpages:plasmo:crc65r2:crc65r2home Snapshot date: 2025-09-09 Generator : wayback-archiver */ ==== Table of Contents ==== [[#crc65_rev2_a_single_board_computer_for_w65c02_and_w65c816|CRC65 Rev2, A Single Board Computer for W65C02 and W65C816]] [[#introduction|Introduction]] [[#features|Features]] [[#theory_of_operation|Theory of Operation]] [[#design_information|Design Information]] [[#software|Software]] ====== CRC65 Rev2, A Single Board Computer for W65C02 and W65C816 ====== ===== Introduction ===== CRC65 stands for **C**PLD, **R**AM, **C**Fdisk, and **65**02. It is a very simple single board computer using CF disk to store system and application programs. Its simplicity allows it to run quite fast, overclocked up to 29.5MHz with W65C02. CRC65 rev2 can accommodate both W65C02 or W65C816 with different CPLD firmware and jumper changes. Discussion about CRC65 can be found here: http://forum.6502.org/viewtopic.php?f=10&t=6440 This is link to [[builderpages:plasmo:crc65|CRC65 rev1]] [[https://www.retrobrewcomputers.org/lib/exe/fetch.php?tok=76bc62&media=https://www.retrobrewcomputers.org/lib/plugins/ckgedit/fckeditor/userfiles/image/builderpages/plasmo/crc65r2/dsc_67410119.jpg|{{https://www.retrobrewcomputers.org/lib/exe/fetch.php?w=600&h=215&tok=21879d&media=https%3A%2F%2Fwww.retrobrewcomputers.org%2Flib%2Fplugins%2Fckgedit%2Ffckeditor%2Fuserfiles%2Fimage%2Fbuilderpages%2Fplasmo%2Fcrc65r2%2Fdsc_67410119.jpg?600x215|www.retrobrewcomputers.org_lib_plugins_ckgedit_fckeditor_userfiles_image_builderpages_plasmo_crc65r2_dsc_67410119.jpg}}]] [[https://www.retrobrewcomputers.org/lib/exe/fetch.php?tok=ac2a9d&media=https://www.retrobrewcomputers.org/lib/plugins/ckgedit/fckeditor/userfiles/image/builderpages/plasmo/crc65r2/dsc_67420119.jpg|{{https://www.retrobrewcomputers.org/lib/exe/fetch.php?w=600&h=241&tok=aa44e1&media=https%3A%2F%2Fwww.retrobrewcomputers.org%2Flib%2Fplugins%2Fckgedit%2Ffckeditor%2Fuserfiles%2Fimage%2Fbuilderpages%2Fplasmo%2Fcrc65r2%2Fdsc_67420119.jpg?600x241|www.retrobrewcomputers.org_lib_plugins_ckgedit_fckeditor_userfiles_image_builderpages_plasmo_crc65r2_dsc_67420119.jpg}}]] ===== Features ===== W65C02 or W65C816 operating at 14.7MHz Selection of W65C02 or W65C816 is accomplished via jumpers and different CPLD firmware CY7C109 RAM provides 58K of RAM space when configured to W65C02 CY7C109 RAM provides 116K of RAM space when configured to W65C816 Altera EPM7064S CPLD with the following features 64-byte boot ROM Double-buffered serial receiver at 115200 N81 Software bit-bang transmitter operating at 115200 N81 Compact Flash interface I2C interface RAM decode Bus-connected IDE44 interface. Modified RC2014 expansion bus 50mm x 100mm 2-layer pc board ===== Theory of Operation ===== Altera EPM7064S or its equivalent Atmel ATF1504AS is the heart of CRC65. It provides 64 bytes of boot ROM located at the top of 6502's memory space. The boot ROM has two modes of operations: CF bootstrap, where it loads the content of CF's Master Boot Record into memory at 0xB000 and execute. This is the normal mode of opertion. Serial bootstrap, where it loads 256 bytes of serial binary data into memory at 0xB000 and execute. Serial bootstrap mode is mainly used to initialize a new CF disk to load the system and application software. At the negation of reset, the boot ROM alternately polls serial receive ready flag or CF disk busy flag. Because CF disk typically need 1/2 second to negate its busy flag, the user can enter the serial bootstrap mode by enter a key immediately after the reset button is released. If the serial port has received an input, the boot ROM will discard the first character received and sit in a loop waiting for 256 serial binary data. The data are saved in RAM starting from location 0xB000 up to 0xB0FF. When the 256th data is received, the program execution starts at 0xB000. ===== Design Information ===== [[https://www.retrobrewcomputers.org/lib/exe/fetch.php?media=builderpages:plasmo:crc65r2:crc65_rev2_scm.pdf|Schematic]] PCB [[https://www.retrobrewcomputers.org/lib/exe/fetch.php?media=builderpages:plasmo:crc65r2:crc65_r2_gerber.zip|photoplots]] CPLD design file CPLD for [[https://www.retrobrewcomputers.org/lib/exe/fetch.php?media=builderpages:plasmo:crc65r2:crc65_cpld_rev2pcb_65816config.zip|W65C816 configuration.]] Top level [[https://www.retrobrewcomputers.org/lib/exe/fetch.php?media=builderpages:plasmo:crc65r2:top_crc816_cpld_scm.pdf|schematic of W65C816 CPLD]] in PDF CPLD for [[https://www.retrobrewcomputers.org/lib/exe/fetch.php?media=builderpages:plasmo:crc65r2:crc65_rev0_rev2_pcb_improved_cf_access_2_12_21.zip|W65C02 configuration]]. Top level [[https://www.retrobrewcomputers.org/lib/exe/fetch.php?media=builderpages:plasmo:crc65r2:crc65_cpld_schematic_rev2pcb_6502_configuration.pdf|schematic of W65C02 CPLD]] in PDF. [[builderpages:plasmo:crc65:memory_map|Memory map]] of CRC65 Signal definition of [[builderpages:plasmo:crc65:modified_rc2014_bus|modified RC2014 expansion bus]] Bill of Materials ==== Software ==== [[https://www.retrobrewcomputers.org/lib/exe/fetch.php?media=builderpages:plasmo:crc65:tinyload_released_1_10_21.zip|Tinyload]] CFBootloader is a collection of utility software for loading software in designated locations in CF disk. This is [[https://www.retrobrewcomputers.org/lib/exe/fetch.php?media=builderpages:plasmo:crc65:cfboot_crc65_pre_released_1_29_21.zip|beta version of CFBoot]]: Run from 0xb17c to copy CF bootstrap code into CF's Master Boot Record Load CRCMon.hex and run from 0xb1d9 to copy CRCMon into CF Load Memtest.hex and run from 0xb250 to copy memory test into CF Load min_mon.hex and run from 0xb2b3 to copy EhBASIC into CF. [[https://www.retrobrewcomputers.org/lib/exe/fetch.php?media=builderpages:plasmo:crc65:crcmon_r08c_1_26_21.zip|CRCMon]], a simple monitor for CRC65, rev0.8c. [[https://www.retrobrewcomputers.org/lib/exe/fetch.php?media=builderpages:plasmo:crc65:crc65_ehbasic_1_23_01.zip|EhBASIC]] [[https://www.retrobrewcomputers.org/lib/exe/fetch.php?media=builderpages:plasmo:crc65:game_of_life_released_1_14_21.zip|Conway's Game of Life]] driving 128×64 OLED display over I2C bus. Program starts at 0xa000 [[https://www.retrobrewcomputers.org/lib/exe/fetch.php?media=builderpages:plasmo:crc65:clock_improved_wi2c_released.zip|Clock]] simulates traditional clock movement. Program starts at 0x1000