src/mess/drivers/dectalk.c
| r5533 | r5534 | |
| 7 | 7 | * have been impossible. |
| 8 | 8 | * Special thanks to Al Kossow for archiving the DTC-01 schematic at bitsavers, |
| 9 | 9 | * which is invaluable for work on this driver. |
| 10 | * Special thanks to leeeeee for helping figure out what the led selftest codes actually mean |
| 10 | 11 | * |
| 11 | 12 | * TODO: |
| 12 | | * * Fix hookup of duart, I suspect there's an address line shift problem, either that or modes 0-6 of the duart being unimplemented prevents this from working at all. |
| 13 | | * * Attach m68k interrupts properly; i suspect the duart int is hooked up wrong |
| 13 | * * DUART: I suspect there's an address line shift problem, either that or modes 0-6 of the duart being unimplemented prevents this from working at all. |
| 14 | * * seems more likely to be the mode problem? |
| 15 | * * pins IP0, IP2, and IP3 are connected to the primary serial port: |
| 16 | * * IP0 is CTS |
| 17 | * * IP2 is DSR |
| 18 | * * IP3 is RLS (recieved line signal, this pin is rarely used on rs232) |
| 19 | * * pins IP4, IP5 and IP6 are on jumpers on the DUART, tied high normally but jumperable low, should be handled as dipswitches: |
| 20 | * * IP4 low: skip hardware self tests |
| 21 | * * IP5 low: unknown |
| 22 | * * IP6 low: unknown |
| 23 | * * pins OP0 and OP2 are connected to the primary serial port: |
| 24 | * * OP0 is RTS |
| 25 | * * OP2 is DTR |
| 26 | * * Attach m68k interrupts properly; I suspect the DUART INT and SPC INTs are both hooked up wrong |
| 14 | 27 | * * Figure out why status LEDS are flashing 00 FD 00 FD etc... some sort of 68k selftest DUART error? |
| 15 | 28 | * * NICETOHAVE: figure out what all the LED error codes actually mean, as DEC didn't document them anywhere. |
| 16 | 29 | * * Actually store the X2212 nvram's eeprom data to disk rather than throwing it out on exit |
| r5533 | r5534 | |
| 21 | 34 | * * emulate/simulate the MT8060 dtmf decoder as a 16-key input device? |
| 22 | 35 | * * discuss and figure out how to have an external application send data to the two serial ports to be spoken |
| 23 | 36 | * |
| 24 | | * LED error code list (found by experimentation): |
| 25 | | * FF 00 - M68k address register check fail (if data registers fail the processor just spins forever and no led code is generated) |
| 26 | | * FF 01 - ROM check fail @ 0x00000, rom at E8 or E22 |
| 27 | | * FF 02 - ROM check fail @ 0x08000, rom at E7 or E21 |
| 28 | | * FF 03 - ROM check fail @ 0x10000, rom at E6 or E20 |
| 29 | | * FF 04 - ROM check fail @ 0x18000, rom at E5 or E19 |
| 30 | | * FF 05 - ROM check fail @ 0x20000, rom at E4 or E18 |
| 31 | | * FF 06 - ROM check fail @ 0x28000, rom at E3 or E17 |
| 32 | | * FF 07 - ROM check fail @ 0x30000, rom at E2 or E16 |
| 33 | | * FF 08 - ROM check fail @ 0x38000, rom at E1 or E15 |
| 37 | * LED error code list (found by experimentation and help from leeeeee): |
| 38 | * FF 00 - M68k address register check fail or data register check fail (test code at $21E) |
| 39 | * (for some data register failures the processor just spins forever and no led code is generated) |
| 40 | * FF 01 - ROM check fail @ 0x00000, rom at E8 or E22 (test code at $278) |
| 41 | * FF 02 - ROM check fail @ 0x08000, rom at E7 or E21 " |
| 42 | * FF 03 - ROM check fail @ 0x10000, rom at E6 or E20 " |
| 43 | * FF 04 - ROM check fail @ 0x18000, rom at E5 or E19 " |
| 44 | * FF 05 - ROM check fail @ 0x20000, rom at E4 or E18 " |
| 45 | * FF 06 - ROM check fail @ 0x28000, rom at E3 or E17 " |
| 46 | * FF 07 - ROM check fail @ 0x30000, rom at E2 or E16 " |
| 47 | * FF 08 - ROM check fail @ 0x38000, rom at E1 or E15 " |
| 34 | 48 | * FF 0F - ROM check fail at multiple addresses |
| 35 | 49 | * FE 01 - RAM check fail @ 0x80000-0x83fff, ram at E36 or E49 |
| 36 | 50 | * FE 02 - RAM check fail @ 0x84000-0x87fff, ram at E35 or E48 |
| 37 | 51 | * FE 03 - RAM check fail @ 0x88000-0x8bfff, ram at E34 or E47 |
| 38 | 52 | * FE 04 - RAM check fail @ 0x8c000-0x8ffff, ram at E33 or E46 |
| 39 | 53 | * FE 05 - RAM check fail @ 0x90000-0x93fff, ram at E32 or E44 |
| 40 | | * FD 00 - unknown, probably either duart interface failure, interrupt failure, or duart timer failure |
| 41 | | |
| 54 | * FD 00 - DUART test fail (test code at $046C) [fails in mess] |
| 55 | * FC 00 - TMS32010 i/o register test? (test code at $051E) [?passes? in mess] |
| 56 | * FB 00 - DUART interrupt tests fail [fails in mess] |
| 57 | * Jump to $102C to skip the self tests |
| 42 | 58 | *******************************************************************************/ |
| 43 | 59 | /*the 68k memory map is such: |
| 44 | 60 | 0x000000-0x007fff: E22 low, E8 high |