src/mess/drivers/cbmb.c
| r3213 | r3214 | |
| 9 | 9 | ***************************************************************************/ |
| 10 | 10 | |
| 11 | 11 | /* |
| 12 | | CBM B Series: 6509 @ 2MHz, 6545/6845 Video, 6526 CIA, 6581 SID, BASIC 4.0+ |
| 13 | | (Sometimes called BASIC 4.5) |
| 14 | | Commodore differentiated between the HP (High Profile) and |
| 15 | | LP (Low Profile) series by naming all HP machine CBM. |
| 16 | | (B128-80HP was CBM128-80). Also, any machine with optional |
| 17 | | 8088 CPU card had 'X' after B or CBM (BX128-80). |
| 18 | | * CBM B128-80HP 128kB, Detached Keyboard, Cream. GP |
| 19 | | * CBM B128-80LP 128kB, One-Piece, Cream, New Keyboard. GP |
| 20 | | * CBM B256-80HP 256kB, Detached Keyboard, Cream. |
| 21 | | * CBM B256-80LP 256kB, One-Piece, Cream. GP |
| 22 | | * CBM B128-40 6567, 6581, 6509, 6551, 128kB. In B128-80LP case. |
| 23 | | CBM B256-40 6567, 6581, 6509, 6551, 256kB. In B128-80LP case. |
| 24 | | * CBM B500 |
| 25 | | * CBM B500 256kB. board same as B128-80. GP |
| 26 | 12 | |
| 27 | | CBM 500 Series: 6509, 6567, 6581, 6551. |
| 28 | | Sometimes called PET II series. |
| 29 | | * CBM 500 256kB. (is this the 500, or should it 515?) EC |
| 30 | | * CBM 505 64kB. |
| 31 | | * CBM 510 128kB. |
| 32 | | * CBM P500 64kB GP |
| 13 | 2008 - Driver Updates |
| 14 | --------------------- |
| 33 | 15 | |
| 34 | | CBM 600 Series: Same as B series LP |
| 35 | | * CBM 610 B128-80 LP CS |
| 36 | | * CBM 620 B256-80 LP CS |
| 16 | (most of the informations are taken from http://www.zimmers.net/cbmpics/ ) |
| 17 | (according to http://ca.geocities.com/sjgray@rogers.com/CBM/index.html there |
| 18 | are MANY more models in this family... but I haven't found confirmations, nor |
| 19 | dumps) |
| 37 | 20 | |
| 38 | | CBM 700 Series: Same as B series HP. Also named PET 700 Series |
| 39 | | * CBM 700 B128-80 LP (Note this unit is out of place here) |
| 40 | | * CBM 710 B128-80 HP SL |
| 41 | | * CBM 720 B256-80 HP GP |
| 42 | | * CBM 730 720 with 8088 coprocessor card |
| 21 | [CBM systems which belong to this driver] |
| 43 | 22 | |
| 44 | | CBM B or II Series |
| 45 | | B128-80LP/610/B256-80LP/620 |
| 46 | | Pet700 Series B128-80HP/710/B256-80HP/720/BX256-80HP/730 |
| 47 | | --------------------------- |
| 48 | | M6509 2 MHZ |
| 49 | | CRTC6545 6845 video chip |
| 50 | | RS232 Port/6551 |
| 51 | | TAPE Port |
| 52 | | IEEE488 Port |
| 53 | | ROM Port |
| 54 | | Monitor Port |
| 55 | | Audio |
| 56 | | reset |
| 57 | | internal user port |
| 58 | | internal processor/dram slot |
| 59 | | optional 8088 cpu card |
| 60 | | 2 internal system bus slots |
| 23 | * Commodore CBM-II Series (1983) |
| 61 | 24 | |
| 62 | | LP/600 series |
| 63 | | ------------- |
| 64 | | case with integrated powersupply |
| 25 | Notice that, despite the Datasette port present on the board, the BASIC ROMs |
| 26 | miss the routines needed to actually load from a tape |
| 65 | 27 | |
| 66 | | HP/700 series |
| 67 | | ------------- |
| 68 | | separated keyboard, integrated monitor, no monitor port |
| 69 | | no standard monitor with tv frequencies, 25 character lines |
| 70 | | with 14 lines per character (like hercules/pc mda) |
| 28 | Various models: |
| 71 | 29 | |
| 72 | | B128-80LP/610 |
| 73 | | ------------- |
| 74 | | 128 KB RAM |
| 30 | U.S. name EU name RAM |
| 75 | 31 | |
| 76 | | B256-80LP/620 |
| 77 | | ------------- |
| 78 | | 256 KB RAM |
| 32 | B500 (*) - 128k |
| 33 | B128 CBM 610 128k |
| 34 | B256 CBM 620 256k |
| 35 | B128-80HP (**) CBM 710 128k |
| 36 | B256-80HP (**) CBM 720 256k |
| 37 | BX256-80HP (***) CBM 730 256k |
| 79 | 38 | |
| 80 | | B128-80HP/710 |
| 81 | | ------------- |
| 82 | | 128 KB RAM |
| 39 | (*) Prototype for the B128? As you can read at http://www.zimmers.net/cbmpics/cb500.html |
| 40 | the naming of these machines is not clear: either they were B500/128 & |
| 41 | B500/256 or B128 & B256. However, these names always refer to the low |
| 42 | profile models. |
| 43 | (**) HP stands for High Profile. The other systems were the low profile models. |
| 44 | HP machines had a detachable keyboard |
| 45 | (***) Additional 8088 CPU present |
| 83 | 46 | |
| 84 | | B256-80HP/720 |
| 85 | | ------------- |
| 86 | | 256 KB RAM |
| 47 | CPU: MOS 6509 (2 mhz) |
| 48 | RAM: 128 Kilobytes (Expandable to 256k internal, 704k external) |
| 49 | ROM: 24 Kilobytes |
| 50 | Video: MOS 6545 CTRC (Text: 80 columns, 25 rows) |
| 51 | Sound: MOS 6581 SID (3 voice stereo synthesizer/digital sound capabilities) |
| 52 | Ports: CSG 6551/6525x2/6526 (IEEE-488 port; CBM Datasette port; RS232 port; |
| 53 | CBM Monitor port; CBM-II/PET-II expansion port; 1 RCA audio port; Power |
| 54 | and reset switches |
| 55 | Keyboard: Full-sized 102 key QWERTY (19 key numeric keypad!; 4 direction |
| 56 | cursor-pad) |
| 87 | 57 | |
| 88 | | BX256-80LP/730 |
| 89 | | -------------- |
| 90 | | (720 with cpu upgrade) |
| 91 | | 8088 upgrade CPU |
| 92 | 58 | |
| 93 | | CBM Pet II Series |
| 94 | | 500/505/515/P500/B128-40/B256-40 |
| 95 | | -------------------------------- |
| 96 | | LP/600 case |
| 97 | | videochip vic6567 |
| 98 | | 2 gameports |
| 99 | | m6509 clock 1? MHZ |
| 59 | * Commodore PET-II Series (1983) |
| 100 | 60 | |
| 101 | | CBM 500 |
| 102 | | ------- |
| 103 | | 256 KB RAM |
| 61 | This series only features the P500 machine, which never even reached the |
| 62 | market. In this machine, the Datasette port can be used (the BASIC ROMs |
| 63 | contain the necessary routines). It is also probably know as C128-40. |
| 64 | |
| 65 | CPU: CSG 6509 (1 Mhz) |
| 66 | RAM: 128 kilobytes, expandable to 720k |
| 67 | ROM: 24 kilobytes |
| 68 | Video: CSG 6569 "VIC-II" (320 x 200 Hi-Resolution; 40 columns text; Palette |
| 69 | of 16 colors) |
| 70 | Sound: CSG 6581 "SID" (3 voice stereo synthesizer/digital sound capabilities) |
| 71 | Ports: CSG 6551/6522 (2 Joystick/Mouse ports; IEEE-488 port; CBM Datasette |
| 72 | port; RS232 port; CBM Monitor port; CBM-II/PET-II expansion port; 1 RCA |
| 73 | audio port; Power and reset switches) |
| 74 | Keyboard: Full-sized 102 key QWERTY (19 key numeric keypad!; 4 direction |
| 75 | cursor-pad) |
| 104 | 76 | |
| 105 | | CBM 505/P500 |
| 106 | | ------- |
| 107 | | 64 KB RAM |
| 77 | [To Do] |
| 108 | 78 | |
| 109 | | CBM 510 |
| 110 | | ------- |
| 111 | | 128 KB RAM |
| 79 | * Support is still missing for: Sound, IEEE488, Floppy, internal slots |
| 112 | 80 | |
| 81 | * Emulate 8088 co-processor for BX-256HP and eventually add its European |
| 82 | counterpart CBM 730 |
| 113 | 83 | |
| 114 | | state |
| 115 | | ----- |
| 116 | | keyboard |
| 117 | | no sound |
| 118 | | no tape support |
| 119 | | no system roms supporting build in tape connector found |
| 120 | | no ieee488 support |
| 121 | | no floppy support |
| 122 | | no internal userport support |
| 123 | | no internal slot1/slot2 support |
| 124 | | no internal cpu/dram slot support |
| 125 | | preliminary quickloader |
| 84 | * Add better P500 emulation (almost everything: memory access, inputs, |
| 85 | Datasette, etc.) |
| 126 | 86 | |
| 127 | | state 600/700 |
| 128 | | ------------- |
| 129 | | dirtybuffer based video system |
| 130 | | no lightpen support |
| 131 | | no rasterline |
| 87 | * Was CBM 710 / 720 monitor at 50Hz? If not remove MACHINE_DRIVER_START(cbm700pal) |
| 88 | and use the 60Hz version for the whole High Profile |
| 132 | 89 | |
| 133 | | state 500 |
| 134 | | ----- |
| 135 | | rasterline based video system |
| 136 | | no lightpen support |
| 137 | | no rasterline support |
| 138 | | memory access not complete |
| 139 | | no gameport a |
| 140 | | no paddles 1,2 |
| 141 | | no joystick 1 |
| 142 | | no 2 button joystick/mouse joystick emulation |
| 143 | | no mouse |
| 144 | | no lightpen |
| 145 | | no gameport b |
| 146 | | paddles 3,4 |
| 147 | | joystick 2 |
| 148 | | 2 button joystick/mouse joystick emulation |
| 149 | | no mouse |
| 90 | * Find info about the following models (if ever existed): |
| 91 | + BX128-80HP |
| 92 | + CBM 700 |
| 93 | + CBM 505, CBM 510 (these seems proto as CBM 500 but with less RAM, 64 |
| 94 | & 128) |
| 95 | */ |
| 150 | 96 | |
| 151 | | Keys |
| 152 | | ---- |
| 153 | | Some PC-Keyboards does not behave well when special two or more keys are |
| 154 | | pressed at the same time |
| 155 | | (with my keyboard printscreen clears the pressed pause key!) |
| 156 | 97 | |
| 157 | | when problems start with -log and look into error.log file |
| 158 | | */ |
| 159 | | |
| 160 | 98 | #include "driver.h" |
| 161 | 99 | #include "cpu/m6502/m6509.h" |
| 162 | 100 | #include "sound/sid6581.h" |
| r3213 | r3214 | |
| 172 | 110 | |
| 173 | 111 | #include "includes/cbmb.h" |
| 174 | 112 | |
| 113 | |
| 114 | /************************************* |
| 115 | * |
| 116 | * Main CPU memory handlers |
| 117 | * |
| 118 | *************************************/ |
| 119 | |
| 120 | |
| 175 | 121 | static ADDRESS_MAP_START( cbmb_readmem , ADDRESS_SPACE_PROGRAM, 8) |
| 176 | 122 | AM_RANGE(0x00000, 0xf07ff) AM_READ( SMH_RAM ) |
| 177 | 123 | #if 0 |
| r3213 | r3214 | |
| 219 | 165 | AM_RANGE(0xfe000, 0xfffff) AM_WRITE( SMH_ROM) AM_BASE( &cbmb_kernal ) |
| 220 | 166 | ADDRESS_MAP_END |
| 221 | 167 | |
| 222 | | static ADDRESS_MAP_START( cbm500_readmem , ADDRESS_SPACE_PROGRAM, 8) |
| 168 | static ADDRESS_MAP_START( p500_readmem , ADDRESS_SPACE_PROGRAM, 8) |
| 223 | 169 | AM_RANGE(0x00000, 0xf07ff) AM_READ( SMH_RAM ) |
| 224 | 170 | #if 0 |
| 225 | 171 | AM_RANGE(0xf0800, 0xf0fff) AM_READ( SMH_ROM ) |
| r3213 | r3214 | |
| 243 | 189 | AM_RANGE(0xfe000, 0xfffff) AM_READ( SMH_ROM ) |
| 244 | 190 | ADDRESS_MAP_END |
| 245 | 191 | |
| 246 | | static ADDRESS_MAP_START( cbm500_writemem , ADDRESS_SPACE_PROGRAM, 8) |
| 192 | static ADDRESS_MAP_START( p500_writemem , ADDRESS_SPACE_PROGRAM, 8) |
| 247 | 193 | AM_RANGE(0x00000, 0x1ffff) AM_WRITE( SMH_RAM ) |
| 248 | 194 | AM_RANGE(0x20000, 0x2ffff) AM_WRITE( SMH_NOP ) |
| 249 | 195 | AM_RANGE(0x30000, 0x7ffff) AM_WRITE( SMH_RAM ) |
| r3213 | r3214 | |
| 275 | 221 | *************************************/ |
| 276 | 222 | |
| 277 | 223 | |
| 278 | | static INPUT_PORTS_START (cbm500) |
| 224 | static INPUT_PORTS_START( p500 ) |
| 279 | 225 | PORT_INCLUDE( cbmb_keyboard ) /* ROW0 -> ROW11 */ |
| 280 | 226 | |
| 281 | 227 | PORT_INCLUDE( cbmb_special ) /* SPECIAL */ |
| r3213 | r3214 | |
| 286 | 232 | INPUT_PORTS_END |
| 287 | 233 | |
| 288 | 234 | |
| 289 | | static INPUT_PORTS_START (cbm600) |
| 290 | | PORT_INCLUDE( cbm500 ) |
| 235 | static INPUT_PORTS_START( cbm600 ) |
| 236 | PORT_INCLUDE( p500 ) |
| 291 | 237 | |
| 292 | 238 | PORT_MODIFY("ROW0") |
| 293 | 239 | PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_NAME("Graph Norm") PORT_CODE(KEYCODE_PGUP) |
| r3213 | r3214 | |
| 295 | 241 | INPUT_PORTS_END |
| 296 | 242 | |
| 297 | 243 | |
| 298 | | static INPUT_PORTS_START (cbm600pal) |
| 299 | | PORT_INCLUDE( cbm500 ) |
| 244 | static INPUT_PORTS_START( cbm600pal ) |
| 245 | PORT_INCLUDE( p500 ) |
| 300 | 246 | |
| 301 | 247 | PORT_MODIFY("ROW0") |
| 302 | 248 | PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_NAME("Graph Norm") PORT_CODE(KEYCODE_HOME) |
| r3213 | r3214 | |
| 304 | 250 | INPUT_PORTS_END |
| 305 | 251 | |
| 306 | 252 | |
| 307 | | static INPUT_PORTS_START (cbm700) |
| 308 | | PORT_INCLUDE( cbm500 ) |
| 253 | static INPUT_PORTS_START( cbm700 ) |
| 254 | PORT_INCLUDE( p500 ) |
| 309 | 255 | |
| 310 | 256 | PORT_MODIFY("ROW0") |
| 311 | 257 | PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_NAME("RVS Off") PORT_CODE(KEYCODE_HOME) |
| r3213 | r3214 | |
| 314 | 260 | |
| 315 | 261 | |
| 316 | 262 | |
| 263 | /************************************* |
| 264 | * |
| 265 | * Graphics definitions |
| 266 | * |
| 267 | *************************************/ |
| 268 | |
| 269 | |
| 317 | 270 | static const unsigned char cbm700_palette[] = |
| 318 | 271 | { |
| 319 | 272 | 0,0,0, /* black */ |
| r3213 | r3214 | |
| 373 | 326 | } |
| 374 | 327 | } |
| 375 | 328 | |
| 376 | | ROM_START (cbm610) |
| 377 | | ROM_REGION (0x100000, "main", 0) |
| 378 | | ROM_LOAD ("901243.04a", 0xf8000, 0x2000, CRC(b0dcb56d) SHA1(08d333208060ee2ce84d4532028d94f71c016b96)) |
| 379 | | ROM_LOAD ("901242.04a", 0xfa000, 0x2000, CRC(de04ea4f) SHA1(7c6de17d46a3343dc597d9b9519cf63037b31908)) |
| 380 | | ROM_LOAD ("901244.04a", 0xfe000, 0x2000, CRC(09a5667e) SHA1(abb26418b9e1614a8f52bdeee0822d4a96071439)) |
| 381 | | ROM_REGION (0x2000, "gfx1", 0) |
| 382 | | ROM_LOAD ("901237.01", 0x0000, 0x1000, CRC(1acf5098) SHA1(e63bf18da48e5a53c99ef127c1ae721333d1d102)) |
| 383 | | ROM_END |
| 384 | 329 | |
| 385 | | ROM_START (cbm620) |
| 386 | | ROM_REGION (0x100000, "main", 0) |
| 387 | | ROM_LOAD ("901241.03", 0xf8000, 0x2000, CRC(5c1f3347) SHA1(2d46be2cd89594b718cdd0a86d51b6f628343f42)) |
| 388 | | ROM_LOAD ("901240.03", 0xfa000, 0x2000, CRC(72aa44e1) SHA1(0d7f77746290afba8d0abeb87c9caab9a3ad89ce)) |
| 389 | | ROM_LOAD ("901244.04a", 0xfe000, 0x2000, CRC(09a5667e) SHA1(abb26418b9e1614a8f52bdeee0822d4a96071439)) |
| 390 | | ROM_REGION (0x2000, "gfx1", 0) |
| 391 | | ROM_LOAD ("901237.01", 0x0000, 0x1000, CRC(1acf5098) SHA1(e63bf18da48e5a53c99ef127c1ae721333d1d102)) |
| 392 | | ROM_END |
| 393 | | |
| 394 | | ROM_START (cbm620hu) |
| 395 | | ROM_REGION (0x100000, "main", 0) |
| 396 | | ROM_LOAD ("610u60.bin", 0xf8000, 0x4000, CRC(8eed0d7e) SHA1(9d06c5c3c012204eaaef8b24b1801759b62bf57e)) |
| 397 | | ROM_LOAD ("kernhun.bin", 0xfe000, 0x2000, CRC(0ea8ca4d) SHA1(9977c9f1136ee9c04963e0b50ae0c056efa5663f)) |
| 398 | | ROM_REGION (0x2000, "gfx1", 0) |
| 399 | | ROM_LOAD ("charhun.bin", 0x0000, 0x2000, CRC(1fb5e596) SHA1(3254e069f8691b30679b19a9505b6afdfedce6ac)) |
| 400 | | ROM_END |
| 401 | | |
| 402 | | ROM_START (cbm710) |
| 403 | | ROM_REGION (0x100000, "main", 0) |
| 404 | | ROM_LOAD ("901243.04a", 0xf8000, 0x2000, CRC(b0dcb56d) SHA1(08d333208060ee2ce84d4532028d94f71c016b96)) |
| 405 | | ROM_LOAD ("901242.04a", 0xfa000, 0x2000, CRC(de04ea4f) SHA1(7c6de17d46a3343dc597d9b9519cf63037b31908)) |
| 406 | | ROM_LOAD ("901244.04a", 0xfe000, 0x2000, CRC(09a5667e) SHA1(abb26418b9e1614a8f52bdeee0822d4a96071439)) |
| 407 | | ROM_REGION (0x2000, "gfx1", 0) |
| 408 | | ROM_LOAD ("901232.01", 0x0000, 0x1000, CRC(3a350bc3) SHA1(e7f3cbc8e282f79a00c3e95d75c8d725ee3c6287)) |
| 409 | | ROM_END |
| 410 | | |
| 411 | | ROM_START (cbm720) |
| 412 | | ROM_REGION (0x100000, "main", 0) |
| 413 | | ROM_LOAD ("901241.03", 0xf8000, 0x2000, CRC(5c1f3347) SHA1(2d46be2cd89594b718cdd0a86d51b6f628343f42)) |
| 414 | | ROM_LOAD ("901240.03", 0xfa000, 0x2000, CRC(72aa44e1) SHA1(0d7f77746290afba8d0abeb87c9caab9a3ad89ce)) |
| 415 | | ROM_LOAD ("901244.04a", 0xfe000, 0x2000, CRC(09a5667e) SHA1(abb26418b9e1614a8f52bdeee0822d4a96071439)) |
| 416 | | ROM_REGION (0x2000, "gfx1", 0) |
| 417 | | ROM_LOAD ("901232.01", 0x0000, 0x1000, CRC(3a350bc3) SHA1(e7f3cbc8e282f79a00c3e95d75c8d725ee3c6287)) |
| 418 | | ROM_END |
| 419 | | |
| 420 | | ROM_START (cbm720se) |
| 421 | | ROM_REGION (0x100000, "main", 0) |
| 422 | | ROM_LOAD ("901241.03", 0xf8000, 0x2000, CRC(5c1f3347) SHA1(2d46be2cd89594b718cdd0a86d51b6f628343f42)) |
| 423 | | ROM_LOAD ("901240.03", 0xfa000, 0x2000, CRC(72aa44e1) SHA1(0d7f77746290afba8d0abeb87c9caab9a3ad89ce)) |
| 424 | | ROM_LOAD ("901244.03", 0xfe000, 0x2000, CRC(87bc142b) SHA1(fa711f6082741b05a9c80744f5aee68dc8c1dcf4)) |
| 425 | | ROM_REGION (0x2000, "gfx1", 0) |
| 426 | | ROM_LOAD ("901233.03", 0x0000, 0x1000, CRC(09518b19) SHA1(2e28491e31e2c0a3b6db388055216140a637cd09)) |
| 427 | | ROM_END |
| 428 | | |
| 429 | | |
| 430 | | ROM_START (cbm500) |
| 431 | | ROM_REGION (0x101000, "main", 0) |
| 432 | | ROM_LOAD ("901236.02", 0xf8000, 0x2000, CRC(c62ab16f) SHA1(f50240407bade901144f7e9f489fa9c607834eca)) |
| 433 | | ROM_LOAD ("901235.02", 0xfa000, 0x2000, CRC(20b7df33) SHA1(1b9a55f12f8cf025754d8029cc5324b474c35841)) |
| 434 | | ROM_LOAD ("901234.02", 0xfe000, 0x2000, CRC(f46bbd2b) SHA1(097197d4d08e0b82e0466a5f1fbd49a24f3d2523)) |
| 435 | | ROM_LOAD ("901225.01", 0x100000, 0x1000, CRC(ec4272ee) SHA1(adc7c31e18c7c7413d54802ef2f4193da14711aa)) |
| 436 | | ROM_END |
| 437 | | |
| 438 | | #if 0 |
| 439 | | /* in c16 and some other commodore machines: |
| 440 | | cbm version in kernel at 0xff80 (offset 0x3f80) |
| 441 | | 0x80 means pal version */ |
| 442 | | |
| 443 | | /* scrap */ |
| 444 | | /* 0000 1fff --> 0000 |
| 445 | | inverted 2000 |
| 446 | | 2000 3fff --> 4000 |
| 447 | | inverted 6000 */ |
| 448 | | |
| 449 | | /* 128 kb basic version */ |
| 450 | | ROM_LOAD ("b128-8000.901243-02b.bin", 0xf8000, 0x2000, CRC(9d0366f9)) |
| 451 | | ROM_LOAD ("b128-a000.901242-02b.bin", 0xfa000, 0x2000, CRC(837978b5)) |
| 452 | | /* merged df83bbb9 */ |
| 453 | | |
| 454 | | ROM_LOAD ("b128-8000.901243-04a.bin", 0xf8000, 0x2000, CRC(b0dcb56d) SHA1(08d333208060ee2ce84d4532028d94f71c016b96)) |
| 455 | | ROM_LOAD ("b128-a000.901242-04a.bin", 0xfa000, 0x2000, CRC(de04ea4f) SHA1(7c6de17d46a3343dc597d9b9519cf63037b31908)) |
| 456 | | /* merged a8ff9372 */ |
| 457 | | |
| 458 | | /* some additions to 901242-04a */ |
| 459 | | ROM_LOAD ("b128-a000.901242-04_3f.bin", 0xfa000, 0x2000, CRC(5a680d2a)) |
| 460 | | |
| 461 | | /* 256 kbyte basic version */ |
| 462 | | ROM_LOAD ("b256-8000.610u60.bin", 0xf8000, 0x4000, CRC(8eed0d7e) SHA1(9d06c5c3c012204eaaef8b24b1801759b62bf57e)) |
| 463 | | |
| 464 | | ROM_LOAD ("b256-8000.901241-03.bin", 0xf8000, 0x2000, CRC(5c1f3347) SHA1(2d46be2cd89594b718cdd0a86d51b6f628343f42)) |
| 465 | | ROM_LOAD ("b256-a000.901240-03.bin", 0xfa000, 0x2000, CRC(72aa44e1) SHA1(0d7f77746290afba8d0abeb87c9caab9a3ad89ce)) |
| 466 | | /* merged 5db15870 */ |
| 467 | | |
| 468 | | /* monitor instead of tape */ |
| 469 | | ROM_LOAD ("kernal.901244-03b.bin", 0xfe000, 0x2000, CRC(4276dbba)) |
| 470 | | /* modified 03b for usage of vc1541 on tape port ??? */ |
| 471 | | ROM_LOAD ("kernelnew", 0xfe000, 0x2000, CRC(19bf247e)) |
| 472 | | ROM_LOAD ("kernal.901244-04a.bin", 0xfe000, 0x2000, CRC(09a5667e) SHA1(abb26418b9e1614a8f52bdeee0822d4a96071439)) |
| 473 | | ROM_LOAD ("kernal.hungarian.bin", 0xfe000, 0x2000, CRC(0ea8ca4d) SHA1(9977c9f1136ee9c04963e0b50ae0c056efa5663f)) |
| 474 | | |
| 475 | | |
| 476 | | /* 600 8x16 chars for 8x8 size |
| 477 | | 128 ascii, 128 ascii graphics |
| 478 | | inversion logic in hardware */ |
| 479 | | ROM_LOAD ("characters.901237-01.bin", 0x0000, 0x1000, CRC(1acf5098) SHA1(e63bf18da48e5a53c99ef127c1ae721333d1d102)) |
| 480 | | /* packing 128 national, national graphics, ascii, ascii graphics */ |
| 481 | | ROM_LOAD ("characters-hungarian.bin", 0x0000, 0x2000, CRC(1fb5e596) SHA1(3254e069f8691b30679b19a9505b6afdfedce6ac)) |
| 482 | | /* 700 8x16 chars for 9x14 size*/ |
| 483 | | ROM_LOAD ("characters.901232-01.bin", 0x0000, 0x1000, CRC(3a350bc3) SHA1(e7f3cbc8e282f79a00c3e95d75c8d725ee3c6287)) |
| 484 | | |
| 485 | | ROM_LOAD ("vt52emu.bin", 0xf4000, 0x2000, CRC(b3b6173a)) |
| 486 | | /* load address 0xf4000? */ |
| 487 | | ROM_LOAD ("moni.bin", 0xfe000, 0x2000, CRC(43b08d1f)) |
| 488 | | |
| 489 | | ROM_LOAD ("profitext.bin", 0xf2000, 0x2000, CRC(ac622a2b)) |
| 490 | | /* address ?*/ |
| 491 | | ROM_LOAD ("sfd1001-copy-u59.bin", 0xf1000, 0x1000, CRC(1c0fd916)) |
| 492 | | |
| 493 | | ROM_LOAD ("", 0xfe000, 0x2000, CRC()) |
| 494 | | |
| 495 | | /* 500 */ |
| 496 | | /* 128 basic, other colors than cbmb series basic */ |
| 497 | | ROM_LOAD ("basic-lo.901236-02.bin", 0xf8000, 0x2000, CRC(c62ab16f) SHA1(f50240407bade901144f7e9f489fa9c607834eca)) |
| 498 | | ROM_LOAD ("basic-hi.901235-02.bin", 0xfa000, 0x2000, CRC(20b7df33) SHA1(1b9a55f12f8cf025754d8029cc5324b474c35841)) |
| 499 | | /* monitor instead of tape */ |
| 500 | | ROM_LOAD ("kernal.901234-02.bin", 0xfe000, 0x2000, CRC(f46bbd2b) SHA1(097197d4d08e0b82e0466a5f1fbd49a24f3d2523)) |
| 501 | | ROM_LOAD ("characters.901225-01.bin", 0x100000, 0x1000, CRC(ec4272ee) SHA1(adc7c31e18c7c7413d54802ef2f4193da14711aa)) |
| 502 | | |
| 503 | | #endif |
| 504 | | |
| 505 | 330 | static const mc6845_interface cbm600_crtc = { |
| 506 | 331 | "main", |
| 507 | 332 | XTAL_18MHz / 8 /*?*/, /* I do not know if this is correct, please verify */ |
| r3213 | r3214 | |
| 527 | 352 | }; |
| 528 | 353 | |
| 529 | 354 | |
| 355 | /************************************* |
| 356 | * |
| 357 | * Machine driver |
| 358 | * |
| 359 | *************************************/ |
| 360 | |
| 361 | |
| 530 | 362 | static MACHINE_DRIVER_START( cbm600 ) |
| 531 | 363 | /* basic machine hardware */ |
| 532 | 364 | MDRV_CPU_ADD("main", M6509, 7833600) /* 7.8336 Mhz */ |
| r3213 | r3214 | |
| 570 | 402 | |
| 571 | 403 | |
| 572 | 404 | static MACHINE_DRIVER_START( cbm700 ) |
| 573 | | MDRV_IMPORT_FROM( cbm600pal ) |
| 405 | MDRV_IMPORT_FROM( cbm600 ) |
| 574 | 406 | MDRV_SCREEN_MODIFY("main") |
| 575 | 407 | MDRV_SCREEN_SIZE(720, 350) |
| 576 | 408 | MDRV_SCREEN_VISIBLE_AREA(0, 720 - 1, 0, 350 - 1) |
| r3213 | r3214 | |
| 583 | 415 | MACHINE_DRIVER_END |
| 584 | 416 | |
| 585 | 417 | |
| 586 | | static MACHINE_DRIVER_START( cbm500 ) |
| 418 | static MACHINE_DRIVER_START( cbm700pal ) |
| 419 | MDRV_IMPORT_FROM( cbm700 ) |
| 420 | MDRV_SCREEN_MODIFY("main") |
| 421 | MDRV_SCREEN_REFRESH_RATE(50) |
| 422 | MACHINE_DRIVER_END |
| 423 | |
| 424 | |
| 425 | static MACHINE_DRIVER_START( bx256hp ) |
| 426 | MDRV_IMPORT_FROM( cbm700 ) |
| 427 | |
| 428 | // MDRV_CPU_ADD("8088", I8088, /* ? */) |
| 429 | MACHINE_DRIVER_END |
| 430 | |
| 431 | |
| 432 | static MACHINE_DRIVER_START( p500 ) |
| 587 | 433 | /* basic machine hardware */ |
| 588 | 434 | MDRV_CPU_ADD("main", M6509, VIC6567_CLOCK) /* 7.8336 Mhz */ |
| 589 | | MDRV_CPU_PROGRAM_MAP(cbm500_readmem, cbm500_writemem) |
| 435 | MDRV_CPU_PROGRAM_MAP(p500_readmem, p500_writemem) |
| 590 | 436 | MDRV_CPU_PERIODIC_INT(vic2_raster_irq, VIC6567_HRETRACERATE) |
| 591 | 437 | MDRV_INTERLEAVE(0) |
| 592 | 438 | |
| r3213 | r3214 | |
| 604 | 450 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25) |
| 605 | 451 | |
| 606 | 452 | /* devices */ |
| 607 | | MDRV_QUICKLOAD_ADD(cbm500, "p00,prg", CBM_QUICKLOAD_DELAY_SECONDS) |
| 453 | MDRV_QUICKLOAD_ADD(p500, "p00,prg", CBM_QUICKLOAD_DELAY_SECONDS) |
| 608 | 454 | MACHINE_DRIVER_END |
| 609 | 455 | |
| 610 | 456 | |
| 457 | |
| 458 | /************************************* |
| 459 | * |
| 460 | * ROM definition(s) |
| 461 | * |
| 462 | *************************************/ |
| 463 | |
| 464 | |
| 465 | /* Low Profile Series - CBM 600 Series */ |
| 466 | /* chargen: 8x16 chars for 8x8 size; 128 ascii, 128 ascii graphics; inversion logic in hardware */ |
| 467 | |
| 468 | ROM_START( b500 ) |
| 469 | ROM_REGION( 0x100000, "main", 0 ) |
| 470 | ROM_LOAD( "901243-01.u59", 0xf8000, 0x2000, CRC(22822706) SHA1(901bbf59d8b8682b481be8b2de99b406fffa4bab) ) |
| 471 | ROM_LOAD( "901242-01a.u60", 0xfa000, 0x2000, CRC(ef13d595) SHA1(2fb72985d7d4ab69c5780179178828c931a9f5b0) ) |
| 472 | ROM_LOAD( "901244-01.u61", 0xfe000, 0x2000, CRC(93414213) SHA1(a54a593dbb420ae1ac39b0acde9348160f7840ff) ) |
| 473 | |
| 474 | ROM_REGION( 0x2000, "gfx1", 0 ) |
| 475 | ROM_LOAD( "901237-01.u25", 0x0000, 0x1000, CRC(1acf5098) SHA1(e63bf18da48e5a53c99ef127c1ae721333d1d102) ) |
| 476 | ROM_END |
| 477 | |
| 478 | ROM_START( b128 ) |
| 479 | ROM_REGION( 0x100000, "main", 0 ) |
| 480 | ROM_SYSTEM_BIOS( 0, "default", "BASIC 4.0 r" ) |
| 481 | ROMX_LOAD( "901243-04a.u59", 0xf8000, 0x2000, CRC(b0dcb56d) SHA1(08d333208060ee2ce84d4532028d94f71c016b96), ROM_BIOS(1) ) |
| 482 | ROMX_LOAD( "901242-04a.u60", 0xfa000, 0x2000, CRC(de04ea4f) SHA1(7c6de17d46a3343dc597d9b9519cf63037b31908), ROM_BIOS(1) ) |
| 483 | ROMX_LOAD( "901244-04a.u61", 0xfe000, 0x2000, CRC(09a5667e) SHA1(abb26418b9e1614a8f52bdeee0822d4a96071439), ROM_BIOS(1) ) |
| 484 | ROM_SYSTEM_BIOS( 1, "older", "BASIC 4.0" ) |
| 485 | ROMX_LOAD( "901243-02b.u59", 0xf8000, 0x2000, CRC(9d0366f9) SHA1(625f7337ea972a8bce2bdf2daababc0ed0b3b69b), ROM_BIOS(2) ) |
| 486 | ROMX_LOAD( "901242-02b.u60", 0xfa000, 0x2000, CRC(837978b5) SHA1(56e8d2f86bf73ba36b3d3cb84dd75806b66c530a), ROM_BIOS(2) ) |
| 487 | ROMX_LOAD( "901244-03b.u61", 0xfe000, 0x2000, CRC(4276dbba) SHA1(a624899c236bc4458570144d25aaf0b3be08b2cd), ROM_BIOS(2) ) |
| 488 | |
| 489 | ROM_REGION( 0x2000, "gfx1", 0 ) |
| 490 | ROM_LOAD( "901237-01.u25", 0x0000, 0x1000, CRC(1acf5098) SHA1(e63bf18da48e5a53c99ef127c1ae721333d1d102) ) |
| 491 | ROM_END |
| 492 | |
| 493 | ROM_START( b256 ) |
| 494 | ROM_REGION( 0x100000, "main", 0 ) |
| 495 | ROM_LOAD( "901241-03.u59", 0xf8000, 0x2000, CRC(5c1f3347) SHA1(2d46be2cd89594b718cdd0a86d51b6f628343f42) ) |
| 496 | ROM_LOAD( "901240-03.u60", 0xfa000, 0x2000, CRC(72aa44e1) SHA1(0d7f77746290afba8d0abeb87c9caab9a3ad89ce) ) |
| 497 | ROM_SYSTEM_BIOS( 0, "default", "BASIC 4.0 r" ) |
| 498 | ROMX_LOAD( "901244-04a.u61", 0xfe000, 0x2000, CRC(09a5667e) SHA1(abb26418b9e1614a8f52bdeee0822d4a96071439), ROM_BIOS(1) ) |
| 499 | ROM_SYSTEM_BIOS( 1, "older", "BASIC 4.0" ) |
| 500 | ROMX_LOAD( "901244-03b.u61", 0xfe000, 0x2000, CRC(4276dbba) SHA1(a624899c236bc4458570144d25aaf0b3be08b2cd), ROM_BIOS(2) ) |
| 501 | |
| 502 | ROM_REGION( 0x2000, "gfx1", 0 ) |
| 503 | ROM_LOAD( "901237-01.u25", 0x0000, 0x1000, CRC(1acf5098) SHA1(e63bf18da48e5a53c99ef127c1ae721333d1d102) ) |
| 504 | ROM_END |
| 505 | |
| 506 | |
| 507 | #define rom_cbm610 rom_b128 |
| 508 | #define rom_cbm620 rom_b256 |
| 509 | |
| 510 | |
| 511 | ROM_START( cbm620hu ) |
| 512 | ROM_REGION( 0x100000, "main", 0 ) |
| 513 | ROM_LOAD( "610.u60", 0xf8000, 0x4000, CRC(8eed0d7e) SHA1(9d06c5c3c012204eaaef8b24b1801759b62bf57e) ) |
| 514 | ROM_LOAD( "kernhun.bin", 0xfe000, 0x2000, CRC(0ea8ca4d) SHA1(9977c9f1136ee9c04963e0b50ae0c056efa5663f) ) |
| 515 | |
| 516 | ROM_REGION( 0x2000, "gfx1", 0 ) |
| 517 | ROM_LOAD( "charhun.bin", 0x0000, 0x2000, CRC(1fb5e596) SHA1(3254e069f8691b30679b19a9505b6afdfedce6ac) ) |
| 518 | ROM_END |
| 519 | |
| 520 | |
| 521 | /* High Profile Series - CBM 700 Series */ |
| 522 | /* chargen: 8x16 chars for 9x14 size */ |
| 523 | |
| 524 | ROM_START( b128hp ) |
| 525 | ROM_REGION( 0x100000, "main", 0 ) |
| 526 | ROM_SYSTEM_BIOS( 0, "default", "BASIC 4.0 r" ) |
| 527 | ROMX_LOAD( "901243-04a.u59", 0xf8000, 0x2000, CRC(b0dcb56d) SHA1(08d333208060ee2ce84d4532028d94f71c016b96), ROM_BIOS(1) ) |
| 528 | ROMX_LOAD( "901242-04a.u60", 0xfa000, 0x2000, CRC(de04ea4f) SHA1(7c6de17d46a3343dc597d9b9519cf63037b31908), ROM_BIOS(1) ) |
| 529 | ROMX_LOAD( "901244-04a.u61", 0xfe000, 0x2000, CRC(09a5667e) SHA1(abb26418b9e1614a8f52bdeee0822d4a96071439), ROM_BIOS(1) ) |
| 530 | ROM_SYSTEM_BIOS( 1, "older", "BASIC 4.0" ) |
| 531 | ROMX_LOAD( "901243-02b.u59", 0xf8000, 0x2000, CRC(9d0366f9) SHA1(625f7337ea972a8bce2bdf2daababc0ed0b3b69b), ROM_BIOS(2) ) |
| 532 | ROMX_LOAD( "901242-02b.u60", 0xfa000, 0x2000, CRC(837978b5) SHA1(56e8d2f86bf73ba36b3d3cb84dd75806b66c530a), ROM_BIOS(2) ) |
| 533 | ROMX_LOAD( "901244-03b.u61", 0xfe000, 0x2000, CRC(4276dbba) SHA1(a624899c236bc4458570144d25aaf0b3be08b2cd), ROM_BIOS(2) ) |
| 534 | |
| 535 | ROM_REGION( 0x2000, "gfx1", 0 ) |
| 536 | ROM_LOAD( "901232-01.u25", 0x0000, 0x1000, CRC(3a350bc3) SHA1(e7f3cbc8e282f79a00c3e95d75c8d725ee3c6287) ) |
| 537 | ROM_END |
| 538 | |
| 539 | ROM_START( b256hp ) |
| 540 | ROM_REGION( 0x100000, "main", 0 ) |
| 541 | ROM_LOAD( "901241-03.u59", 0xf8000, 0x2000, CRC(5c1f3347) SHA1(2d46be2cd89594b718cdd0a86d51b6f628343f42) ) |
| 542 | ROM_LOAD( "901240-03.u60", 0xfa000, 0x2000, CRC(72aa44e1) SHA1(0d7f77746290afba8d0abeb87c9caab9a3ad89ce) ) |
| 543 | ROM_SYSTEM_BIOS( 0, "default", "BASIC 4.0 r" ) |
| 544 | ROMX_LOAD( "901244-04a.u61", 0xfe000, 0x2000, CRC(09a5667e) SHA1(abb26418b9e1614a8f52bdeee0822d4a96071439), ROM_BIOS(1) ) |
| 545 | ROM_SYSTEM_BIOS( 1, "older", "BASIC 4.0" ) |
| 546 | ROMX_LOAD( "901244-03b.u61", 0xfe000, 0x2000, CRC(4276dbba) SHA1(a624899c236bc4458570144d25aaf0b3be08b2cd), ROM_BIOS(2) ) |
| 547 | |
| 548 | ROM_REGION( 0x2000, "gfx1", 0 ) |
| 549 | ROM_LOAD( "901232-01.u25", 0x0000, 0x1000, CRC(3a350bc3) SHA1(e7f3cbc8e282f79a00c3e95d75c8d725ee3c6287) ) |
| 550 | ROM_END |
| 551 | |
| 552 | #define rom_cbm710 rom_b128hp |
| 553 | #define rom_cbm720 rom_b256hp |
| 554 | |
| 555 | |
| 556 | /* BX-256HP - only ROM loading added */ |
| 557 | ROM_START( bx256hp ) |
| 558 | ROM_REGION( 0x100000, "main", 0 ) |
| 559 | ROM_LOAD( "901241-03.u59", 0xf8000, 0x2000, CRC(5c1f3347) SHA1(2d46be2cd89594b718cdd0a86d51b6f628343f42) ) |
| 560 | ROM_LOAD( "901240-03.u60", 0xfa000, 0x2000, CRC(72aa44e1) SHA1(0d7f77746290afba8d0abeb87c9caab9a3ad89ce) ) |
| 561 | ROM_SYSTEM_BIOS( 0, "default", "BASIC 4.0 r" ) |
| 562 | ROMX_LOAD( "901244-04a.u61", 0xfe000, 0x2000, CRC(09a5667e) SHA1(abb26418b9e1614a8f52bdeee0822d4a96071439), ROM_BIOS(1) ) |
| 563 | ROM_SYSTEM_BIOS( 1, "older", "BASIC 4.0" ) |
| 564 | ROMX_LOAD( "901244-03b.u61", 0xfe000, 0x2000, CRC(4276dbba) SHA1(a624899c236bc4458570144d25aaf0b3be08b2cd), ROM_BIOS(2) ) |
| 565 | |
| 566 | ROM_REGION( 0x1000, "8088", 0) |
| 567 | ROM_LOAD( "8088.u14", 0x0000, 0x1000, CRC(195e0281) SHA1(ce8acd2a5fb6cbd70d837811d856d656544a1f97) ) |
| 568 | |
| 569 | ROM_REGION( 0x2000, "gfx1", 0 ) |
| 570 | ROM_LOAD( "901232-01.u25", 0x0000, 0x1000, CRC(3a350bc3) SHA1(e7f3cbc8e282f79a00c3e95d75c8d725ee3c6287) ) |
| 571 | ROM_END |
| 572 | |
| 573 | ROM_START( cbm720se ) |
| 574 | ROM_REGION( 0x100000, "main", 0 ) |
| 575 | ROM_LOAD( "901241-03.u59", 0xf8000, 0x2000, CRC(5c1f3347) SHA1(2d46be2cd89594b718cdd0a86d51b6f628343f42) ) |
| 576 | ROM_LOAD( "901240-03.u60", 0xfa000, 0x2000, CRC(72aa44e1) SHA1(0d7f77746290afba8d0abeb87c9caab9a3ad89ce) ) |
| 577 | ROM_LOAD( "swe-901244-03.u61", 0xfe000, 0x2000, CRC(87bc142b) SHA1(fa711f6082741b05a9c80744f5aee68dc8c1dcf4) ) |
| 578 | |
| 579 | ROM_REGION( 0x2000, "gfx1", 0 ) |
| 580 | ROM_LOAD( "901233-03.u25", 0x0000, 0x1000, CRC(09518b19) SHA1(2e28491e31e2c0a3b6db388055216140a637cd09) ) |
| 581 | ROM_END |
| 582 | |
| 583 | ROM_START( p500 ) |
| 584 | ROM_REGION( 0x101000, "main", 0 ) |
| 585 | ROM_SYSTEM_BIOS(0, "default", "BASIC 4.0 new" ) |
| 586 | ROMX_LOAD( "901236-02.bin", 0xf8000, 0x2000, CRC(c62ab16f) SHA1(f50240407bade901144f7e9f489fa9c607834eca), ROM_BIOS(1) ) |
| 587 | ROMX_LOAD( "901235-02.bin", 0xfa000, 0x2000, CRC(20b7df33) SHA1(1b9a55f12f8cf025754d8029cc5324b474c35841), ROM_BIOS(1) ) |
| 588 | ROMX_LOAD( "901234-02.bin", 0xfe000, 0x2000, CRC(f46bbd2b) SHA1(097197d4d08e0b82e0466a5f1fbd49a24f3d2523), ROM_BIOS(1) ) |
| 589 | ROM_SYSTEM_BIOS(1, "old", "BASIC 4.0 old" ) |
| 590 | ROMX_LOAD( "901236-01.bin", 0xf8000, 0x2000, CRC(33eb6aa2) SHA1(7e3497ae2edbb38c753bd31ed1bf3ae798c9a976), ROM_BIOS(2) ) |
| 591 | ROMX_LOAD( "901235-01.bin", 0xfa000, 0x2000, CRC(18a27feb) SHA1(951b5370dd7db762b8504a141f9f26de345069bb), ROM_BIOS(2) ) |
| 592 | ROMX_LOAD( "901234-01.bin", 0xfe000, 0x2000, CRC(67962025) SHA1(24b41b65c85bf30ab4e2911f677ce9843845b3b1), ROM_BIOS(2) ) |
| 593 | |
| 594 | ROM_LOAD( "901225-01.bin", 0x100000, 0x1000, CRC(ec4272ee) SHA1(adc7c31e18c7c7413d54802ef2f4193da14711aa) ) |
| 595 | ROM_END |
| 596 | |
| 597 | |
| 598 | |
| 599 | /************************************* |
| 600 | * |
| 601 | * System configuration(s) |
| 602 | * |
| 603 | *************************************/ |
| 604 | |
| 605 | |
| 611 | 606 | static SYSTEM_CONFIG_START(cbmb) |
| 612 | 607 | CONFIG_DEVICE(cbmb_cartslot_getinfo) |
| 613 | 608 | SYSTEM_CONFIG_END |
| 614 | 609 | |
| 615 | | static SYSTEM_CONFIG_START(cbm500) |
| 610 | static SYSTEM_CONFIG_START(p500) |
| 616 | 611 | CONFIG_DEVICE(cbmb_cartslot_getinfo) |
| 617 | 612 | SYSTEM_CONFIG_END |
| 618 | 613 | |
| 619 | | /* YEAR NAME PARENT COMPAT MACHINE INPUT INIT CONFIG COMPANY FULLNAME */ |
| 620 | | COMP (1983, cbm500, 0, 0, cbm500, cbm500, cbm500, cbm500, "Commodore Business Machines Co.", "Commodore B128-40/Pet-II/P500 60Hz", GAME_NOT_WORKING) |
| 621 | | COMP (1983, cbm610, 0, 0, cbm600, cbm600, cbm600, cbmb, "Commodore Business Machines Co.", "Commodore B128-80LP/610 60Hz", GAME_NOT_WORKING) |
| 622 | | COMP (1983, cbm620, cbm610, 0, cbm600pal, cbm600pal, cbm600pal, cbmb, "Commodore Business Machines Co.", "Commodore B256-80LP/620 50Hz", GAME_NOT_WORKING) |
| 623 | | COMP (1983, cbm620hu, cbm610, 0, cbm600pal, cbm600pal, cbm600hu, cbmb, "Commodore Business Machines Co.", "Commodore B256-80LP/620 Hungarian 50Hz", GAME_NOT_WORKING) |
| 624 | | COMP (1983, cbm710, cbm610, 0, cbm700, cbm700, cbm700, cbmb, "Commodore Business Machines Co.", "Commodore B128-80HP/710", GAME_NOT_WORKING) |
| 625 | | COMP (1983, cbm720, cbm610, 0, cbm700, cbm700, cbm700, cbmb, "Commodore Business Machines Co.", "Commodore B256-80HP/720", GAME_NOT_WORKING) |
| 626 | | COMP (1983, cbm720se, cbm610, 0, cbm700, cbm700, cbm700, cbmb, "Commodore Business Machines Co.", "Commodore B256-80HP/720 Swedish/Finnish", GAME_NOT_WORKING) |
| 614 | |
| 615 | /*************************************************************************** |
| 616 | |
| 617 | Game driver(s) |
| 618 | |
| 619 | ***************************************************************************/ |
| 620 | |
| 621 | /* YEAR NAME PARENT COMPAT MACHINE INPUT INIT CONFIG COMPANY FULLNAME */ |
| 622 | |
| 623 | COMP( 1983, b500, cbm610, 0, cbm600, cbm600, cbm600, cbmb, "Commodore Business Machines Co.", "B500 (proto, 60Hz)", GAME_NOT_WORKING) |
| 624 | COMP( 1983, b128, cbm610, 0, cbm600pal, cbm600pal, cbm600pal, cbmb, "Commodore Business Machines Co.", "B128 (60Hz)", GAME_NOT_WORKING) |
| 625 | COMP( 1983, b256, cbm610, 0, cbm600pal, cbm600pal, cbm600hu, cbmb, "Commodore Business Machines Co.", "B256 (60Hz)", GAME_NOT_WORKING) |
| 626 | COMP( 1983, cbm610, 0, 0, cbm600, cbm600, cbm600, cbmb, "Commodore Business Machines Co.", "CBM 610 (50Hz)", GAME_NOT_WORKING) |
| 627 | COMP( 1983, cbm620, cbm610, 0, cbm600pal, cbm600pal, cbm600pal, cbmb, "Commodore Business Machines Co.", "CBM 620 (50Hz)", GAME_NOT_WORKING) |
| 628 | COMP( 1983, cbm620hu, cbm610, 0, cbm600pal, cbm600pal, cbm600hu, cbmb, "Commodore Business Machines Co.", "CBM 620 (Hungary, 50Hz)", GAME_NOT_WORKING) |
| 629 | |
| 630 | COMP( 1983, b128hp, cbm610, 0, cbm700, cbm700, cbm700, cbmb, "Commodore Business Machines Co.", "B128-80HP (60Hz)", GAME_NOT_WORKING) |
| 631 | COMP( 1983, b256hp, cbm610, 0, cbm700, cbm700, cbm700, cbmb, "Commodore Business Machines Co.", "B256-80HP (60Hz)", GAME_NOT_WORKING) |
| 632 | COMP( 1983, cbm710, cbm610, 0, cbm700pal, cbm700, cbm700, cbmb, "Commodore Business Machines Co.", "CBM 710 (50Hz)", GAME_NOT_WORKING) |
| 633 | COMP( 1983, cbm720, cbm610, 0, cbm700pal, cbm700, cbm700, cbmb, "Commodore Business Machines Co.", "CBM 720 (50Hz)", GAME_NOT_WORKING) |
| 634 | COMP( 1983, cbm720se, cbm610, 0, cbm700pal, cbm700, cbm700, cbmb, "Commodore Business Machines Co.", "CBM 720 (Sweden/Finland, 50Hz)", GAME_NOT_WORKING) |
| 635 | |
| 636 | COMP( 1983, bx256hp, cbm610, 0, bx256hp, cbm700, cbm700, cbmb, "Commodore Business Machines Co.", "BX256-80HP (60Hz)", GAME_NOT_WORKING) |
| 637 | |
| 638 | COMP( 1983, p500, 0, 0, p500, p500, p500, p500, "Commodore Business Machines Co.", "P500 (proto, a.k.a. B128-40 or Pet-II)", GAME_NOT_WORKING) |
src/mess/drivers/pet.c
| r3213 | r3214 | |
| 11 | 11 | ***************************************************************************/ |
| 12 | 12 | |
| 13 | 13 | /* |
| 14 | | PET 2000 Series:Renamed to CBM 20XX, XX = RAM, when Philips forbid PET use. |
| 15 | | Most CBM renamed units powered up in lowercase and had a |
| 16 | | different keyboard config, while the PET machines booted in |
| 17 | | uppercase. B and N notation alternately put after RAM amount |
| 18 | | in name (PET 2001B-32 = PET 2001-32B) |
| 19 | | Black (B) or Blue (N) Trim, 9" (9) or 12" (2) screen, |
| 20 | | Built-In Cassette with Chiclet Keys (C), |
| 21 | | Business Style Keyboard with No Graphics on Keys (K), or |
| 22 | | Home Computer with Number Keys and Graphics on Keys (H), |
| 23 | | Green/White screen (G) or Black/White screen (W) |
| 24 | | * PET 2001-4K 4kB, CB GP |
| 25 | | * PET 2001-8K 8kB, CN9 GP |
| 26 | | * PET 2001-8C 8kB, CN9W, SN#0620733, No "WAIT 6502,X" GL |
| 27 | | * PET 2001-8C 8kB, CB9G, SN#0629836, No "WAIT 6502,X" GL |
| 28 | | PET 2001-16K 16kB, CN9 |
| 29 | | PET 2001-32K 32kB, CN9 |
| 30 | | PET 2001B-8 8kB, K2 |
| 31 | | PET 2001B-16 16kB, K2 |
| 32 | | PET 2001B-32 32kB, BK9W, boots in lowercase RB |
| 33 | | PET 2001B-32 32kB, K2 |
| 34 | | PET 2001N-8 8kB, H2 |
| 35 | | * PET 2001N-16 16kB, H9 CH |
| 36 | | PET 2001N-16 16kB, H2 |
| 37 | | * PET 2001N-32 32kB, H, BASIC 4.0, CS |
| 38 | | * PET 2001NT Teacher's PET. Same as 2001N, just rebadged |
| 39 | | * MDS 6500 Modified 2001N-32 with matching 2040 drive. 500 made. GP |
| 40 | 14 | |
| 41 | | CBM 3000 Series: 40 Col. Screen, BASIC 2.0-2.3, Same Board as Thin 4000 |
| 42 | | 3001 series in Germany were just 2001's with big Keyboard. |
| 43 | | * CBM 3008 8kB, 9" Screen. EG |
| 44 | | * CBM 3016 16kB |
| 45 | | * CBM 3032 32kB. SL |
| 15 | 2008 - Driver Updates |
| 16 | --------------------- |
| 46 | 17 | |
| 47 | | CBM 4000 Thin Series: 9" Screen, 40 Column Only, Basic 4.0. |
| 48 | | CBM 4000 Fat Series: 12" Screen, Upgradeable to 80 Column, When upgraded |
| 49 | | to 80 Columns, the systems were 8000's. |
| 50 | | CBM 4004 4kB, One Piece. |
| 51 | | * CBM 4008 8kB, One Piece. SF |
| 52 | | * CBM 4016 16kB, One Piece. KK |
| 53 | | * CBM 4032 32kB, One Piece JB |
| 54 | | * CBM 4064 Educator 64 in 40XX case. green screen (no Fat option) GP |
| 55 | | CBM 8000 Series:12" Screen, 80 Column, BASIC 4.0 |
| 56 | | SK means "SoftKey", or "Separated Keyboard" All -SK and d |
| 57 | | units were enclosed in CBM 700/B series HP cases. |
| 58 | | CBM 8008 8kB, One Piece |
| 59 | | CBM 8016 16kB, One Piece |
| 60 | | * CBM 8032 32kB, One Piece GP |
| 61 | | * CBM 8032-32 B 8032 in Higher Profile case (HP). Could install LP drives. GP |
| 62 | | * CBM 8032 SK 32kB, Detached Keyboard, SK = SoftKey or Separated Keyboard.EG |
| 63 | | CBM 8096 96kB, 8032 with 64kB ram card |
| 64 | | * CBM 8096 SK 96kB, Detached Keyboard. |
| 65 | | * CBM 8096d 8096 + 8250LP SL |
| 66 | | * CBM 8296 128kB, Detached Keyboard, Brown like 64, LOS-96 OS TL |
| 67 | | * CBM 8296d 8296 + 8250LP SL |
| 68 | | * "CASSIE" Synergistics Inc. rebadged 8032 AH |
| 18 | (most of the informations are taken from http://www.zimmers.net/cbmpics/ ) |
| 19 | (also, check |
| 20 | http://www.6502.org/users/andre/petindex/local/cbm-model-list.1.0.txt |
| 21 | for a more comprehensive list of models) |
| 69 | 22 | |
| 70 | | SuperPet Series:Sold in Germany as MMF (MicroMainFrame) 9000 |
| 71 | | Machines sold in Italy had 134kB of RAM. |
| 72 | | * CBM SP9000 Dual uP 6502/6809, 96kB RAM, business keyboard. GP |
| 23 | [CBM systems which belong to this driver] |
| 73 | 24 | |
| 74 | | CBM 200 Series |
| 75 | | * CBM 200 CBM 8032 SK VM |
| 76 | | CBM 210 ??? |
| 77 | | * CBM 220 CBM 8096 SK |
| 25 | * Commodore PET 2001 (1977) - board design 1 |
| 26 | * PET 2001 Series / CBM 20XX Series (1979) - board design 2, upgraded ROMs |
| 78 | 27 | |
| 28 | PET 2001, the first of the series came initially with a calculator style |
| 29 | keyboard, later changed to a larger and better full-stroke one (actually |
| 30 | it was available in two versions: Businness and Home Computer, the latter |
| 31 | also containing graphics on the keys). Plenty of models were released in |
| 32 | this series, depending on the RAM size, the keyboard type and the screen |
| 33 | dimension (see below). |
| 79 | 34 | |
| 35 | CPU: MOS 6502 (1 Mhz) |
| 36 | RAM: 4K and 8K early models (Expandable to 32k addressable, more banked); |
| 37 | 8K, 16K, 32K later models (Expandable again to larger RAM config) |
| 38 | ROM: 18 kilobytes early models; 20 kilobytes later ones |
| 39 | Video: MOS Technology 6545 CRTC (9" Monochrome display; 40 columns x 25 |
| 40 | rows ) |
| 41 | Sound: None ine arlier models; Piezo electronic speaker later ones(One |
| 42 | square wave voice; Three octaves) |
| 43 | Ports: MOS 6520 PIA, MOS 6522 VIA (IEEE-488 edge-connector Port; 2 |
| 44 | Commodore Datasette ports; 'EXPANSION' port; CBM parallel |
| 45 | programmable "User" port |
| 46 | Keyboard: "Calculator" 69 key QWERTY in early models and Full 69 keys QWERTY |
| 47 | in later ones (16 key numeric keypad!; 4 direction 2-key cursor-pad ) |
| 48 | Additional hardware: Datasette |
| 80 | 49 | |
| 81 | | basically 3 types of motherboards |
| 82 | | no crtc (only 60 hz?) |
| 83 | | crtc 40 columns ( 50 or 60 hz ) |
| 84 | | crtc 80 columns ( 60 or 60 hz ) |
| 85 | | (board version able to do 40 and 80 columns) |
| 50 | Model Table (*): |
| 86 | 51 | |
| 87 | | There appears to be a 16MHz clock attached to the 6845-type devices. |
| 52 | PET 2001-4K Calculator Keyboard, Black Trim |
| 53 | PET 2001-8K Calculator Keyboard, Blue Trim, 9" Screen |
| 54 | PET 2001-8C Calculator Keyboard, Blue Trim, 9" Screen B&W (**) |
| 55 | PET 2001B-8 Business Keyboard, 12" Screen |
| 56 | PET 2001B-16 Business Keyboard, 12" Screen |
| 57 | PET 2001B-32 Business Keyboard, 12" Screen (***) |
| 58 | PET 2001N-8 Home Computer Keyboard, 12" Screen |
| 59 | PET 2001N-16 Home Computer Keyboard, 9" and 12" Screen |
| 60 | PET 2001N-32 Home Computer Keyboard, BASIC 4.0 |
| 88 | 61 | |
| 89 | | 3 types of basic roms |
| 90 | | basic 1 (only 40 columns, no crtc, with graphics) |
| 91 | | basic 2 (only 40 columns version, no crtc) |
| 92 | | basic 4 |
| 62 | Notes: B&W = Black and White Screen |
| 63 | G&W = Green and White Screen |
| 64 | Calculator Keyboard models also had a built-in datasette |
| 65 | Home Computer Keyboard also features graphics on keys |
| 93 | 66 | |
| 94 | | 2 types of keyboard and roms |
| 95 | | normal (with graphic) (80 columns versions only by 3 parties) |
| 96 | | business |
| 97 | | different mapping/system roms! |
| 67 | (*) Models 2001B-XX & 2001-XXB are the same. Same applies to 2001N-XX & |
| 68 | 2001-XXN |
| 69 | (**) Also confirmed with Black Trim and 9" Screen G&W |
| 70 | (***) Also confirmed with Black Trim and 9" Screen B&W |
| 98 | 71 | |
| 99 | | state |
| 100 | | ----- |
| 101 | | keyboard |
| 102 | | no sound (were available) |
| 103 | | no tape drives |
| 104 | | no ieee488 interface |
| 105 | | no floppy disk support |
| 106 | | quickloader |
| 107 | 72 | |
| 108 | | Keys |
| 109 | | ---- |
| 110 | | Some PC-Keyboards does not behave well when special two or more keys are |
| 111 | | pressed at the same time |
| 112 | | (with my keyboard printscreen clears the pressed pause key!) |
| 73 | * Commodore CBM 3008 / 3016 / 3032 (1979) - board design 2, upgraded ROMs |
| 113 | 74 | |
| 114 | | when problems start with -log and look into error.log file |
| 115 | | */ |
| 75 | In Europe, Philips was already selling a machine called PET, so they |
| 76 | forced Commodore to change name. The result was the CBM 30XX Series, where |
| 77 | XX is equal to the RAM size. These were basically PET models with 9" Screen |
| 78 | and upgraded ROMs. There also existed a German CBM 3001, which was a PET |
| 79 | 2001, B or N. Notice that these systems used to boot |
| 116 | 80 | |
| 81 | CPU: MOS 6502 (1Mhz) |
| 82 | RAM: 8K, 16k, and 32k models (Expandable to even more banked memory) |
| 83 | ROM: 20 Kilobytes |
| 84 | Video: MOS Technology 6545 CRTC (9" Monochrome display; 40 columns x 25 rows) |
| 85 | Sound: Piezo electronic speaker (One square wave voice; Three octaves) |
| 86 | Ports: MOS 6520 PIA, MOS 6522 VIA (IEEE-488 edge-connector Port; 2 Commodore |
| 87 | Datasette ports; 'EXPANSION' port; CBM parallel programmable "User" port) |
| 88 | Keyboard: Full 69 key QWERTY (16 key numeric keypad!; 4 direction 2-key cursor-pad) |
| 89 | |
| 90 | |
| 91 | * Commodore PET 40XX / CBM 40XX (1980) - board design 2, BASIC 4, 9" Screen |
| 92 | * Commodore PET 40XX / CBM 40XX (1981) - board design 3, BASIC 4, 12" Screen |
| 93 | |
| 94 | While the 40XX machines (again 4008, 4016, 4032) coming with design 2 were |
| 95 | quite similar to the previous ones (except for the new BASIC version), the |
| 96 | machines with design 3 were quite different: there was CRTC support, it was |
| 97 | possible to upgrade to 80 cols and a piezo beeper. |
| 98 | |
| 99 | CPU: MOS 6502 (1 Mhz) |
| 100 | RAM: 8K, 16k, and 32k models (Expandable to even more banked memory) |
| 101 | ROM: 20 Kilobytes |
| 102 | Video: MOS Technology 6545 CRTC (9" and 12" Monochrome displays; 40 |
| 103 | columns x 25 rows) |
| 104 | Sound: Piezo electronic speaker (One square wave voice; Three octaves) |
| 105 | Ports: MOS 6520 PIA, MOS 6522 VIA (IEEE-488 edge-connector Port; 2 Commodore |
| 106 | Datasette ports; 'EXPANSION' port; CBM parallel programmable "User" port) |
| 107 | Keyboard: Full 69 key QWERTY (16 key numeric keypad!; 4 direction 2-key cursor-pad) |
| 108 | |
| 109 | |
| 110 | * Commodore PET 8032 / CBM 8032 (1981) - board design 3, BASIC 4, 12" Screen |
| 111 | |
| 112 | Again, 80 columns screen and piezo beeper; BASIC 4 has a 80 columns editor |
| 113 | ROM. It was possible to expand it to a 8096. |
| 114 | |
| 115 | CPU: MOS 6502 (1 mhz) |
| 116 | RAM: 32k standard (Expandable to even more banked memory) |
| 117 | ROM: 20 Kilobytes |
| 118 | Video: MOS Technology 6545 CRTC (12" Monochrome displays; 80 columns x 25 rows) |
| 119 | Sound: Piezo electronic speaker (One square wave voice; Three octaves) |
| 120 | Ports: MOS 6520 PIA, MOS 6522 VIA (IEEE-488 edge-connector Port; 2 Commodore |
| 121 | Datasette ports; 'EXPANSION' port; CBM parallel programmable "User" port) |
| 122 | Keyboard: Full 73 key QWERTY (11 key numeric keypad!; 4 direction 2-key cursor-pad) |
| 123 | |
| 124 | |
| 125 | * Commodore PET 8032-SK / CBM 8032-SK - board design 3 & 4, BASIC 4, 12" Screen |
| 126 | |
| 127 | New (smaller) case with detachable keyboard (SK=Separate Keyboard). Board |
| 128 | with design 3 didn't fit very well the new case and required extra cables. |
| 129 | It was possible to expand it to a 8096-SK. |
| 130 | |
| 131 | CPU: MOS 6502 (1 Mhz) |
| 132 | RAM: 32k standard (8096 expanded to 96k, 64k is banked memory) |
| 133 | ROM: 20 Kilobytes |
| 134 | Video: MOS Technology 6545 CRTC (12" Monochrome display; 80 columns x 25 rows) |
| 135 | Sound: Piezo electronic speaker (One square wave voice; Three octaves) |
| 136 | Ports: MOS 6520 PIA, MOS 6522 VIA (IEEE-488 square-connector Port; 2 Commodore |
| 137 | Datasette ports; 'EXPANSION' port; CBM parallel programmable "User" port) |
| 138 | Keyboard: Full 73 key QWERTY (11 key numeric keypad!; 4 direction 2-key cursor-pad) |
| 139 | |
| 140 | |
| 141 | * Commodore CBM 200 Series (198?) |
| 142 | |
| 143 | Rebadged CMB 80XX models: the CBM 200 was basically a CBM 8032-SK and the |
| 144 | CBM 220 was a CBM 8096-SK. |
| 145 | |
| 146 | |
| 147 | * Commodore Super PET / MMF9000 (1981) - BASIC 4, 12" Screen |
| 148 | |
| 149 | Based on PET 8032. Sold in Germany as MMF (MicroMainFrame) 9000. Machines |
| 150 | sold in Italy had 134kB of RAM. |
| 151 | |
| 152 | CPU: MOS Technology 6502 & 6809 (1 Mhz clock speeds) |
| 153 | RAM: 96 kilobytes (64K was contained on an expansion board above the motherboard; |
| 154 | Early SP9000 models had two boards above the motherboard; Some models also |
| 155 | had 3 or more switches) |
| 156 | ROM: 48 kilobytes |
| 157 | Video: MOS Technology 6545 CRTC (12" Monochrome display; 80 columns x 25 rows; |
| 158 | 3+ character sets, 256 characters each) |
| 159 | Sound: Piezo electronic speaker (One square wave voice; Three octaves) |
| 160 | Ports: 6551 ACIA, MOS 6520 PIA, MOS 6522 VIA (IEEE-488 edge-connector Port; 2 |
| 161 | Commodore Datasette ports; 'EXPANSION' port; RS232 Internal port; CBM |
| 162 | parallel programmable "User" port; Memory and Processor selection switches) |
| 163 | Keyboard: Full-sized 73 key QWERTY (Multi-Font 62 key keyboard; APL Symbols on |
| 164 | the front of the keys; 11 key numeric keypad; Editor functions on the front |
| 165 | of the keys; 2-key 4-direction cursor-pad) |
| 166 | |
| 167 | |
| 168 | * Commodore CBM SP9000 |
| 169 | |
| 170 | Similar to Super PET. Dual uP 6502/6809, 96kB RAM, business keyboard. |
| 171 | |
| 172 | |
| 173 | * Commodore PET 8296 / CBM 8296 (1984) - BASIC 4, 12" Screen |
| 174 | |
| 175 | Shipped with 128k RAM and separate keyboard, it is a complete redesign of the |
| 176 | PET universal board. It fits into the separate keyboard case, and directly holds |
| 177 | 128k RAM, of which 96k can be used as in the 8096. In addition, using "user |
| 178 | jumpers" on the motherboard, the ROM can be completely switched off to access |
| 179 | the RAM "under the ROM", so that the complete 128k RAM are accessible. The "user |
| 180 | jumpers" could be set to connect to the userport, so this could even be done |
| 181 | under program control. |
| 182 | |
| 183 | CPU: MOS 6502 (1 Mhz) |
| 184 | RAM: 160K (32k standard) |
| 185 | ROM: 24 Kilobytes |
| 186 | Video: MOS Technology 6545 CRTC (12" Monochrome displays; 80 columns x 25 rows) |
| 187 | Sound: Piezo electronic speaker (One square wave voice; Three octaves) |
| 188 | Ports: MOS 6520 PIA, MOS 6522 VIA (IEEE-488 Port; Commodore Datasette port; |
| 189 | 'EXPANSION' port; CBM parallel programmable "User" port) |
| 190 | Keyboard: Full 73 key QWERTY (11 key numeric keypad!; 4 direction 2-key cursor-pad) |
| 191 | |
| 192 | see http://www.6502.org/users/andre/petindex/8x96.html and |
| 193 | http://www.sothius.com/hypertxt/welcome.html?./additional/cbm8296addition.html for |
| 194 | more informations |
| 195 | |
| 196 | |
| 197 | * Commodore PET 8296D / CBM 8296D (1984) - BASIC 4, 12" Screen |
| 198 | |
| 199 | It was a 8296 with built-in 8250-LP disk drive. |
| 200 | |
| 201 | * Commodore CBM 8296GD |
| 202 | |
| 203 | Mentioned at http://www.commodore.ca/products/pet/commodore_pet.htm#Commodore%20PET%20Chronology |
| 204 | as a 8296 with a high resolution graphics board and drive. No other info available. |
| 205 | |
| 206 | [Other models] |
| 207 | |
| 208 | |
| 209 | * Teacher's PET Simply a PET 2001-N with a different label, due to a |
| 210 | marketing campaign in US schools |
| 211 | * MDS 6500 Modified 2001N-32 with matching 2040 drive. 500 made. |
| 212 | * "CASSIE" Synergistics Inc. rebadged 8032 |
| 213 | |
| 214 | |
| 215 | [Board Designs] |
| 216 | |
| 217 | All these models can be reduced to four board types (source William Levak's |
| 218 | doc, layouts from PETFAQ): |
| 219 | |
| 220 | Static Board (PET 2001) |
| 221 | ----------------------- |
| 222 | |
| 223 | Four variations based on type of RAM(6550 or 2114) and ROM(6540 or 2316B). |
| 224 | 4K or 8K static RAM (selected by jumper). |
| 225 | 40 column display |
| 226 | A video interrupt interferes with disk drive operation. |
| 227 | Display timing not compatible with Basic 4.0. |
| 228 | ROM sockets: A2 2K character ROM sockets: A2 2K character |
| 229 | (2316B) H1 C000-CFFF (6540) H1 C000-C7FF |
| 230 | H2 D000-DFFF H2 D000-D7FF |
| 231 | H3 E000-E7FF H3 E000-E7FF |
| 232 | H4 F000-FFFF H4 F000-F7FF |
| 233 | H5 C000-CFFF H5 C800-CFFF |
| 234 | H6 D000-DFFF H6 D800-DFFF |
| 235 | H7 F000-FFFF H7 F800-FFFF |
| 236 | |
| 237 | |
| 238 | IEEE user tape #2 |
| 239 | +------####-####--##-+ |
| 240 | ! # |
| 241 | ! # |
| 242 | ! # exp |
| 243 | ! # bus |
| 244 | ! # |
| 245 | ! # 2000 Series |
| 246 | ! ! circa 1977/78 Max RAM - 8k |
| 247 | ! (2k) ROMS ! [w/daughter board exp to 32k shown] |
| 248 | ! F F E D D C C ! |
| 249 | ! 8 0 0 8 0 8 0 ! |
| 250 | ! ! |
| 251 | tape # RAM MEMORY ! |
| 252 | #1 # ! |
| 253 | +--------------------+ |
| 254 | |
| 255 | |
| 256 | Dynamic Board (PET/CBM 2001-N/2001-B/4000) |
| 257 | ------------------------------------------ |
| 258 | |
| 259 | 4K, 8K, 16K or 32K dynamic RAM (selected by jumper). |
| 260 | 40 column display |
| 261 | Can run all versions of 40 column Basic (Basic 1 must be copied to 4K ROMs) |
| 262 | Can be jumpered to replace the older board. |
| 263 | ROM sockets: UD3 9000-9FFF |
| 264 | UD4 A000-AFFF |
| 265 | UD5 B000-BFFF |
| 266 | UD6 C000-CFFF |
| 267 | UD7 D000-DFFF |
| 268 | UD8 E000-E7FF |
| 269 | UD9 F000-FFFF |
| 270 | UF10 2K character |
| 271 | |
| 272 | |
| 273 | IEEE user tape #1 |
| 274 | +------####-####--##-+ |
| 275 | ! #! |
| 276 | ! #! |
| 277 | ! #! exp |
| 278 | ! ROMS #! bus |
| 279 | ! F E D C B A 9 #! |
| 280 | ! #! 3000, 4000 Series |
| 281 | ! ! (3000 series is European version) |
| 282 | ! ! circa 1979/80 Max RAM - 32k |
| 283 | ! ! |
| 284 | ! ! |
| 285 | ! ! |
| 286 | tape # RAM MEMORY ! |
| 287 | #2 # ! |
| 288 | +--------------------+ |
| 289 | |
| 290 | |
| 291 | 80 Column Board (CBM 8000) |
| 292 | -------------------------- |
| 293 | |
| 294 | 16K or 32K RAM (selected by jumper). |
| 295 | Uses CTRC to generate 80 column display. |
| 296 | Can only run the 80 column version of Basic 4.0. |
| 297 | Not compatible with older boards. |
| 298 | ROM sockets: UA3 2K or 4K character |
| 299 | UD6 F000-FFFF |
| 300 | UD7 E000-E7FF |
| 301 | UD8 D000-DFFF |
| 302 | UD9 C000-CFFF |
| 303 | UD10 B000-BFFF |
| 304 | UD11 A000-AFFF |
| 305 | UD12 9000-9FFF |
| 306 | |
| 307 | The layout is the same of the one used in Universal Boards below. |
| 308 | |
| 309 | |
| 310 | Universal Board (CBM 8000/PET 4000-12) |
| 311 | -------------------------------------- |
| 312 | |
| 313 | This is an 80 column board with jumpers for different configurations. |
| 314 | 16K or 32K RAM (selected by jumper). |
| 315 | Uses CTRC to generate 40 or 80 column display (selected by jumpers). |
| 316 | Can only run Basic 4.0 versions that support the CRTC. |
| 317 | Can be jumpered to replace all older boards. |
| 318 | ROM sockets: UA3 2K or 4K character |
| 319 | UD6 F000-FFFF |
| 320 | UD7 E000-E7FF |
| 321 | UD8 D000-DFFF |
| 322 | UD9 C000-CFFF |
| 323 | UD10 B000-BFFF |
| 324 | UD11 A000-AFFF |
| 325 | UD12 9000-9FFF |
| 326 | |
| 327 | |
| 328 | IEEE user tape #1 |
| 329 | +------####-####--##-+ |
| 330 | ! # # tape |
| 331 | ! # # #2 |
| 332 | ! R exp bus # ! |
| 333 | ! A #! |
| 334 | ! M 9 #! |
| 335 | ! A #! 4000, 8000 Series |
| 336 | ! M R B ! circa 1981 Max RAM - 32k* |
| 337 | ! E O C ! [8296 layout not shown] |
| 338 | ! M M D ! |
| 339 | ! O S E ! |
| 340 | ! R F ! |
| 341 | ! Y ! |
| 342 | ! spkr! |
| 343 | +--------------------+ |
| 344 | |
| 345 | |
| 346 | [TO DO] |
| 347 | |
| 348 | * Emulate SuperPET / SP9000 / MMF9000 and their differences |
| 349 | |
| 350 | * Emulate CBM 8296 & 8296D (basically only a placeholder now) |
| 351 | |
| 352 | * Add proper tape support |
| 353 | |
| 354 | * Add sound support, for systems which had it |
| 355 | |
| 356 | * Add IEEE488 Interface support |
| 357 | |
| 358 | * Find out answers to the following details: |
| 359 | |
| 360 | + Did BASIC 2 also come as upgrade ROMs for PET 2001 with Static Board? If |
| 361 | this is the case, we need to support the splitted versions of the ROMs as |
| 362 | an alternative BIOS to pet2001. |
| 363 | + Did final PET 40XX & CBM 40XX with 40 Columns & CRTC support had business or |
| 364 | normal keyboards? |
| 365 | |
| 366 | * Find confirmation about some models (which I don't believe ever existed, |
| 367 | but...): |
| 368 | |
| 369 | + were there PET 2001-16k & PET 2001-32k with Calculator type keyboard? |
| 370 | + were there CBM 20XX in Europe? |
| 371 | + what about the following unrealistic RAM configurations: 4004? 8008? 8016? |
| 372 | 8064? |
| 373 | + did a CBM 210 exist? |
| 374 | |
| 375 | */ |
| 376 | |
| 377 | |
| 117 | 378 | #include "driver.h" |
| 118 | 379 | |
| 119 | 380 | #include "includes/cbm.h" |
| r3213 | r3214 | |
| 126 | 387 | #include "includes/cbmieeeb.h" |
| 127 | 388 | /*#include "includes/vc1541.h" */ |
| 128 | 389 | |
| 390 | |
| 391 | /************************************* |
| 392 | * |
| 393 | * Main CPU memory handlers |
| 394 | * |
| 395 | *************************************/ |
| 396 | |
| 129 | 397 | static ADDRESS_MAP_START(pet_mem , ADDRESS_SPACE_PROGRAM, 8) |
| 130 | 398 | AM_RANGE(0x8000, 0x83ff) AM_MIRROR(0x0c00) AM_RAM AM_BASE(&videoram) AM_SIZE(&videoram_size ) |
| 131 | 399 | AM_RANGE(0xa000, 0xe7ff) AM_ROM |
| 132 | 400 | AM_RANGE(0xe810, 0xe813) AM_READWRITE(pia_0_r, pia_0_w) |
| 133 | 401 | AM_RANGE(0xe820, 0xe823) AM_READWRITE(pia_1_r, pia_1_w) |
| 134 | 402 | AM_RANGE(0xe840, 0xe84f) AM_READWRITE(via_0_r, via_0_w) |
| 135 | | /* {0xe900, 0xe91f, cbm_ieee_state }, // for debugging */ |
| 403 | /* AM_RANGE(0xe900, 0xe91f) AM_READ(cbm_ieee_state) // for debugging */ |
| 136 | 404 | AM_RANGE(0xf000, 0xffff) AM_ROM |
| 137 | 405 | ADDRESS_MAP_END |
| 138 | 406 | |
| r3213 | r3214 | |
| 263 | 531 | |
| 264 | 532 | |
| 265 | 533 | |
| 534 | /************************************* |
| 535 | * |
| 536 | * Graphics definitions |
| 537 | * |
| 538 | *************************************/ |
| 539 | |
| 540 | |
| 266 | 541 | static const unsigned char pet_palette[] = |
| 267 | 542 | { |
| 268 | 543 | 0,0,0, /* black */ |
| r3213 | r3214 | |
| 360 | 635 | return 0; |
| 361 | 636 | } |
| 362 | 637 | |
| 363 | | /* basic 1 */ |
| 364 | | ROM_START (pet) |
| 365 | | ROM_REGION (0x10000, "main", 0) |
| 366 | | ROM_LOAD ("901447.09", 0xc000, 0x800, CRC(03cf16d0) SHA1(1330580c0614d3556a389da4649488ba04a60908)) |
| 367 | | ROM_LOAD ("901447.02", 0xc800, 0x800, CRC(69fd8a8f) SHA1(70c0f4fa67a70995b168668c957c3fcf2c8641bd)) |
| 368 | | ROM_LOAD ("901447.03", 0xd000, 0x800, CRC(d349f2d4) SHA1(4bf2c20c51a63d213886957485ebef336bb803d0)) |
| 369 | | ROM_LOAD ("901447.04", 0xd800, 0x800, CRC(850544eb) SHA1(d293972d529023d8fd1f493149e4777b5c253a69)) |
| 370 | | ROM_LOAD ("901447.05", 0xe000, 0x800, CRC(9e1c5cea) SHA1(f02f5fb492ba93dbbd390f24c10f7a832dec432a)) |
| 371 | | ROM_LOAD ("901447.06", 0xf000, 0x800, CRC(661a814a) SHA1(960717282878e7de893d87242ddf9d1512be162e)) |
| 372 | | ROM_LOAD ("901447.07", 0xf800, 0x800, CRC(c4f47ad1) SHA1(d440f2510bc52e20c3d6bc8b9ded9cea7f462a9c)) |
| 373 | | ROM_REGION (0x1000, "gfx1", 0) |
| 374 | | ROM_LOAD ("901447.08", 0x0000, 0x800, CRC(54f32f45) SHA1(3e067cc621e4beafca2b90cb8f6dba975df2855b)) |
| 375 | | ROM_END |
| 376 | 638 | |
| 377 | | /* basic 2 */ |
| 378 | | ROM_START (pet2) |
| 379 | | ROM_REGION (0x10000, "main", 0) |
| 380 | | ROM_LOAD ("901465.01", 0xc000, 0x1000, CRC(63a7fe4a) SHA1(3622111f486d0e137022523657394befa92bde44)) |
| 381 | | ROM_LOAD ("901465.02", 0xd000, 0x1000, CRC(ae4cb035) SHA1(1bc0ebf27c9bb62ad71bca40313e874234cab6ac)) |
| 382 | | ROM_LOAD ("901447.24", 0xe000, 0x800, CRC(e459ab32) SHA1(5e5502ce32f5a7e387d65efe058916282041e54b)) |
| 383 | | ROM_LOAD ("901465.03", 0xf000, 0x1000, CRC(f02238e2) SHA1(38742bdf449f629bcba6276ef24d3daeb7da6e84)) |
| 384 | | ROM_REGION (0x1000, "gfx1", 0) |
| 385 | | ROM_LOAD ("901447.08", 0x0000, 0x800, CRC(54f32f45) SHA1(3e067cc621e4beafca2b90cb8f6dba975df2855b)) |
| 386 | | ROM_END |
| 639 | /************************************* |
| 640 | * |
| 641 | * Machine driver |
| 642 | * |
| 643 | *************************************/ |
| 387 | 644 | |
| 388 | | /* basic 2 business */ |
| 389 | | ROM_START (pet2b) |
| 390 | | ROM_REGION (0x10000, "main", 0) |
| 391 | | ROM_LOAD ("901465.01", 0xc000, 0x1000, CRC(63a7fe4a) SHA1(3622111f486d0e137022523657394befa92bde44)) |
| 392 | | ROM_LOAD ("901465.02", 0xd000, 0x1000, CRC(ae4cb035) SHA1(1bc0ebf27c9bb62ad71bca40313e874234cab6ac)) |
| 393 | | ROM_LOAD ("901474.01", 0xe000, 0x800, CRC(05db957e) SHA1(174ace3a8c0348cd21d39cc864e2adc58b0101a9)) |
| 394 | | ROM_LOAD ("901465.03", 0xf000, 0x1000, CRC(f02238e2) SHA1(38742bdf449f629bcba6276ef24d3daeb7da6e84)) |
| 395 | | ROM_REGION (0x1000, "gfx1", 0) |
| 396 | | ROM_LOAD ("901447.10", 0x0000, 0x800, CRC(d8408674) SHA1(0157a2d55b7ac4eaeb38475889ebeea52e2593db)) |
| 397 | | ROM_END |
| 398 | | |
| 399 | | /* basic 4 business */ |
| 400 | | ROM_START (pet4b) |
| 401 | | ROM_REGION (0x10000, "main", 0) |
| 402 | | ROM_LOAD ("901465.23", 0xb000, 0x1000, CRC(ae3deac0) SHA1(975ee25e28ff302879424587e5fb4ba19f403adc)) |
| 403 | | ROM_LOAD ("901465.20", 0xc000, 0x1000, CRC(0fc17b9c) SHA1(242f98298931d21eaacb55fe635e44b7fc192b0a)) |
| 404 | | ROM_LOAD ("901465.21", 0xd000, 0x1000, CRC(36d91855) SHA1(1bb236c72c726e8fb029c68f9bfa5ee803faf0a8)) |
| 405 | | ROM_LOAD ("901474.02", 0xe000, 0x800, CRC(75ff4af7) SHA1(0ca5c4e8f532f914cb0bf86ea9900f20f0a655ce)) |
| 406 | | ROM_LOAD ("901465.22", 0xf000, 0x1000, CRC(cc5298a1) SHA1(96a0fa56e0c937da92971d9c99d504e44e898806)) |
| 407 | | ROM_REGION (0x1000, "gfx1", 0) |
| 408 | | ROM_LOAD ("901447.10", 0x0000, 0x800, CRC(d8408674) SHA1(0157a2d55b7ac4eaeb38475889ebeea52e2593db)) |
| 409 | | ROM_END |
| 410 | | |
| 411 | | /* basic 4 crtc*/ |
| 412 | | ROM_START (pet4) |
| 413 | | ROM_REGION (0x10000, "main", 0) |
| 414 | | ROM_LOAD ("901465.23", 0xb000, 0x1000, CRC(ae3deac0) SHA1(975ee25e28ff302879424587e5fb4ba19f403adc)) |
| 415 | | ROM_LOAD ("901465.20", 0xc000, 0x1000, CRC(0fc17b9c) SHA1(242f98298931d21eaacb55fe635e44b7fc192b0a)) |
| 416 | | ROM_LOAD ("901465.21", 0xd000, 0x1000, CRC(36d91855) SHA1(1bb236c72c726e8fb029c68f9bfa5ee803faf0a8)) |
| 417 | | ROM_LOAD ("901499.01", 0xe000, 0x800, CRC(5f85bdf8) SHA1(8cbf086c1ce4dfb2a2fe24c47476dfb878493dee)) |
| 418 | | ROM_LOAD ("901465.22", 0xf000, 0x1000, CRC(cc5298a1) SHA1(96a0fa56e0c937da92971d9c99d504e44e898806)) |
| 419 | | ROM_REGION (0x1000, "gfx1", 0) |
| 420 | | ROM_LOAD ("901447.08", 0x0000, 0x800, CRC(54f32f45) SHA1(3e067cc621e4beafca2b90cb8f6dba975df2855b)) |
| 421 | | ROM_END |
| 422 | | |
| 423 | | /* basic 4 crtc 50 hz */ |
| 424 | | ROM_START (pet4pal) |
| 425 | | ROM_REGION (0x10000, "main", 0) |
| 426 | | ROM_LOAD ("901465.23", 0xb000, 0x1000, CRC(ae3deac0) SHA1(975ee25e28ff302879424587e5fb4ba19f403adc)) |
| 427 | | ROM_LOAD ("901465.20", 0xc000, 0x1000, CRC(0fc17b9c) SHA1(242f98298931d21eaacb55fe635e44b7fc192b0a)) |
| 428 | | ROM_LOAD ("901465.21", 0xd000, 0x1000, CRC(36d91855) SHA1(1bb236c72c726e8fb029c68f9bfa5ee803faf0a8)) |
| 429 | | ROM_LOAD ("901498.01", 0xe000, 0x800, CRC(3370e359) SHA1(05af284c914d53a52987b5f602466de75765f650)) |
| 430 | | ROM_LOAD ("901465.22", 0xf000, 0x1000, CRC(cc5298a1) SHA1(96a0fa56e0c937da92971d9c99d504e44e898806)) |
| 431 | | ROM_REGION (0x1000, "gfx1", 0) |
| 432 | | ROM_LOAD ("901447.08", 0x0000, 0x800, CRC(54f32f45) SHA1(3e067cc621e4beafca2b90cb8f6dba975df2855b)) |
| 433 | | ROM_END |
| 434 | | |
| 435 | | /* basic 4 business 80 columns */ |
| 436 | | ROM_START (pet80) |
| 437 | | ROM_REGION (0x20000, "main", 0) |
| 438 | | ROM_LOAD ("901465.23", 0xb000, 0x1000, CRC(ae3deac0) SHA1(975ee25e28ff302879424587e5fb4ba19f403adc)) |
| 439 | | ROM_LOAD ("901465.20", 0xc000, 0x1000, CRC(0fc17b9c) SHA1(242f98298931d21eaacb55fe635e44b7fc192b0a)) |
| 440 | | ROM_LOAD ("901465.21", 0xd000, 0x1000, CRC(36d91855) SHA1(1bb236c72c726e8fb029c68f9bfa5ee803faf0a8)) |
| 441 | | ROM_LOAD ("901474.03", 0xe000, 0x800, CRC(5674dd5e) SHA1(c605fa343fd77c73cbe1e0e9567e2f014f6e7e30)) |
| 442 | | ROM_LOAD ("901465.22", 0xf000, 0x1000, CRC(cc5298a1) SHA1(96a0fa56e0c937da92971d9c99d504e44e898806)) |
| 443 | | ROM_REGION (0x2000, "gfx1", 0) |
| 444 | | ROM_LOAD ("901447.10", 0x0000, 0x800, CRC(d8408674) SHA1(0157a2d55b7ac4eaeb38475889ebeea52e2593db)) |
| 445 | | ROM_END |
| 446 | | |
| 447 | | /* basic 4 business 80 columns 50 hz */ |
| 448 | | ROM_START (pet80pal) |
| 449 | | ROM_REGION (0x20000, "main", 0) |
| 450 | | ROM_LOAD ("901465.23", 0xb000, 0x1000, CRC(ae3deac0) SHA1(975ee25e28ff302879424587e5fb4ba19f403adc)) |
| 451 | | ROM_LOAD ("901465.20", 0xc000, 0x1000, CRC(0fc17b9c) SHA1(242f98298931d21eaacb55fe635e44b7fc192b0a)) |
| 452 | | ROM_LOAD ("901465.21", 0xd000, 0x1000, CRC(36d91855) SHA1(1bb236c72c726e8fb029c68f9bfa5ee803faf0a8)) |
| 453 | | ROM_LOAD ("901474.04", 0xe000, 0x800, CRC(abb000e7) SHA1(66887061b6c4ebef7d6efb90af9afd5e2c3b08ba)) |
| 454 | | ROM_LOAD ("901465.22", 0xf000, 0x1000, CRC(cc5298a1) SHA1(96a0fa56e0c937da92971d9c99d504e44e898806)) |
| 455 | | ROM_REGION (0x2000, "gfx1", 0) |
| 456 | | ROM_LOAD ("901447.10", 0x0000, 0x800, CRC(d8408674) SHA1(0157a2d55b7ac4eaeb38475889ebeea52e2593db)) |
| 457 | | ROM_END |
| 458 | | |
| 459 | | ROM_START (cbm80ger) |
| 460 | | ROM_REGION (0x20000, "main", 0) |
| 461 | | ROM_LOAD ("901465.23", 0xb000, 0x1000, CRC(ae3deac0) SHA1(975ee25e28ff302879424587e5fb4ba19f403adc)) |
| 462 | | ROM_LOAD ("901465.20", 0xc000, 0x1000, CRC(0fc17b9c) SHA1(242f98298931d21eaacb55fe635e44b7fc192b0a)) |
| 463 | | ROM_LOAD ("901465.21", 0xd000, 0x1000, CRC(36d91855) SHA1(1bb236c72c726e8fb029c68f9bfa5ee803faf0a8)) |
| 464 | | ROM_LOAD ("german.bin", 0xe000, 0x800, CRC(1c1e597d) SHA1(7ac75ed73832847623c9f4f197fe7fb1a73bb41c)) |
| 465 | | ROM_LOAD ("901465.22", 0xf000, 0x1000, CRC(cc5298a1) SHA1(96a0fa56e0c937da92971d9c99d504e44e898806)) |
| 466 | | ROM_REGION (0x2000, "gfx1", 0) |
| 467 | | ROM_LOAD ("chargen.de", 0x0000, 0x800, CRC(3bb8cb87) SHA1(a4f0df13473d7f9cd31fd62cfcab11318e2fb1dc)) |
| 468 | | ROM_END |
| 469 | | |
| 470 | | ROM_START (cbm80swe) |
| 471 | | ROM_REGION (0x20000, "main", 0) |
| 472 | | ROM_LOAD ("901465.23", 0xb000, 0x1000, CRC(ae3deac0) SHA1(975ee25e28ff302879424587e5fb4ba19f403adc)) |
| 473 | | ROM_LOAD ("901465.20", 0xc000, 0x1000, CRC(0fc17b9c) SHA1(242f98298931d21eaacb55fe635e44b7fc192b0a)) |
| 474 | | ROM_LOAD ("901465.21", 0xd000, 0x1000, CRC(36d91855) SHA1(1bb236c72c726e8fb029c68f9bfa5ee803faf0a8)) |
| 475 | | ROM_LOAD ("editswe.bin", 0xe000, 0x800, CRC(75901dd7) SHA1(2ead0d83255a344a42bb786428353ca48d446d03)) |
| 476 | | ROM_LOAD ("901465.22", 0xf000, 0x1000, CRC(cc5298a1) SHA1(96a0fa56e0c937da92971d9c99d504e44e898806)) |
| 477 | | ROM_REGION (0x2000, "gfx1", 0) |
| 478 | | ROM_LOAD ("901447.14", 0x0000, 0x800, CRC(48c77d29) SHA1(aa7c8ff844d16ec05e2b32acc586c58d9e35388c)) |
| 479 | | ROM_END |
| 480 | | |
| 481 | | ROM_START (superpet) |
| 482 | | ROM_REGION (0x10000, "main", 0) |
| 483 | | ROM_LOAD ("901465.23", 0xb000, 0x1000, CRC(ae3deac0) SHA1(975ee25e28ff302879424587e5fb4ba19f403adc)) |
| 484 | | ROM_LOAD ("901465.20", 0xc000, 0x1000, CRC(0fc17b9c) SHA1(242f98298931d21eaacb55fe635e44b7fc192b0a)) |
| 485 | | ROM_LOAD ("901465.21", 0xd000, 0x1000, CRC(36d91855) SHA1(1bb236c72c726e8fb029c68f9bfa5ee803faf0a8)) |
| 486 | | ROM_LOAD ("901474.04", 0xe000, 0x800, CRC(abb000e7) SHA1(66887061b6c4ebef7d6efb90af9afd5e2c3b08ba)) |
| 487 | | ROM_LOAD ("901465.22", 0xf000, 0x1000, CRC(cc5298a1) SHA1(96a0fa56e0c937da92971d9c99d504e44e898806)) |
| 488 | | ROM_REGION (0x10000, "m6809", 0) |
| 489 | | ROM_LOAD ("901898.01", 0xa000, 0x1000, CRC(728a998b) SHA1(0414b3ab847c8977eb05c2fcc72efcf2f9d92871)) |
| 490 | | ROM_LOAD ("901898.02", 0xb000, 0x1000, CRC(6beb7c62) SHA1(df154939b934d0aeeb376813ec1ba0d43c2a3378)) |
| 491 | | ROM_LOAD ("901898.03", 0xc000, 0x1000, CRC(5db4983d) SHA1(6c5b0cce97068f8841112ba6d5cd8e568b562fa3)) |
| 492 | | ROM_LOAD ("901898.04", 0xd000, 0x1000, CRC(f55fc559) SHA1(b42a2050a319a1ffca7868a8d8d635fadd37ec37)) |
| 493 | | ROM_LOAD ("901897.01", 0xe000, 0x800, CRC(b2cee903) SHA1(e8ce8347451a001214a5e71a13081b38b4be23bc)) |
| 494 | | ROM_LOAD ("901898.05", 0xf000, 0x1000, CRC(f42df0cb) SHA1(9b4a5134d20345171e7303445f87c4e0b9addc96)) |
| 495 | | ROM_REGION (0x4000, "gfx1", 0) |
| 496 | | ROM_LOAD ("901640.01", 0x0000, 0x1000, CRC(ee8229c4) SHA1(bf346f11595a3e65e55d6aeeaa2c0cec807b66c7)) |
| 497 | | ROM_END |
| 498 | | |
| 499 | | /* swedish m6809 roms needed */ |
| 500 | | ROM_START (mmf9000) |
| 501 | | ROM_REGION (0x10000, "main", 0) |
| 502 | | ROM_LOAD ("901465.23", 0xb000, 0x1000, CRC(ae3deac0) SHA1(975ee25e28ff302879424587e5fb4ba19f403adc)) |
| 503 | | ROM_LOAD ("901465.20", 0xc000, 0x1000, CRC(0fc17b9c) SHA1(242f98298931d21eaacb55fe635e44b7fc192b0a)) |
| 504 | | ROM_LOAD ("901465.21", 0xd000, 0x1000, CRC(36d91855) SHA1(1bb236c72c726e8fb029c68f9bfa5ee803faf0a8)) |
| 505 | | ROM_LOAD ("editswe.bin", 0xe000, 0x800, CRC(75901dd7) SHA1(2ead0d83255a344a42bb786428353ca48d446d03)) |
| 506 | | ROM_LOAD ("901465.22", 0xf000, 0x1000, CRC(cc5298a1) SHA1(96a0fa56e0c937da92971d9c99d504e44e898806)) |
| 507 | | ROM_REGION (0x20000, "m6809", 0) |
| 508 | | ROM_LOAD ("901898.01", 0xa000, 0x1000, CRC(728a998b) SHA1(0414b3ab847c8977eb05c2fcc72efcf2f9d92871)) |
| 509 | | ROM_LOAD ("901898.02", 0xb000, 0x1000, CRC(6beb7c62) SHA1(df154939b934d0aeeb376813ec1ba0d43c2a3378)) |
| 510 | | ROM_LOAD ("901898.03", 0xc000, 0x1000, CRC(5db4983d) SHA1(6c5b0cce97068f8841112ba6d5cd8e568b562fa3)) |
| 511 | | ROM_LOAD ("901898.04", 0xd000, 0x1000, CRC(f55fc559) SHA1(b42a2050a319a1ffca7868a8d8d635fadd37ec37)) |
| 512 | | ROM_LOAD ("901897.01", 0xe000, 0x800, CRC(b2cee903) SHA1(e8ce8347451a001214a5e71a13081b38b4be23bc)) |
| 513 | | ROM_LOAD ("901898.05", 0xf000, 0x1000, CRC(f42df0cb) SHA1(9b4a5134d20345171e7303445f87c4e0b9addc96)) |
| 514 | | ROM_REGION (0x4000, "gfx1", 0) |
| 515 | | ROM_LOAD("charswe.bin", 0x0000, 0x1000, CRC(da1cd630) SHA1(35f472114ff001259bdbae073ae041b0759e32cb)) |
| 516 | | ROM_END |
| 517 | | |
| 518 | | #if 0 |
| 519 | | /* in c16 and some other commodore machines: |
| 520 | | cbm version in kernel at 0xff80 (offset 0x3f80) |
| 521 | | 0x80 means pal version */ |
| 522 | | |
| 523 | | /* 901447-09 + 901447-02 + 901447-03 + 901447-04 */ |
| 524 | | ROM_LOAD ("basic1", 0xc000, 0x2000, CRC(aff78300)) |
| 525 | | /* same as 901439-01, maybe same as 6540-011 */ |
| 526 | | ROM_LOAD ("rom-1-c000.901447-01.bin", 0xc000, 0x800, CRC(a055e33a)) |
| 527 | | /* same as 901439-09, 6540-019 */ |
| 528 | | ROM_LOAD ("rom-1-c000.901447-09.bin", 0xc000, 0x800, CRC(03cf16d0)) |
| 529 | | /* same as 901439-05, 6540-012 */ |
| 530 | | ROM_LOAD ("rom-1-c800.901447-02.bin", 0xc800, 0x800, CRC(69fd8a8f)) |
| 531 | | /* same as 901439-02, 6540-013 */ |
| 532 | | ROM_LOAD ("rom-1-d000.901447-03.bin", 0xd000, 0x800, CRC(d349f2d4)) |
| 533 | | /* same as 901439-06, 6540-014 */ |
| 534 | | ROM_LOAD ("rom-1-d800.901447-04.bin", 0xd800, 0x800, CRC(850544eb)) |
| 535 | | |
| 536 | | /* 901465-01 + 901465-02 */ |
| 537 | | ROM_LOAD ("basic2", 0xc000, 0x2000, CRC(cf35e68b)) |
| 538 | | /* 6540-020 + 6540-021 */ |
| 539 | | ROM_LOAD ("basic-2-c000.901465-01.bin", 0xc000, 0x1000, CRC(63a7fe4a)) |
| 540 | | /* 6540-022 + 6540-023 */ |
| 541 | | ROM_LOAD ("basic-2-d000.901465-02.bin", 0xd000, 0x1000, CRC(ae4cb035)) |
| 542 | | |
| 543 | | /* 901465-23 901465-20 901465-21 */ |
| 544 | | ROM_LOAD ("basic4", 0xb000, 0x3000, CRC(2a940f0a)) |
| 545 | | ROM_LOAD ("basic-4-b000.901465-19.bin", 0xb000, 0x1000, CRC(3a5f5721)) |
| 546 | | ROM_LOAD ("basic-4-b000.901465-23.bin", 0xb000, 0x1000, CRC(ae3deac0)) |
| 547 | | ROM_LOAD ("basic-4-c000.901465-20.bin", 0xc000, 0x1000, CRC(0fc17b9c)) |
| 548 | | ROM_LOAD ("basic-4-d000.901465-21.bin", 0xd000, 0x1000, CRC(36d91855)) |
| 549 | | |
| 550 | | /* same as 901439-03, 6540-015 */ |
| 551 | | ROM_LOAD ("rom-1-e000.901447-05.bin", 0xe000, 0x800, CRC(9e1c5cea)) |
| 552 | | |
| 553 | | ROM_LOAD ("edit-2-b.901474-01.bin", 0xe000, 0x800, CRC(05db957e)) |
| 554 | | /* same as 6540-024 */ |
| 555 | | ROM_LOAD ("edit-2-n.901447-24.bin", 0xe000, 0x800, CRC(e459ab32)) |
| 556 | | |
| 557 | | ROM_LOAD ("edit-4-40-n-50hz.901498-01.bin", 0xe000, 0x800, CRC(3370e359)) |
| 558 | | ROM_LOAD ("edit-4-40-n-60hz.901499-01.bin", 0xe000, 0x800, CRC(5f85bdf8)) |
| 559 | | ROM_LOAD ("edit-4-b.901474-02.bin", 0xe000, 0x800, CRC(75ff4af7)) |
| 560 | | |
| 561 | | ROM_LOAD ("edit-4-80-b-60hz.901474-03.bin", 0xe000, 0x800, CRC(5674dd5e)) |
| 562 | | /* week 36 year 81 */ |
| 563 | | ROM_LOAD ("edit-4-80-b-50hz.901474-04-3681.bin", 0xe000, 0x800, CRC(c1ffca3a)) |
| 564 | | ROM_LOAD ("edit-4-80-b-50hz.901474-04.bin", 0xe000, 0x800, CRC(abb000e7)) |
| 565 | | ROM_LOAD ("edit-4-80-b-50hz.901474-04?.bin", 0xe000, 0x800, CRC(845a44e6)) |
| 566 | | ROM_LOAD ("edit-4-80-b-50hz.german.bin", 0xe000, 0x800, CRC(1c1e597d)) |
| 567 | | ROM_LOAD ("edit-4-80-b-50hz.swedish.bin", 0xe000, 0x800, CRC(75901dd7)) |
| 568 | | |
| 569 | | /* 901447-06 + 901447-07 */ |
| 570 | | ROM_LOAD ("kernal1", 0xf000, 0x1000, CRC(f0186492)) |
| 571 | | /* same as 901439-04, 6540-016 */ |
| 572 | | ROM_LOAD ("rom-1-f000.901447-06.bin", 0xf000, 0x800, CRC(661a814a)) |
| 573 | | /* same as 904139-07, 6540-018 */ |
| 574 | | ROM_LOAD ("rom-1-f800.901447-07.bin", 0xf800, 0x800, CRC(c4f47ad1)) |
| 575 | | |
| 576 | | ROM_LOAD ("kernal-2.901465-03.bin", 0xf000, 0x1000, CRC(f02238e2)) |
| 577 | | |
| 578 | | ROM_LOAD ("kernal-4.901465-22.bin", 0xf000, 0x1000, CRC(cc5298a1)) |
| 579 | | |
| 580 | | /* graphics */ |
| 581 | | /* 6540-010 = 901439-08 */ |
| 582 | | |
| 583 | | ROM_LOAD ("characters-1.901447-08.bin", 0x0000, 0x800, CRC(54f32f45)) |
| 584 | | /* business */ |
| 585 | | /* vice chargen */ |
| 586 | | ROM_LOAD ("characters-2.901447-10.bin", 0x0000, 0x800, CRC(d8408674)) |
| 587 | | ROM_LOAD ("chargen.de", 0x0000, 0x800, CRC(3bb8cb87)) |
| 588 | | ROM_LOAD ("characters-hungarian.bin", 0x0000, 0x800, CRC(a02d8122)) |
| 589 | | ROM_LOAD ("characters-swedish.901447-14.bin", 0x0000, 0x800, CRC(48c77d29)) |
| 590 | | |
| 591 | | ROM_LOAD ("", 0xe000, 0x800, CRC()) |
| 592 | | |
| 593 | | /* editor rom */ |
| 594 | | ROM_LOAD ("Execudesk.bin", 0xe000, 0x1000, CRC(bef0eaa1)) |
| 595 | | |
| 596 | | ROM_LOAD ("PaperClip.bin", 0xa000, 0x1000, CRC(8fb11d4b)) |
| 597 | | |
| 598 | | /* superpet */ |
| 599 | | ROM_LOAD ("waterloo-a000.901898-01.bin", 0xa000, 0x1000, CRC(728a998b)) |
| 600 | | ROM_LOAD ("waterloo-b000.901898-02.bin", 0xb000, 0x1000, CRC(6beb7c62)) |
| 601 | | ROM_LOAD ("waterloo-c000.901898-03.bin", 0xc000, 0x1000, CRC(5db4983d)) |
| 602 | | ROM_LOAD ("waterloo-d000.901898-04.bin", 0xd000, 0x1000, CRC(f55fc559)) |
| 603 | | ROM_LOAD ("waterloo-e000.901897-01.bin", 0xe000, 0x800, CRC(b2cee903)) |
| 604 | | ROM_LOAD ("waterloo-f000.901898-05.bin", 0xf000, 0x1000, CRC(f42df0cb)) |
| 605 | | /* 256 chars commodore pet, 256 chars ascii m6809 */ |
| 606 | | ROM_LOAD ("characters.901640-01.bin", 0x0000, 0x1000, CRC(ee8229c4)) |
| 607 | | /* 901447-14 and the 256 chars ascii from 901640-01 */ |
| 608 | | ROM_LOAD ("characters.swedish.bin", 0x0000, 0x1000, CRC(da1cd630)) |
| 609 | | |
| 610 | | /* scrap */ |
| 611 | | /* fixed bits */ |
| 612 | | ROM_LOAD ("324878-01.bin", 0x?000, 0x2000, CRC(d262bacd)) |
| 613 | | ROM_LOAD ("324878-02.bin", 0x?000, 0x2000, CRC(5e00476d)) |
| 614 | | #endif |
| 615 | | |
| 616 | 645 | static MACHINE_DRIVER_START( pet_general ) |
| 617 | 646 | /* basic machine hardware */ |
| 618 | 647 | MDRV_CPU_ADD("main", M6502, 7833600) /* 7.8336 Mhz */ |
| r3213 | r3214 | |
| 643 | 672 | MACHINE_DRIVER_END |
| 644 | 673 | |
| 645 | 674 | |
| 646 | | static MACHINE_DRIVER_START( pet1 ) |
| 675 | static MACHINE_DRIVER_START( pet2001 ) |
| 647 | 676 | MDRV_IMPORT_FROM( pet_general ) |
| 648 | 677 | MDRV_QUICKLOAD_ADD(cbm_pet1, "p00,prg", CBM_QUICKLOAD_DELAY_SECONDS) |
| 649 | 678 | MACHINE_DRIVER_END |
| r3213 | r3214 | |
| 712 | 741 | MDRV_GFXDECODE( superpet ) |
| 713 | 742 | MACHINE_DRIVER_END |
| 714 | 743 | |
| 715 | | #define rom_cbm30 rom_pet2 |
| 716 | | #define rom_cbm30 rom_pet2 |
| 717 | | #define rom_cbm30b rom_pet2b |
| 718 | | #define rom_cbm40 rom_pet4 |
| 719 | | #define rom_cbm40pal rom_pet4pal |
| 720 | | #define rom_cbm40b rom_pet4b |
| 721 | | #define rom_cbm80 rom_pet80 |
| 722 | | #define rom_cbm80pal rom_pet80pal |
| 723 | 744 | |
| 724 | 745 | |
| 746 | /************************************* |
| 747 | * |
| 748 | * ROM definition(s) |
| 749 | * |
| 750 | *************************************/ |
| 725 | 751 | |
| 752 | |
| 753 | /* PET 2001 - Board type 1 (Static Board) */ |
| 754 | /* BASIC 1 - "*** COMMODORE BASIC ***" at boot */ |
| 755 | /* Four board variations depending on |
| 756 | ROM sockets: either 6540 or 2316B |
| 757 | RAM: either 6550 or 2114 |
| 758 | The ROM content is the same in both cases, but the labels differ. Below we use labels |
| 759 | from the 2316B version. For documentation sake, these would have been the labels based on |
| 760 | the board with 6540 ROMs |
| 761 | |
| 762 | 901439-01.h1 / 901439-09.h1 |
| 763 | 901439-05.h5 |
| 764 | 901439-02.h2 |
| 765 | 901439-06.h6 |
| 766 | 901439-03.h3 |
| 767 | 901439-04.h4 |
| 768 | 901439-07.h7 |
| 769 | 901439-08.a2 |
| 770 | |
| 771 | Also, in some board with 2316B, the location of the ROMs changes h1 <-> h5, h2 <-> h6 and |
| 772 | h4 <-> h7 |
| 773 | */ |
| 774 | |
| 775 | ROM_START( pet2001 ) |
| 776 | ROM_REGION( 0x10000, "main", 0 ) |
| 777 | ROM_SYSTEM_BIOS( 0, "basic1", "BASIC 1r" ) |
| 778 | ROMX_LOAD( "901447-09.h1", 0xc000, 0x800, CRC(03cf16d0) SHA1(1330580c0614d3556a389da4649488ba04a60908), ROM_BIOS(1) ) |
| 779 | ROM_SYSTEM_BIOS( 1, "basic1o", "BASIC 1" ) |
| 780 | ROMX_LOAD( "901447-01.h1", 0xc000, 0x800, CRC(a055e33a) SHA1(831db40324113ee996c434d38b4add3fd1f820bd), ROM_BIOS(2) ) |
| 781 | ROM_LOAD( "901447-02.h5", 0xc800, 0x800, CRC(69fd8a8f) SHA1(70c0f4fa67a70995b168668c957c3fcf2c8641bd) ) |
| 782 | ROM_LOAD( "901447-03.h2", 0xd000, 0x800, CRC(d349f2d4) SHA1(4bf2c20c51a63d213886957485ebef336bb803d0) ) |
| 783 | ROM_LOAD( "901447-04.h6", 0xd800, 0x800, CRC(850544eb) SHA1(d293972d529023d8fd1f493149e4777b5c253a69) ) |
| 784 | ROM_LOAD( "901447-05.h3", 0xe000, 0x800, CRC(9e1c5cea) SHA1(f02f5fb492ba93dbbd390f24c10f7a832dec432a) ) |
| 785 | ROM_LOAD( "901447-06.h4", 0xf000, 0x800, CRC(661a814a) SHA1(960717282878e7de893d87242ddf9d1512be162e) ) |
| 786 | ROM_LOAD( "901447-07.h7", 0xf800, 0x800, CRC(c4f47ad1) SHA1(d440f2510bc52e20c3d6bc8b9ded9cea7f462a9c) ) |
| 787 | |
| 788 | ROM_REGION( 0x1000, "gfx1", 0 ) |
| 789 | ROM_LOAD( "901447-08.a2", 0x0000, 0x800, CRC(54f32f45) SHA1(3e067cc621e4beafca2b90cb8f6dba975df2855b) ) |
| 790 | ROM_END |
| 791 | |
| 792 | |
| 793 | /* PET 2001-N / 2001-B / CBM 30XX / PET 40XX (early) / CBM 40XX (early) - Board type 2 (Dynamic Board) */ |
| 794 | /* BASIC 1 upgraded / BASIC 2 - "### COMMODORE BASIC ###" at boot */ |
| 795 | /* Again different kind of ROM sockets can be found. */ |
| 796 | /* These boards would support BASIC 1 as well, if the content would be put on 4K ROMs */ |
| 797 | |
| 798 | /* BASIC 2 */ |
| 799 | ROM_START( pet2001n ) |
| 800 | ROM_REGION( 0x10000, "main", 0 ) |
| 801 | ROM_LOAD( "901465-01.ud6", 0xc000, 0x1000, CRC(63a7fe4a) SHA1(3622111f486d0e137022523657394befa92bde44) ) // BASIC 2 |
| 802 | ROM_LOAD( "901465-02.ud7", 0xd000, 0x1000, CRC(ae4cb035) SHA1(1bc0ebf27c9bb62ad71bca40313e874234cab6ac) ) // BASIC 2 |
| 803 | ROM_LOAD( "901447-24.ud8", 0xe000, 0x800, CRC(e459ab32) SHA1(5e5502ce32f5a7e387d65efe058916282041e54b) ) // Screen Editor (40 columns, no CRTC, Normal Keyb) |
| 804 | ROM_LOAD( "901465-03.ud9", 0xf000, 0x1000, CRC(f02238e2) SHA1(38742bdf449f629bcba6276ef24d3daeb7da6e84) ) // Kernal |
| 805 | |
| 806 | ROM_REGION( 0x1000, "gfx1", 0 ) |
| 807 | ROM_LOAD( "901447-10.uf10", 0x0000, 0x800, CRC(d8408674) SHA1(0157a2d55b7ac4eaeb38475889ebeea52e2593db) ) // Character Generator |
| 808 | ROM_END |
| 809 | |
| 810 | /* BASIC 2 - Business Keyboard (Number keys, etc.) */ |
| 811 | ROM_START( pet2001b ) |
| 812 | ROM_REGION( 0x10000, "main", 0 ) |
| 813 | ROM_LOAD( "901465-01.ud6", 0xc000, 0x1000, CRC(63a7fe4a) SHA1(3622111f486d0e137022523657394befa92bde44) ) // BASIC 2 |
| 814 | ROM_LOAD( "901465-02.ud7", 0xd000, 0x1000, CRC(ae4cb035) SHA1(1bc0ebf27c9bb62ad71bca40313e874234cab6ac) ) // BASIC 2 |
| 815 | ROM_LOAD( "901474-01.ud8", 0xe000, 0x800, CRC(05db957e) SHA1(174ace3a8c0348cd21d39cc864e2adc58b0101a9) ) // Screen Editor (40 columns, no CRTC, Business Keyb) |
| 816 | ROM_LOAD( "901465-03.ud9", 0xf000, 0x1000, CRC(f02238e2) SHA1(38742bdf449f629bcba6276ef24d3daeb7da6e84) ) // Kernal |
| 817 | |
| 818 | ROM_REGION( 0x1000, "gfx1", 0 ) |
| 819 | ROM_LOAD( "901447-10.uf10", 0x0000, 0x800, CRC(d8408674) SHA1(0157a2d55b7ac4eaeb38475889ebeea52e2593db) ) // Character Generator |
| 820 | ROM_END |
| 821 | |
| 822 | #define rom_cbm30 rom_pet2001n |
| 823 | #define rom_cbm30b rom_pet2001b |
| 824 | |
| 825 | /* BASIC 4, but 40 columns only and no CRTC */ |
| 826 | ROM_START( pet40on ) |
| 827 | ROM_REGION( 0x10000, "main", 0 ) |
| 828 | ROM_SYSTEM_BIOS( 0, "basic4", "BASIC 4r" ) |
| 829 | ROMX_LOAD( "901465-23.ud5", 0xb000, 0x1000, CRC(ae3deac0) SHA1(975ee25e28ff302879424587e5fb4ba19f403adc), ROM_BIOS(1) ) // BASIC 4 |
| 830 | ROM_SYSTEM_BIOS( 1, "basic4o", "BASIC 4" ) |
| 831 | ROMX_LOAD( "901465-19.ud5", 0xb000, 0x1000, CRC(3a5f5721) SHA1(bc2b7c99495fea3eda950ee9e3d6cabe448a452b), ROM_BIOS(2) ) |
| 832 | ROM_LOAD( "901465-20.ud6", 0xc000, 0x1000, CRC(0fc17b9c) SHA1(242f98298931d21eaacb55fe635e44b7fc192b0a) ) // BASIC 4 |
| 833 | ROM_LOAD( "901465-21.ud7", 0xd000, 0x1000, CRC(36d91855) SHA1(1bb236c72c726e8fb029c68f9bfa5ee803faf0a8) ) // BASIC 4 |
| 834 | ROM_LOAD( "901447-29.ud8", 0xe000, 0x800, CRC(e5714d4c) SHA1(1330580c0aaaaaaa6a389da4649488ba04a60908) ) // Screen Editor (40 columns, no CRTC, Normal Keyb) |
| 835 | ROM_LOAD( "901465-22.ud9", 0xf000, 0x1000, CRC(cc5298a1) SHA1(96a0fa56e0c937da92971d9c99d504e44e898806) ) // Kernal |
| 836 | |
| 837 | ROM_REGION( 0x1000, "gfx1", 0 ) |
| 838 | ROM_LOAD( "901447-10.uf10", 0x0000, 0x800, CRC(d8408674) SHA1(0157a2d55b7ac4eaeb38475889ebeea52e2593db) ) // Character Generator |
| 839 | ROM_END |
| 840 | |
| 841 | /* BASIC 4, but 40 columns only and no CRTC - Business Keyboard (Number keys, etc.) */ |
| 842 | ROM_START( pet40ob ) |
| 843 | ROM_REGION( 0x10000, "main", 0 ) |
| 844 | ROM_SYSTEM_BIOS( 0, "basic4", "BASIC 4r" ) |
| 845 | ROMX_LOAD( "901465-23.ud5", 0xb000, 0x1000, CRC(ae3deac0) SHA1(975ee25e28ff302879424587e5fb4ba19f403adc), ROM_BIOS(1) ) |
| 846 | ROM_SYSTEM_BIOS( 1, "basic4o", "BASIC 4" ) |
| 847 | ROMX_LOAD( "901465-19.ud5", 0xb000, 0x1000, CRC(3a5f5721) SHA1(bc2b7c99495fea3eda950ee9e3d6cabe448a452b), ROM_BIOS(2) ) |
| 848 | ROM_LOAD( "901465-20.ud6", 0xc000, 0x1000, CRC(0fc17b9c) SHA1(242f98298931d21eaacb55fe635e44b7fc192b0a) ) // BASIC 4 |
| 849 | ROM_LOAD( "901465-21.ud7", 0xd000, 0x1000, CRC(36d91855) SHA1(1bb236c72c726e8fb029c68f9bfa5ee803faf0a8) ) // BASIC 4 |
| 850 | ROM_LOAD( "901474-02.ud8", 0xe000, 0x800, CRC(75ff4af7) SHA1(0ca5c4e8f532f914cb0bf86ea9900f20f0a655ce) ) // Screen Editor (40 columns, no CRTC, Business Keyb) |
| 851 | ROM_LOAD( "901465-22.ud9", 0xf000, 0x1000, CRC(cc5298a1) SHA1(96a0fa56e0c937da92971d9c99d504e44e898806) ) // Kernal |
| 852 | |
| 853 | ROM_REGION( 0x1000, "gfx1", 0 ) |
| 854 | ROM_LOAD( "901447-10.uf10", 0x0000, 0x800, CRC(d8408674) SHA1(0157a2d55b7ac4eaeb38475889ebeea52e2593db) ) // Character Generator |
| 855 | ROM_END |
| 856 | |
| 857 | #define rom_cbm40o rom_pet40on |
| 858 | #define rom_cbm40ob rom_pet40ob |
| 859 | |
| 860 | /* PET 40XX (later) / PET 80XX / CBM 400XX (later) / CBM 80XX - Board type 3 (80 columns Board) & 4 (Universal Board) */ |
| 861 | /* BASIC 4, Board 3: 80 columns only using CRTC - Board 4: 40 or 80 columns using CRTC, changed through a jumper on the board */ |
| 862 | /* Board 3 ones can only run the 80 columns BASIC 4, Board 4 can run all BASIC versions supporting CRTC */ |
| 863 | |
| 864 | /* 40 columns - 60 Hz */ |
| 865 | ROM_START( pet40n ) |
| 866 | ROM_REGION( 0x10000, "main", 0 ) |
| 867 | ROM_LOAD( "901465-23.ud10", 0xb000, 0x1000, CRC(ae3deac0) SHA1(975ee25e28ff302879424587e5fb4ba19f403adc) ) // BASIC 4 |
| 868 | ROM_LOAD( "901465-20.ud9", 0xc000, 0x1000, CRC(0fc17b9c) SHA1(242f98298931d21eaacb55fe635e44b7fc192b0a) ) // BASIC 4 |
| 869 | ROM_LOAD( "901465-21.ud8", 0xd000, 0x1000, CRC(36d91855) SHA1(1bb236c72c726e8fb029c68f9bfa5ee803faf0a8) ) // BASIC 4 |
| 870 | ROM_LOAD( "901499-01.ud7", 0xe000, 0x800, CRC(5f85bdf8) SHA1(8cbf086c1ce4dfb2a2fe24c47476dfb878493dee) ) // Screen Editor (40 columns, CRTC 60Hz, Normal Keyb?) |
| 871 | ROM_LOAD( "901465-22.ud6", 0xf000, 0x1000, CRC(cc5298a1) SHA1(96a0fa56e0c937da92971d9c99d504e44e898806) ) // Kernal |
| 872 | |
| 873 | ROM_REGION( 0x1000, "gfx1", 0 ) |
| 874 | ROM_LOAD( "901447-10.ua3", 0x0000, 0x800, CRC(d8408674) SHA1(0157a2d55b7ac4eaeb38475889ebeea52e2593db) ) // Character Generator |
| 875 | ROM_END |
| 876 | |
| 877 | /* 40 columns - 50 Hz */ |
| 878 | ROM_START( cbm40n ) |
| 879 | ROM_REGION( 0x10000, "main", 0 ) |
| 880 | ROM_LOAD( "901465-23.ud10", 0xb000, 0x1000, CRC(ae3deac0) SHA1(975ee25e28ff302879424587e5fb4ba19f403adc) ) // BASIC 4 |
| 881 | ROM_LOAD( "901465-20.ud9", 0xc000, 0x1000, CRC(0fc17b9c) SHA1(242f98298931d21eaacb55fe635e44b7fc192b0a) ) // BASIC 4 |
| 882 | ROM_LOAD( "901465-21.ud8", 0xd000, 0x1000, CRC(36d91855) SHA1(1bb236c72c726e8fb029c68f9bfa5ee803faf0a8) ) // BASIC 4 |
| 883 | ROM_LOAD( "901498-01.ud7", 0xe000, 0x800, CRC(3370e359) SHA1(05af284c914d53a52987b5f602466de75765f650) ) // Screen Editor (40 columns, CRTC 50Hz, Normal Keyb?) |
| 884 | ROM_LOAD( "901465-22.ud6", 0xf000, 0x1000, CRC(cc5298a1) SHA1(96a0fa56e0c937da92971d9c99d504e44e898806) ) // Kernal |
| 885 | |
| 886 | ROM_REGION( 0x1000, "gfx1", 0 ) |
| 887 | ROM_LOAD( "901447-10.ua3", 0x0000, 0x800, CRC(d8408674) SHA1(0157a2d55b7ac4eaeb38475889ebeea52e2593db) ) // Character Generator |
| 888 | ROM_END |
| 889 | |
| 890 | /* 80 columns - 60 Hz */ |
| 891 | ROM_START( pet40b ) |
| 892 | ROM_REGION( 0x10000, "main", 0 ) |
| 893 | ROM_LOAD( "901465-23.ud10", 0xb000, 0x1000, CRC(ae3deac0) SHA1(975ee25e28ff302879424587e5fb4ba19f403adc) ) // BASIC 4 |
| 894 | ROM_LOAD( "901465-20.ud9", 0xc000, 0x1000, CRC(0fc17b9c) SHA1(242f98298931d21eaacb55fe635e44b7fc192b0a) ) // BASIC 4 |
| 895 | ROM_LOAD( "901465-21.ud8", 0xd000, 0x1000, CRC(36d91855) SHA1(1bb236c72c726e8fb029c68f9bfa5ee803faf0a8) ) // BASIC 4 |
| 896 | ROM_LOAD( "901474-03.ud7", 0xe000, 0x800, CRC(5674dd5e) SHA1(c605fa343fd77c73cbe1e0e9567e2f014f6e7e30) ) // Screen Editor (80 columns, CRTC 60Hz, Business Keyb) |
| 897 | ROM_LOAD( "901465-22.ud6", 0xf000, 0x1000, CRC(cc5298a1) SHA1(96a0fa56e0c937da92971d9c99d504e44e898806) ) // Kernal |
| 898 | |
| 899 | ROM_REGION( 0x2000, "gfx1", 0 ) |
| 900 | ROM_LOAD( "901447-10.ua3", 0x0000, 0x800, CRC(d8408674) SHA1(0157a2d55b7ac4eaeb38475889ebeea52e2593db) ) // Character Generator |
| 901 | ROM_END |
| 902 | |
| 903 | /* 80 columns - 50 Hz */ |
| 904 | ROM_START( cbm40b ) |
| 905 | ROM_REGION( 0x10000, "main", 0 ) |
| 906 | ROM_LOAD( "901465-23.ud10", 0xb000, 0x1000, CRC(ae3deac0) SHA1(975ee25e28ff302879424587e5fb4ba19f403adc) ) // BASIC 4 |
| 907 | ROM_LOAD( "901465-20.ud9", 0xc000, 0x1000, CRC(0fc17b9c) SHA1(242f98298931d21eaacb55fe635e44b7fc192b0a) ) // BASIC 4 |
| 908 | ROM_LOAD( "901465-21.ud8", 0xd000, 0x1000, CRC(36d91855) SHA1(1bb236c72c726e8fb029c68f9bfa5ee803faf0a8) ) // BASIC 4 |
| 909 | ROM_SYSTEM_BIOS( 0, "default", "BASIC 4" ) |
| 910 | ROMX_LOAD( "901474-04.ud7", 0xe000, 0x800, CRC(abb000e7) SHA1(66887061b6c4ebef7d6efb90af9afd5e2c3b08ba), ROM_BIOS(1) ) // Screen Editor (80 columns, CRTC 50Hz, Business Keyb) |
| 911 | ROM_SYSTEM_BIOS( 1, "alt", "BASIC 4 (alt Editor)" ) |
| 912 | ROMX_LOAD( "901474-04a.ud7", 0xe000, 0x800, BAD_DUMP CRC(845a44e6) SHA1(81975eab31a8f4f51ae2a20d099a567c7b3f2dd1), ROM_BIOS(2) ) |
| 913 | ROM_SYSTEM_BIOS( 2, "old", "BASIC 4 (Editor dated 3681)" ) |
| 914 | ROMX_LOAD( "901474-04o.ud7", 0xe000, 0x800, CRC(c1ffca3a) SHA1(7040b283ba39e9630e3d147f7d076b7abc39bc70), ROM_BIOS(3) ) |
| 915 | ROM_LOAD( "901465-22.ud6", 0xf000, 0x1000, CRC(cc5298a1) SHA1(96a0fa56e0c937da92971d9c99d504e44e898806) ) // Kernal |
| 916 | |
| 917 | ROM_REGION( 0x2000, "gfx1", 0 ) |
| 918 | ROM_LOAD( "901447-10.ua3", 0x0000, 0x800, CRC(d8408674) SHA1(0157a2d55b7ac4eaeb38475889ebeea52e2593db) ) // Character Generator |
| 919 | ROM_END |
| 920 | |
| 921 | /* 80 columns - 60 Hz - can be expanded to 96k RAM */ |
| 922 | ROM_START( pet80 ) |
| 923 | ROM_REGION( 0x20000, "main", 0 ) |
| 924 | ROM_LOAD( "901465-23.ud10", 0xb000, 0x1000, CRC(ae3deac0) SHA1(975ee25e28ff302879424587e5fb4ba19f403adc) ) // BASIC 4 |
| 925 | ROM_LOAD( "901465-20.ud9", 0xc000, 0x1000, CRC(0fc17b9c) SHA1(242f98298931d21eaacb55fe635e44b7fc192b0a) ) // BASIC 4 |
| 926 | ROM_LOAD( "901465-21.ud8", 0xd000, 0x1000, CRC(36d91855) SHA1(1bb236c72c726e8fb029c68f9bfa5ee803faf0a8) ) // BASIC 4 |
| 927 | ROM_LOAD( "901474-03.ud7", 0xe000, 0x800, CRC(5674dd5e) SHA1(c605fa343fd77c73cbe1e0e9567e2f014f6e7e30) ) // Screen Editor (80 columns, CRTC 60Hz, Business Keyb) |
| 928 | ROM_LOAD( "901465-22.ud6", 0xf000, 0x1000, CRC(cc5298a1) SHA1(96a0fa56e0c937da92971d9c99d504e44e898806) ) // Kernal |
| 929 | |
| 930 | ROM_REGION( 0x2000, "gfx1", 0 ) |
| 931 | ROM_LOAD( "901447-10.ua3", 0x0000, 0x800, CRC(d8408674) SHA1(0157a2d55b7ac4eaeb38475889ebeea52e2593db) ) // Character Generator |
| 932 | ROM_END |
| 933 | |
| 934 | /* 80 columns - 50 Hz - can be expanded to 96k RAM */ |
| 935 | ROM_START( cbm80 ) |
| 936 | ROM_REGION( 0x20000, "main", 0 ) |
| 937 | ROM_LOAD( "901465-23.ud10", 0xb000, 0x1000, CRC(ae3deac0) SHA1(975ee25e28ff302879424587e5fb4ba19f403adc) ) // BASIC 4 |
| 938 | ROM_LOAD( "901465-20.ud9", 0xc000, 0x1000, CRC(0fc17b9c) SHA1(242f98298931d21eaacb55fe635e44b7fc192b0a) ) // BASIC 4 |
| 939 | ROM_LOAD( "901465-21.ud8", 0xd000, 0x1000, CRC(36d91855) SHA1(1bb236c72c726e8fb029c68f9bfa5ee803faf0a8) ) // BASIC 4 |
| 940 | ROM_SYSTEM_BIOS( 0, "default", "BASIC 4" ) |
| 941 | ROMX_LOAD( "901474-04.ud7", 0xe000, 0x800, CRC(abb000e7) SHA1(66887061b6c4ebef7d6efb90af9afd5e2c3b08ba), ROM_BIOS(1) ) // Screen Editor (80 columns, CRTC 50Hz, Business Keyb) |
| 942 | ROM_SYSTEM_BIOS( 1, "alt", "BASIC 4 (alt Editor)" ) |
| 943 | ROMX_LOAD( "901474-04a.ud7", 0xe000, 0x800, BAD_DUMP CRC(845a44e6) SHA1(81975eab31a8f4f51ae2a20d099a567c7b3f2dd1), ROM_BIOS(2) ) |
| 944 | ROM_SYSTEM_BIOS( 2, "old", "BASIC 4 (Editor dated 3681)" ) |
| 945 | ROMX_LOAD( "901474-04o.ud7", 0xe000, 0x800, CRC(c1ffca3a) SHA1(7040b283ba39e9630e3d147f7d076b7abc39bc70), ROM_BIOS(3) ) |
| 946 | ROM_LOAD( "901465-22.ud6", 0xf000, 0x1000, CRC(cc5298a1) SHA1(96a0fa56e0c937da92971d9c99d504e44e898806) ) // Kernal |
| 947 | |
| 948 | ROM_REGION( 0x2000, "gfx1", 0 ) |
| 949 | ROM_LOAD( "901447-10.ua3", 0x0000, 0x800, CRC(d8408674) SHA1(0157a2d55b7ac4eaeb38475889ebeea52e2593db) ) // Character Generator |
| 950 | ROM_END |
| 951 | |
| 952 | |
| 953 | /* Two different layouts are documented for the m6809 */ |
| 954 | /* The 2532 EEPROM listed below (2516 for the .u21 one) could have been replaced by three 2764 EEPROM. |
| 955 | In this case the labels would have been as follows |
| 956 | |
| 957 | 970018-12.u47 (contents: u17+u18 below) |
| 958 | 970019-12.u48 (contents: u19+u20 below) |
| 959 | 970020-12.u49 (contents: u21+u22 below) |
| 960 | |
| 961 | */ |
| 962 | |
| 963 | ROM_START( superpet ) |
| 964 | ROM_REGION( 0x10000, "main", 0 ) |
| 965 | ROM_LOAD( "901465-23.ud10", 0xb000, 0x1000, CRC(ae3deac0) SHA1(975ee25e28ff302879424587e5fb4ba19f403adc) ) // BASIC 4 |
| 966 | ROM_LOAD( "901465-20.ud9", 0xc000, 0x1000, CRC(0fc17b9c) SHA1(242f98298931d21eaacb55fe635e44b7fc192b0a) ) // BASIC 4 |
| 967 | ROM_LOAD( "901465-21.ud8", 0xd000, 0x1000, CRC(36d91855) SHA1(1bb236c72c726e8fb029c68f9bfa5ee803faf0a8) ) // BASIC 4 |
| 968 | ROM_LOAD( "901474-04.ud7", 0xe000, 0x800, CRC(abb000e7) SHA1(66887061b6c4ebef7d6efb90af9afd5e2c3b08ba) ) // Screen Editor (80 columns, CRTC 50Hz, Business Keyb) |
| 969 | ROM_LOAD( "901465-22.ud6", 0xf000, 0x1000, CRC(cc5298a1) SHA1(96a0fa56e0c937da92971d9c99d504e44e898806) ) // Kernal |
| 970 | |
| 971 | ROM_REGION( 0x10000, "m6809", 0 ) |
| 972 | ROM_LOAD( "901898-01.u17", 0xa000, 0x1000, CRC(728a998b) SHA1(0414b3ab847c8977eb05c2fcc72efcf2f9d92871) ) |
| 973 | ROM_LOAD( "901898-02.u18", 0xb000, 0x1000, CRC(6beb7c62) SHA1(df154939b934d0aeeb376813ec1ba0d43c2a3378) ) |
| 974 | ROM_LOAD( "901898-03.u19", 0xc000, 0x1000, CRC(5db4983d) SHA1(6c5b0cce97068f8841112ba6d5cd8e568b562fa3) ) |
| 975 | ROM_LOAD( "901898-04.u20", 0xd000, 0x1000, CRC(f55fc559) SHA1(b42a2050a319a1ffca7868a8d8d635fadd37ec37) ) |
| 976 | ROM_LOAD( "901897-01.u21", 0xe000, 0x800, CRC(b2cee903) SHA1(e8ce8347451a001214a5e71a13081b38b4be23bc) ) |
| 977 | ROM_LOAD( "901898-05.u22", 0xf000, 0x1000, CRC(f42df0cb) SHA1(9b4a5134d20345171e7303445f87c4e0b9addc96) ) |
| 978 | |
| 979 | ROM_REGION( 0x4000, "gfx1", 0 ) |
| 980 | ROM_LOAD( "901640-01.ub3", 0x0000, 0x1000, CRC(ee8229c4) SHA1(bf346f11595a3e65e55d6aeeaa2c0cec807b66c7) ) |
| 981 | ROM_END |
| 982 | |
| 983 | #define rom_mmf9000 rom_superpet |
| 984 | #define rom_sp9000 rom_superpet |
| 985 | |
| 986 | |
| 987 | /* CBM 8296 / 8296D - only ROM loading added */ |
| 988 | ROM_START( cbm8296 ) |
| 989 | ROM_REGION( 0x20000, "main", 0 ) |
| 990 | ROM_LOAD( "324746-01.ue7", 0xb000, 0x3000, CRC(7935b528) SHA1(5ab17ee70467152bf2130e3f48a2aa81e9df93c9) ) // BASIC 4 |
| 991 | ROM_CONTINUE( 0xf000, 0x1000 ) |
| 992 | ROM_LOAD( "901474-04.ue8", 0xe000, 0x800, CRC(c1ffca3a) SHA1(7040b283ba39e9630e3d147f7d076b7abc39bc70) ) // Dated 0384, coincides with 3681 above according to AndrŽ Fachat's notes |
| 993 | |
| 994 | ROM_REGION( 0x4000, "gfx1", 0 ) |
| 995 | ROM_LOAD( "901447-10.uc5", 0x0000, 0x800, CRC(d8408674) SHA1(0157a2d55b7ac4eaeb38475889ebeea52e2593db) ) // Character Generator |
| 996 | ROM_END |
| 997 | |
| 998 | #define rom_cbm8296d rom_cbm8296 |
| 999 | |
| 1000 | |
| 1001 | /* PAL regional variants */ |
| 1002 | |
| 1003 | ROM_START( cbm80ger ) |
| 1004 | ROM_REGION( 0x20000, "main", 0 ) |
| 1005 | ROM_LOAD( "901465-23.ud10", 0xb000, 0x1000, CRC(ae3deac0) SHA1(975ee25e28ff302879424587e5fb4ba19f403adc) ) // BASIC 4 |
| 1006 | ROM_LOAD( "901465-20.ud9", 0xc000, 0x1000, CRC(0fc17b9c) SHA1(242f98298931d21eaacb55fe635e44b7fc192b0a) ) // BASIC 4 |
| 1007 | ROM_LOAD( "901465-21.ud8", 0xd000, 0x1000, CRC(36d91855) SHA1(1bb236c72c726e8fb029c68f9bfa5ee803faf0a8) ) // BASIC 4 |
| 1008 | ROM_LOAD( "german.bin", 0xe000, 0x800, CRC(1c1e597d) SHA1(7ac75ed73832847623c9f4f197fe7fb1a73bb41c) ) |
| 1009 | ROM_LOAD( "901465-22.ud6", 0xf000, 0x1000, CRC(cc5298a1) SHA1(96a0fa56e0c937da92971d9c99d504e44e898806) ) // Kernal |
| 1010 | |
| 1011 | ROM_REGION( 0x2000, "gfx1", 0 ) |
| 1012 | ROM_LOAD( "chargen.de", 0x0000, 0x800, CRC(3bb8cb87) SHA1(a4f0df13473d7f9cd31fd62cfcab11318e2fb1dc) ) |
| 1013 | ROM_END |
| 1014 | |
| 1015 | ROM_START( cbm80swe ) |
| 1016 | ROM_REGION( 0x20000, "main", 0 ) |
| 1017 | ROM_LOAD( "901465-23.ud10", 0xb000, 0x1000, CRC(ae3deac0) SHA1(975ee25e28ff302879424587e5fb4ba19f403adc) ) // BASIC 4 |
| 1018 | ROM_LOAD( "901465-20.ud9", 0xc000, 0x1000, CRC(0fc17b9c) SHA1(242f98298931d21eaacb55fe635e44b7fc192b0a) ) // BASIC 4 |
| 1019 | ROM_LOAD( "901465-21.ud8", 0xd000, 0x1000, CRC(36d91855) SHA1(1bb236c72c726e8fb029c68f9bfa5ee803faf0a8) ) // BASIC 4 |
| 1020 | ROM_LOAD( "swedish.bin", 0xe000, 0x800, CRC(75901dd7) SHA1(2ead0d83255a344a42bb786428353ca48d446d03) ) // It had a label "8000-UD7, SCREEN-04" |
| 1021 | ROM_LOAD( "901465-22.ud6", 0xf000, 0x1000, CRC(cc5298a1) SHA1(96a0fa56e0c937da92971d9c99d504e44e898806) ) // Kernal |
| 1022 | |
| 1023 | ROM_REGION( 0x2000, "gfx1", 0 ) |
| 1024 | ROM_LOAD( "901447-14.ua3", 0x0000, 0x800, CRC(48c77d29) SHA1(aa7c8ff844d16ec05e2b32acc586c58d9e35388c) ) // Character Generator |
| 1025 | ROM_END |
| 1026 | |
| 1027 | /* This had only the CharGen dumped, the editor needs to be dumped as well (and the other ones verified)!! */ |
| 1028 | ROM_START( cbm30nor ) |
| 1029 | ROM_REGION( 0x10000, "main", 0 ) |
| 1030 | ROM_LOAD( "901465-01.ud6", 0xc000, 0x1000, CRC(63a7fe4a) SHA1(3622111f486d0e137022523657394befa92bde44) ) // BASIC 2 |
| 1031 | ROM_LOAD( "901465-02.ud7", 0xd000, 0x1000, CRC(ae4cb035) SHA1(1bc0ebf27c9bb62ad71bca40313e874234cab6ac) ) // BASIC 2 |
| 1032 | ROM_LOAD( "901474-01.ud8", 0xe000, 0x800, BAD_DUMP CRC(05db957e) SHA1(174ace3a8c0348cd21d39cc864e2adc58b0101a9) ) // Screen Editor to be redumped |
| 1033 | ROM_LOAD( "901465-03.ud9", 0xf000, 0x1000, CRC(f02238e2) SHA1(38742bdf449f629bcba6276ef24d3daeb7da6e84) ) // Kernal |
| 1034 | |
| 1035 | ROM_REGION( 0x1000, "gfx1", 0 ) |
| 1036 | ROM_LOAD( "norwegian.uf10", 0x0000, 0x800, CRC(7c00534a) SHA1(2c46bd5f5351530ceb52686e5196de995e28e24f) ) // Character Generator dumped from a CBM 3032 |
| 1037 | ROM_END |
| 1038 | |
| 1039 | /* This had only the CharGen dumped, the editor needs to be dumped as well (and the other ones verified)!! */ |
| 1040 | ROM_START( cbm80hun ) |
| 1041 | ROM_REGION( 0x20000, "main", 0 ) |
| 1042 | ROM_LOAD( "901465-23.ud10", 0xb000, 0x1000, CRC(ae3deac0) SHA1(975ee25e28ff302879424587e5fb4ba19f403adc) ) // BASIC 4 |
| 1043 | ROM_LOAD( "901465-20.ud9", 0xc000, 0x1000, CRC(0fc17b9c) SHA1(242f98298931d21eaacb55fe635e44b7fc192b0a) ) // BASIC 4 |
| 1044 | ROM_LOAD( "901465-21.ud8", 0xd000, 0x1000, CRC(36d91855) SHA1(1bb236c72c726e8fb029c68f9bfa5ee803faf0a8) ) // BASIC 4 |
| 1045 | ROM_LOAD( "901474-04.ud7", 0xe000, 0x800, BAD_DUMP CRC(abb000e7) SHA1(66887061b6c4ebef7d6efb90af9afd5e2c3b08ba) ) // Screen Editor (80 columns, CRTC 50Hz, Business Keyb) |
| 1046 | ROM_LOAD( "901465-22.ud6", 0xf000, 0x1000, CRC(cc5298a1) SHA1(96a0fa56e0c937da92971d9c99d504e44e898806) ) // Kernal |
| 1047 | |
| 1048 | ROM_REGION( 0x2000, "gfx1", 0 ) |
| 1049 | ROM_LOAD( "hungarian.ua3", 0x0000, 0x800, CRC(a02d8122) SHA1(2fedbb59068b457d98f28de79f1817e25f745604) ) // Character Generator |
| 1050 | ROM_END |
| 1051 | |
| 1052 | /* Swedish M6809 roms needed */ |
| 1053 | ROM_START( mmf9000s ) |
| 1054 | ROM_REGION( 0x10000, "main", 0 ) |
| 1055 | ROM_LOAD( "901465-23.ud10", 0xb000, 0x1000, CRC(ae3deac0) SHA1(975ee25e28ff302879424587e5fb4ba19f403adc) ) // BASIC 4 |
| 1056 | ROM_LOAD( "901465-20.ud9", 0xc000, 0x1000, CRC(0fc17b9c) SHA1(242f98298931d21eaacb55fe635e44b7fc192b0a) ) // BASIC 4 |
| 1057 | ROM_LOAD( "901465-21.ud8", 0xd000, 0x1000, CRC(36d91855) SHA1(1bb236c72c726e8fb029c68f9bfa5ee803faf0a8) ) // BASIC 4 |
| 1058 | ROM_LOAD( "swedish.bin", 0xe000, 0x800, CRC(75901dd7) SHA1(2ead0d83255a344a42bb786428353ca48d446d03) ) |
| 1059 | ROM_LOAD( "901465-22.ud6", 0xf000, 0x1000, CRC(cc5298a1) SHA1(96a0fa56e0c937da92971d9c99d504e44e898806) ) // Kernal |
| 1060 | |
| 1061 | ROM_REGION( 0x20000, "m6809", 0 ) |
| 1062 | ROM_LOAD( "901898-01.u17", 0xa000, 0x1000, BAD_DUMP CRC(728a998b) SHA1(0414b3ab847c8977eb05c2fcc72efcf2f9d92871) ) |
| 1063 | ROM_LOAD( "901898-02.u18", 0xb000, 0x1000, BAD_DUMP CRC(6beb7c62) SHA1(df154939b934d0aeeb376813ec1ba0d43c2a3378) ) |
| 1064 | ROM_LOAD( "901898-03.u19", 0xc000, 0x1000, BAD_DUMP CRC(5db4983d) SHA1(6c5b0cce97068f8841112ba6d5cd8e568b562fa3) ) |
| 1065 | ROM_LOAD( "901898-04.u20", 0xd000, 0x1000, BAD_DUMP CRC(f55fc559) SHA1(b42a2050a319a1ffca7868a8d8d635fadd37ec37) ) |
| 1066 | ROM_LOAD( "901897-01.u21", 0xe000, 0x800, BAD_DUMP CRC(b2cee903) SHA1(e8ce8347451a001214a5e71a13081b38b4be23bc) ) |
| 1067 | ROM_LOAD( "901898-05.u22", 0xf000, 0x1000, BAD_DUMP CRC(f42df0cb) SHA1(9b4a5134d20345171e7303445f87c4e0b9addc96) ) |
| 1068 | |
| 1069 | ROM_REGION( 0x4000, "gfx1", 0 ) |
| 1070 | ROM_LOAD("skand.gen.ub3", 0x0000, 0x1000, CRC(da1cd630) SHA1(35f472114ff001259bdbae073ae041b0759e32cb) ) // Actual label was "901640-01 SKAND.GEN." |
| 1071 | ROM_END |
| 1072 | |
| 1073 | |
| 1074 | |
| 1075 | |
| 1076 | /************************************* |
| 1077 | * |
| 1078 | * System configuration(s) |
| 1079 | * |
| 1080 | *************************************/ |
| 1081 | |
| 726 | 1082 | void pet_datasette_getinfo(const mess_device_class *devclass, UINT32 state, union devinfo *info) |
| 727 | 1083 | { |
| 728 | 1084 | switch(state) |
| r3213 | r3214 | |
| 734 | 1090 | } |
| 735 | 1091 | } |
| 736 | 1092 | |
| 737 | | static SYSTEM_CONFIG_START(pet) |
| 1093 | /* Original PET 2001 - Basic 1 - RAM: 4k, 8k */ |
| 1094 | static SYSTEM_CONFIG_START( pet2001 ) |
| 738 | 1095 | CONFIG_DEVICE(pet_cartslot_getinfo) |
| 739 | 1096 | CONFIG_DEVICE(pet_datasette_getinfo) |
| 740 | 1097 | CONFIG_DEVICE(cbmfloppy_device_getinfo) |
| 741 | 1098 | CONFIG_RAM(4 * 1024) |
| 742 | | CONFIG_RAM(8 * 1024) |
| 743 | | CONFIG_RAM(16 * 1024) |
| 744 | | CONFIG_RAM_DEFAULT(32 * 1024) |
| 1099 | CONFIG_RAM_DEFAULT(8 * 1024) |
| 745 | 1100 | SYSTEM_CONFIG_END |
| 746 | 1101 | |
| 747 | | static SYSTEM_CONFIG_START(pet2) |
| 1102 | /* Later PET 2001 - Basic "2" - RAM: 8k, 16k, 32k */ |
| 1103 | static SYSTEM_CONFIG_START( pet2 ) |
| 748 | 1104 | CONFIG_DEVICE(pet_cartslot_getinfo) |
| 749 | 1105 | CONFIG_DEVICE(pet_datasette_getinfo) |
| 750 | 1106 | CONFIG_DEVICE(cbmfloppy_device_getinfo) |
| 751 | | CONFIG_RAM(4 * 1024) |
| 752 | 1107 | CONFIG_RAM(8 * 1024) |
| 753 | 1108 | CONFIG_RAM(16 * 1024) |
| 754 | 1109 | CONFIG_RAM_DEFAULT(32 * 1024) |
| 755 | 1110 | SYSTEM_CONFIG_END |
| 756 | 1111 | |
| 757 | | static SYSTEM_CONFIG_START(pet4) |
| 1112 | /* Early PET 4000 - Basic 4 - RAM: 8k, 16k, 32k */ |
| 1113 | static SYSTEM_CONFIG_START( pet4o ) |
| 758 | 1114 | CONFIG_DEVICE(pet4_cartslot_getinfo) |
| 759 | 1115 | CONFIG_DEVICE(pet_datasette_getinfo) |
| 760 | 1116 | CONFIG_DEVICE(cbmfloppy_device_getinfo) |
| 761 | | CONFIG_RAM(4 * 1024) |
| 762 | 1117 | CONFIG_RAM(8 * 1024) |
| 763 | 1118 | CONFIG_RAM(16 * 1024) |
| 764 | 1119 | CONFIG_RAM_DEFAULT(32 * 1024) |
| 765 | 1120 | SYSTEM_CONFIG_END |
| 766 | 1121 | |
| 767 | | static SYSTEM_CONFIG_START(pet4_32) |
| 1122 | /* Later PET 4000 / PET 8000 - Basic 4 - RAM: 32k expandable (expansion through DIPs currently) */ |
| 1123 | static SYSTEM_CONFIG_START( pet4 ) |
| 768 | 1124 | CONFIG_DEVICE(pet4_cartslot_getinfo) |
| 769 | 1125 | CONFIG_DEVICE(pet_datasette_getinfo) |
| 770 | 1126 | CONFIG_DEVICE(cbmfloppy_device_getinfo) |
| 771 | 1127 | CONFIG_RAM_DEFAULT(32 * 1024) |
| 772 | 1128 | SYSTEM_CONFIG_END |
| 773 | 1129 | |
| 774 | | /* YEAR NAME COMPAT PARENT MACHINE INPUT INIT CONFIG COMPANY FULLNAME */ |
| 775 | | COMP (1977, pet, 0, 0, pet1, pet, pet1, pet, "Commodore Business Machines Co.", "PET2001/CBM20xx Series (Basic 1)", GAME_NO_SOUND) |
| 776 | | COMP (1979, cbm30, 0, pet, pet, pet, pet, pet2, "Commodore Business Machines Co.", "Commodore 30xx (Basic 2)", GAME_NO_SOUND) |
| 777 | | COMP (1979, cbm30b, 0, pet, pet, petb, petb, pet2, "Commodore Business Machines Co.", "Commodore 30xx (Basic 2) (business keyboard)",GAME_NO_SOUND) |
| 778 | | COMP (1982, cbm40, 0, pet, pet40, pet, pet40, pet4, "Commodore Business Machines Co.", "Commodore 40xx FAT (CRTC) 60Hz", GAME_NO_SOUND) |
| 779 | | COMP (1982, cbm40pal, 0, pet, pet40pal, pet, pet40, pet4, "Commodore Business Machines Co.", "Commodore 40xx FAT (CRTC) 50Hz", GAME_NO_SOUND) |
| 780 | | COMP (1979, cbm40b, 0, pet, pet, petb, petb, pet4, "Commodore Business Machines Co.", "Commodore 40xx THIN (business keyboard)", GAME_NO_SOUND) |
| 781 | | COMP (1981, cbm80, 0, pet, pet80, cbm8096, cbm80, pet4_32, "Commodore Business Machines Co.", "Commodore 80xx 60Hz", GAME_NO_SOUND) |
| 782 | | COMP (1981, cbm80pal, 0, pet, pet80pal, cbm8096, cbm80, pet4_32, "Commodore Business Machines Co.", "Commodore 80xx 50Hz", GAME_NO_SOUND) |
| 783 | | COMP (1981, cbm80ger, 0, pet, pet80pal, cbm8096, cbm80, pet4_32, "Commodore Business Machines Co.", "Commodore 80xx German (50Hz)", GAME_NO_SOUND) |
| 784 | | COMP (1981, cbm80swe, 0, pet, pet80pal, cbm8096, cbm80, pet4_32, "Commodore Business Machines Co.", "Commodore 80xx Swedish (50Hz)", GAME_NO_SOUND) |
| 785 | | COMP (1981, superpet, 0, pet, superpet, superpet,superpet,pet4_32, "Commodore Business Machines Co.", "Commodore SP9000/MMF9000 (50Hz)", GAME_NO_SOUND|GAME_NOT_WORKING) |
| 786 | 1130 | |
| 787 | | COMP (198?, mmf9000, 0, pet, superpet, superpet,superpet,pet4, "Commodore Business Machines Co.", "MMF9000 (50Hz) Swedish", GAME_NOT_WORKING) |
| 1131 | |
| 1132 | /*************************************************************************** |
| 1133 | |
| 1134 | Game driver(s) |
| 1135 | |
| 1136 | ***************************************************************************/ |
| 1137 | |
| 1138 | /* YEAR NAME COMPAT PARENT MACHINE INPUT INIT CONFIG COMPANY FULLNAME */ |
| 1139 | |
| 1140 | COMP(1977, pet2001, 0, 0, pet2001, pet, pet2001, pet2001, "Commodore Business Machines Co.", "PET 2001", GAME_NO_SOUND) |
| 1141 | |
| 1142 | COMP(1979, pet2001n, 0, pet2001, pet, pet, pet, pet2, "Commodore Business Machines Co.", "PET 2001-N", GAME_NO_SOUND) |
| 1143 | COMP(1979, pet2001b, 0, pet2001, pet, petb, petb, pet2, "Commodore Business Machines Co.", "PET 2001-B", GAME_NO_SOUND) |
| 1144 | COMP(1979, cbm30, 0, pet2001, pet, pet, pet, pet2, "Commodore Business Machines Co.", "CBM 30xx", GAME_NO_SOUND) |
| 1145 | COMP(1979, cbm30b, 0, pet2001, pet, petb, petb, pet2, "Commodore Business Machines Co.", "CBM 30xx (Business keyboard)", GAME_NO_SOUND) |
| 1146 | COMP(1979, cbm30nor, 0, pet2001, pet, petb, petb, pet2, "Commodore Business Machines Co.", "CBM 30xx (Norway, Business keyboard)", GAME_NO_SOUND | GAME_NOT_WORKING) |
| 1147 | /* So called, THIN-40 */ |
| 1148 | COMP(1980, pet40on, 0, pet2001, pet, pet, pet, pet2, "Commodore Business Machines Co.", "PET 40xx (Basic 4, no CRTC, Normal keyboard)", GAME_NO_SOUND) |
| 1149 | COMP(1980, pet40ob, 0, pet2001, pet, petb, petb, pet2, "Commodore Business Machines Co.", "PET 40xx (Basic 4, no CRTC, Business keyboard)", GAME_NO_SOUND) |
| 1150 | COMP(1980, cbm40o, 0, pet2001, pet, pet, pet, pet2, "Commodore Business Machines Co.", "CBM 40xx (Basic 4, no CRTC, Normal keyboard)", GAME_NO_SOUND) |
| 1151 | COMP(1980, cbm40ob, 0, pet2001, pet, petb, petb, pet2, "Commodore Business Machines Co.", "CBM 40xx (Basic 4, no CRTC, Business keyboard)", GAME_NO_SOUND) |
| 1152 | |
| 1153 | COMP(1981, pet80, 0, pet2001, pet80, cbm8096, pet80, pet4, "Commodore Business Machines Co.", "PET 80xx (Basic 4, CRTC 60Hz, 80 columns)", GAME_NO_SOUND) |
| 1154 | COMP(1981, cbm80, 0, pet2001, pet80pal, cbm8096, pet80, pet4, "Commodore Business Machines Co.", "CBM 80xx (Basic 4, CRTC 50Hz, 80 columns)", GAME_NO_SOUND) |
| 1155 | COMP(1981, cbm80ger, 0, pet2001, pet80pal, cbm8096, pet80, pet4, "Commodore Business Machines Co.", "CBM 80xx (Germany, Basic 4, CRTC 50Hz, 80 columns)", GAME_NO_SOUND) |
| 1156 | COMP(1981, cbm80hun, 0, pet2001, pet80pal, cbm8096, pet80, pet4, "Commodore Business Machines Co.", "CBM 80xx (Hungary, Basic 4, CRTC 50Hz, 80 columns)", GAME_NO_SOUND | GAME_NOT_WORKING) |
| 1157 | COMP(1981, cbm80swe, 0, pet2001, pet80pal, cbm8096, pet80, pet4, "Commodore Business Machines Co.", "CBM 80xx (Sweden, Basic 4, CRTC 50Hz, 80 columns)", GAME_NO_SOUND) |
| 1158 | /* So called, FAT-40 */ |
| 1159 | COMP(1981, pet40b, 0, pet2001, pet80, cbm8096, pet80, pet4, "Commodore Business Machines Co.", "PET 40xx (Basic 4, CRTC 60Hz, 80 columns)", GAME_NO_SOUND) |
| 1160 | COMP(1981, pet40n, 0, pet2001, pet40, pet, pet40, pet4o, "Commodore Business Machines Co.", "PET 40xx (Basic 4, CRTC 60Hz, 40 columns)", GAME_NO_SOUND) |
| 1161 | COMP(1981, cbm40b, 0, pet2001, pet80pal, cbm8096, pet80, pet4, "Commodore Business Machines Co.", "CBM 40xx (Basic 4, CRTC 50Hz, 80 columns)", GAME_NO_SOUND) |
| 1162 | COMP(1981, cbm40n, 0, pet2001, pet40pal, pet, pet40, pet4o, "Commodore Business Machines Co.", "CBM 40xx (Basic 4, CRTC 50Hz, 40 columns)", GAME_NO_SOUND) |
| 1163 | |
| 1164 | COMP(1981, superpet, 0, pet2001, superpet, superpet, superpet, pet4, "Commodore Business Machines Co.", "SuperPET (CRTC 50Hz)", GAME_NO_SOUND | GAME_NOT_WORKING) |
| 1165 | COMP(1981, sp9000, 0, pet2001, superpet, superpet, superpet, pet4, "Commodore Business Machines Co.", "CBM SP9000 (CRTC 50Hz)", GAME_NO_SOUND | GAME_NOT_WORKING) |
| 1166 | COMP(1981, mmf9000, 0, pet2001, superpet, superpet, superpet, pet4, "Commodore Business Machines Co.", "MicroMainFrame 9000 (CRTC 50Hz)", GAME_NO_SOUND | GAME_NOT_WORKING) |
| 1167 | COMP(198?, mmf9000s, 0, pet2001, superpet, superpet, superpet, pet4, "Commodore Business Machines Co.", "MicroMainFrame 9000 (Sweden, CRTC 50Hz)", GAME_NO_SOUND | GAME_NOT_WORKING) |
| 1168 | |
| 1169 | COMP(1984, cbm8296, 0, pet2001, pet80pal, cbm8096, pet80, pet4, "Commodore Business Machines Co.", "CBM 8296 (Basic 4, CRTC 50Hz, 80 columns)", GAME_NO_SOUND | GAME_NOT_WORKING) |
| 1170 | COMP(1984, cbm8296d, 0, pet2001, pet80pal, cbm8096, pet80, pet4, "Commodore Business Machines Co.", "CBM 8296D", GAME_NO_SOUND | GAME_NOT_WORKING) |