UPD7810/uPD7811

From CPCWiki - THE Amstrad CPC encyclopedia!
Revision as of 20:44, 1 September 2010 by Nocash (Talk | contribs) (Internal ROM and MODE0/MODE1 Pins)

Jump to: navigation, search

Internal ROM and MODE0/MODE1 Pins

The processor exists in two versions: 7810 without internal ROM, and 7811 with 4K internal ROM. Normally, one would use the ROM-less 7810 if one doesn't use the internal ROM - however, for it seems to be quite common to use a 7811 with its internal ROM disabled. The uPD781x datasheet doesn't contain useful info on how to do this, but the uPD78C1x (CMOS version) datasheet contains at least some fragments on how the MODE0 and MODE1 pins affect internal/external ROM mapping. Judging from that information, the following four combinations seem to be supported:

MODE1 MODE0 Effect Example/Usage
LOW LOW External ROM, 4K at 0000h..0FFFh (only lower 4bit of Port F used for memory access, upper 4bit can be used as I/O signals) No hardware known to use this
LOW HIGH External ROM, 16K at 0000h..3FFFh (only lower 6bit of Port F used for memory access, upper 2bit can be used as I/O signals) Schneider NLQ401 Printer (uPD7811 with internal ROM disabled)
HIGH LOW Internal ROM, 4K at 0000h..0FFFh (in this case initialization code in internal ROM can configure Port F for whatever usage by software) Amstrad DMP2000/DMP3000 Printers (uPD7811 with internal ROM enabled)
HIGH HIGH External ROM, 64K at 0000h..FFFFh (all 8bit of Port F used as memory address) Roland TR-909 Drumcomputer (uPD7811 with internal ROM disabled)

Examples for hardware that uses a uPD7811 with its internal ROM disabled: Schneider NLQ401 printer, Roland TR-909 Drumcomputer. Reportedly it can also happen that dealers for electronic components are shipping 7811 chips when one has ordered a 7810. Unknown why that is happening (possibly they might do contain BIOSes that turned out to contain software bugs, or that were produced in too high quantities).

Datasheets

  • uPD7811G Datasheet (8bit CPU with 4096 byte ROM, 256 byte RAM, 44 I/O lines)
  • uPD78C11A Datasheet (CMOS version of uPD7811, this datasheet version includes some info fragments on MODE0/MODE1 pins)