src/mess/drivers/nakajies.c
| r4617 | r4618 | |
| 1 | 1 | /****************************************************************************** |
| 2 | 2 | |
| 3 | | Driver for DreamWriter electronic typewriter made by NTS Computer Systems |
| 4 | | (and clones). |
| 3 | Driver for the ES-2xx series electronic typewriters made by Nakajima. |
| 5 | 4 | |
| 6 | | Information from http://web.archive.org/web/19980205154137/nts.dreamwriter.com/dreamwt4.html: |
| 5 | Nakajima was the OEM manufacturer for a series of typewriters which were |
| 6 | sold by different brands around the world. The PCB layouts for these |
| 7 | machines are the same. The models differed in the amount of (static) RAM: |
| 8 | 128KB or 256KB; and in the system rom (mainly only different language |
| 9 | support). |
| 7 | 10 | |
| 11 | |
| 12 | Model | SRAM | Language | Branded model |
| 13 | --------+-------+----------+---------------------- |
| 14 | ES-210N | 128KB | German | Walther ES-210 |
| 15 | ES-220 | 256KB | Englsih | NTS DreamWriter T400 |
| 16 | ES-2?? | ???KB | Spanish | Dator 3000 |
| 17 | |
| 18 | |
| 19 | |
| 20 | NTS information from http://web.archive.org/web/19980205154137/nts.dreamwriter.com/dreamwt4.html: |
| 21 | |
| 8 | 22 | File Management & Memory: |
| 9 | 23 | |
| 10 | 24 | ยท Uniquely name up to 128 files |
| r4617 | r4618 | |
| 40 | 54 | #include "sound/speaker.h" |
| 41 | 55 | |
| 42 | 56 | |
| 43 | | static ADDRESS_MAP_START( drwr_map, ADDRESS_SPACE_PROGRAM, 8 ) |
| 57 | static ADDRESS_MAP_START( nakajies128_map, ADDRESS_SPACE_PROGRAM, 8 ) |
| 44 | 58 | AM_RANGE( 0x00000, 0x1ffff ) AM_RAM |
| 45 | 59 | AM_RANGE( 0x80000, 0xfffff ) AM_ROM AM_REGION( "bios", 0 ) |
| 46 | 60 | ADDRESS_MAP_END |
| 47 | 61 | |
| 48 | 62 | |
| 49 | | static INPUT_PORTS_START( drwrt400 ) |
| 63 | static ADDRESS_MAP_START( nakajies256_map, ADDRESS_SPACE_PROGRAM, 8 ) |
| 64 | AM_RANGE( 0x00000, 0x3ffff ) AM_RAM |
| 65 | AM_RANGE( 0x80000, 0xfffff ) AM_ROM AM_REGION( "bios", 0 ) |
| 66 | ADDRESS_MAP_END |
| 67 | |
| 68 | |
| 69 | static INPUT_PORTS_START( nakajies ) |
| 50 | 70 | INPUT_PORTS_END |
| 51 | 71 | |
| 52 | 72 | |
| 53 | | static MACHINE_DRIVER_START( drwrt400 ) |
| 73 | static MACHINE_DRIVER_START( nakajies128 ) |
| 54 | 74 | MDRV_CPU_ADD( "v20hl", V20, 9830000 ) /* Weird clock */ |
| 55 | | MDRV_CPU_PROGRAM_MAP( drwr_map, 0 ) |
| 75 | MDRV_CPU_PROGRAM_MAP( nakajies128_map, 0 ) |
| 56 | 76 | |
| 57 | 77 | MDRV_SCREEN_ADD( "screen", LCD ) |
| 58 | 78 | MDRV_SCREEN_REFRESH_RATE( 50 ) /* Wild guess */ |
| r4617 | r4618 | |
| 68 | 88 | MACHINE_DRIVER_END |
| 69 | 89 | |
| 70 | 90 | |
| 91 | static MACHINE_DRIVER_START( nakajies256 ) |
| 92 | MDRV_CPU_ADD( "v20hl", V20, 9830000 ) /* Weird clock */ |
| 93 | MDRV_CPU_PROGRAM_MAP( nakajies256_map, 0 ) |
| 94 | |
| 95 | MDRV_SCREEN_ADD( "screen", LCD ) |
| 96 | MDRV_SCREEN_REFRESH_RATE( 50 ) /* Wild guess */ |
| 97 | MDRV_SCREEN_FORMAT( BITMAP_FORMAT_INDEXED16 ) |
| 98 | MDRV_SCREEN_SIZE( 80 * 8, 8 * 8 ) |
| 99 | MDRV_SCREEN_VISIBLE_AREA( 0, 8 * 80 - 1, 0, 8 * 8 - 1 ) |
| 100 | MDRV_PALETTE_LENGTH( 2 ) |
| 101 | |
| 102 | /* sound */ |
| 103 | MDRV_SPEAKER_STANDARD_MONO( "mono" ) |
| 104 | MDRV_SOUND_ADD( "speaker", SPEAKER, 0 ) |
| 105 | MDRV_SOUND_ROUTE( ALL_OUTPUTS, "mono", 1.00 ) |
| 106 | MACHINE_DRIVER_END |
| 107 | |
| 108 | |
| 71 | 109 | ROM_START(drwrt400) |
| 72 | 110 | ROM_REGION( 0x80000, "bios", 0 ) |
| 73 | | ROM_LOAD("drwrt400.rom", 0x00000, 0x80000, CRC(f0f45fd2) SHA1(3b4d5722b3e32e202551a1be8ae36f34ad705ddd)) /* 27040 eeprom */ |
| 111 | ROM_LOAD("t4_ir_2.1.ic303", 0x00000, 0x80000, CRC(f0f45fd2) SHA1(3b4d5722b3e32e202551a1be8ae36f34ad705ddd)) |
| 74 | 112 | ROM_END |
| 75 | 113 | |
| 76 | 114 | |
| 77 | 115 | ROM_START(wales210) |
| 78 | 116 | ROM_REGION( 0x80000, "bios", 0 ) |
| 79 | | ROM_LOAD("wales210.rom", 0x00000, 0x80000, CRC(a8e8d991) SHA1(9a133b37b2fbf689ae1c7ab5c7f4e97cd33fd596)) /* 27040 eeprom */ |
| 117 | ROM_LOAD("wales210.ic303", 0x00000, 0x80000, CRC(a8e8d991) SHA1(9a133b37b2fbf689ae1c7ab5c7f4e97cd33fd596)) /* 27c4001 */ |
| 80 | 118 | ROM_END |
| 81 | 119 | |
| 82 | 120 | |
| 121 | /* TODO: Verify rom name and RAM size */ |
| 83 | 122 | ROM_START(dator3k) |
| 84 | 123 | ROM_REGION( 0x80000, "bios", 0 ) |
| 85 | | ROM_LOAD("dator3000.rom", 0x00000, 0x80000, CRC(b67fffeb) SHA1(e48270d15bef9453bcb6ba8aa949fd2ab3feceed)) /* 27040 eeprom */ |
| 124 | ROM_LOAD("dator3000.ic303", 0x00000, 0x80000, CRC(b67fffeb) SHA1(e48270d15bef9453bcb6ba8aa949fd2ab3feceed)) |
| 86 | 125 | ROM_END |
| 87 | 126 | |
| 88 | 127 | |
| 89 | | /* YEAR NAME PARENT COMPAT MACHINE INPUT INIT CONFIG COMPANY FULLNAME FLAGS */ |
| 90 | | COMP( 19??, drwrt400, 0, 0, drwrt400, drwrt400, 0, 0, "NTS", "DreamWriter T400", GAME_NOT_WORKING ) /* English */ |
| 91 | | COMP( 19??, wales210, drwrt400, 0, drwrt400, drwrt400, 0, 0, "Walther", "ES-210", GAME_NOT_WORKING ) /* German */ |
| 92 | | COMP( 19??, dator3k, drwrt400, 0, drwrt400, drwrt400, 0, 0, "Dator", "Dator 3000", GAME_NOT_WORKING ) /* Spanish */ |
| 128 | /* YEAR NAME PARENT COMPAT MACHINE INPUT INIT CONFIG COMPANY FULLNAME FLAGS */ |
| 129 | COMP( 199?, wales210, 0, 0, nakajies128, nakajies, 0, 0, "Walther", "ES-210", GAME_NOT_WORKING ) /* German */ |
| 130 | COMP( 199?, dator3k, wales210, 0, nakajies128, nakajies, 0, 0, "Dator", "Dator 3000", GAME_NOT_WORKING ) /* Spanish */ |
| 131 | COMP( 199?, drwrt400, wales210, 0, nakajies256, nakajies, 0, 0, "NTS", "DreamWriter T400", GAME_NOT_WORKING ) /* English */ |
| 93 | 132 | |
| 133 | |