INL-retro-progdump/firmware/source/io.c

36 lines
762 B
C

#include "io.h"
//pullup as many cart pins as possible
//goal to be safe state for all hardware
void io_pullup()
{
//pull up addr[7:0] bus
ADDR_IP();
ADDR_HI();
//pull up data bus
DATA_IP();
DATA_HI();
//pull up control port
CTL_IP();
CTL_HI();
//pull up aux port
AUX_IP();
AUX_HI();
//Aux port EXP /OE control
//pull up on EXP FF should disable FF ouput
//EXP0 input no pullup
//Lots of possibilities, ~safe bet it will have it's own pull-up/down if needed.
//SNES /RESET pin disables SRAM on first few pcb versions
//NES PRG-ROM /OE (with pulldown) on old INL-ROM v1 boards w/pulldown
//NED PRG-ROM /WE (with pullup) on INL-ROM v3 boards w/pullup
//NES CPLD JTAG TDO non-5v tolerant
EXP0_FLT();
//LED LAST displaying complete..
}