/*---------------------------------------------------------------------------- * Mike Christle (c) 2014 *----------------------------------------------------------------------------- * TERMS OF USE: MIT License *----------------------------------------------------------------------------- * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER * DEALINGS IN THE SOFTWARE. *---------------------------------------------------------------------------*/ Name U2 ; PartNo 00 ; Date 8/19/2014 ; Revision 5.0 ; Designer Mike Christle ; Company Christle Engineering ; Assembly Mini 6502 ; Location U2 ; Device g16v8ma ; /* INPUT PINS */ PIN 1 = PH2O; /* 1.8432 MHz clock */ PIN 2 = A15; /* Address 15 */ PIN 3 = A14; /* Address 14 */ PIN 5 = RWB; /* Read / Write* */ PIN 8 = A4; /* Address 04 */ PIN 9 = RESB; /* Reset* */ /* OUTPUT PINS */ PIN 12 = URT_CS; /* UART Chip Select */ PIN 13 = ROM_OE; /* ROM Output Enable */ PIN 16 = RAM_OE; /* RAM Output Enable */ PIN 17 = RAM_WE; /* RAM Write Enable */ PIN 18 = VIA_CS; /* VIA Chip Select */ !RAM_OE = RESB & PH2O & !A15 & RWB; !RAM_WE = RESB & PH2O & !A15 & !RWB; !ROM_OE = RESB & PH2O & RWB & A15 & A14; /* C000 */ !VIA_CS = RESB & A15 & !A14 & A4; /* 801X */ !URT_CS = RESB & A15 & !A14 & !A4; /* 800X */