Previous 15994 Revisions Next

r3214 Tuesday 9th September, 2008 at 23:03:42 UTC by Fabio Priuli
[PET/CBMB] Largely improved documentation, changed supported sets
to match models, added older BASIC revisions, added some (not working)
system
[src/mess/drivers]c128.c cbmb.c pet.c
[src/mess/includes]cbm.h cbmb.h pet.h
[src/mess/machine]cbm.c cbmb.c pet.c

src/mess/includes/cbm.h
r3213r3214
2424QUICKLOAD_LOAD( cbm_c64 );
2525QUICKLOAD_LOAD( cbm_vc20 );
2626QUICKLOAD_LOAD( cbmb );
27QUICKLOAD_LOAD( cbm500 );
27QUICKLOAD_LOAD( p500 );
2828QUICKLOAD_LOAD( cbm_c65 );
2929
3030#define CBM_QUICKLOAD_DELAY_SECONDS 3
src/mess/includes/cbmb.h
r3213r3214
2525
2626WRITE8_HANDLER ( cbmb_colorram_w );
2727
28DRIVER_INIT( cbm500 );
28DRIVER_INIT( p500 );
2929DRIVER_INIT( cbm600 );
3030DRIVER_INIT( cbm600pal );
3131DRIVER_INIT( cbm600hu );
src/mess/includes/pet.h
r3213r3214
3333extern READ8_HANDLER(superpet_r);
3434extern WRITE8_HANDLER(superpet_w);
3535
36DRIVER_INIT( pet2001 );
3637DRIVER_INIT( pet );
3738DRIVER_INIT( petb );
38DRIVER_INIT( pet1 );
3939DRIVER_INIT( pet40 );
40DRIVER_INIT( cbm80 );
40DRIVER_INIT( pet80 );
4141DRIVER_INIT( superpet );
4242MACHINE_RESET( pet );
4343INTERRUPT_GEN( pet_frame_interrupt );
src/mess/machine/cbmb.c
r3213r3214
4242/* keyboard lines */
4343static int cbmb_keyline_a, cbmb_keyline_b, cbmb_keyline_c;
4444
45static int cbm500 = 0;
45static int p500 = 0;
4646static int cbm700;
4747static int cbm_ntsc;
4848UINT8 *cbmb_basic;
r3213r3214
201201            (input_port_read(Machine, "ROW11") & ~cbmb_keyline_b))
202202       data |= 0x20;
203203
204   if (!cbm500)
204   if (!p500)
205205   {
206206      if (!cbm_ntsc)
207207         data |= 0x40;
r3213r3214
303303
304304   timer_pulse(ATTOTIME_IN_MSEC(10), NULL, 0, cbmb_frame_interrupt);
305305
306   cbm500 = 0;
306   p500 = 0;
307307   cbm700 = 0;
308308   cbm_ieee_open();
309309}
r3213r3214
336336   cbm700_vh_init(machine);
337337}
338338
339DRIVER_INIT( cbm500 )
339DRIVER_INIT( p500 )
340340{
341341   cbmb_common_driver_init(machine);
342   cbm500 = 1;
342   p500 = 1;
343343   cbm_ntsc = 1;
344344   vic6567_init(0, 0, cbmb_dma_read, cbmb_dma_read_color, NULL);
345345}
src/mess/machine/pet.c
r3213r3214
611611   cbm_ieee_open();
612612}
613613
614DRIVER_INIT( pet )
614
615DRIVER_INIT( pet2001 )
615616{
617   pet_basic1 = 1;
616618   pet_common_driver_init(machine);
617619   pia_config(0, &pet_pia0);
618620   pet_vh_init(machine);
619621}
620622
621DRIVER_INIT( petb )
623DRIVER_INIT( pet )
622624{
623625   pet_common_driver_init(machine);
624   pia_config(0, &petb_pia0);
626   pia_config(0, &pet_pia0);
625627   pet_vh_init(machine);
626628}
627629
628DRIVER_INIT( pet1 )
630DRIVER_INIT( petb )
629631{
630   pet_basic1 = 1;
631632   pet_common_driver_init(machine);
632   pia_config(0, &pet_pia0);
633   pia_config(0, &petb_pia0);
633634   pet_vh_init(machine);
634635}
635636
r3213r3214
640641   pet_vh_init(machine);
641642}
642643
643DRIVER_INIT( cbm80 )
644DRIVER_INIT( pet80 )
644645{
645646   cbm8096 = 1;
646647   pet_memory = memory_region(machine, "main");
src/mess/machine/cbm.c
r3213r3214
151151   return general_cbm_loadsnap(image, file_type, quickload_size, 0x10000, cbmb_quick_sethiaddress);
152152}
153153
154QUICKLOAD_LOAD( cbm500 )
154QUICKLOAD_LOAD( p500 )
155155{
156156   return general_cbm_loadsnap(image, file_type, quickload_size, 0, cbmb_quick_sethiaddress);
157157}
src/mess/drivers/cbmb.c
r3213r3214
99***************************************************************************/
1010
1111/*
12CBM 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
2612
27CBM 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
132008 - Driver Updates
14---------------------
3315
34CBM 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
18are MANY more models in this family... but I haven't found confirmations, nor
19dumps)
3720
38CBM 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]
4322
44CBM B or II Series
45B128-80LP/610/B256-80LP/620
46Pet700 Series B128-80HP/710/B256-80HP/720/BX256-80HP/730
47---------------------------
48M6509 2 MHZ
49CRTC6545 6845 video chip
50RS232 Port/6551
51TAPE Port
52IEEE488 Port
53ROM Port
54Monitor Port
55Audio
56reset
57internal user port
58internal processor/dram slot
59 optional 8088 cpu card
602 internal system bus slots
23* Commodore CBM-II Series (1983)
6124
62LP/600 series
63-------------
64case with integrated powersupply
25  Notice that, despite the Datasette port present on the board, the BASIC ROMs
26miss the routines needed to actually load from a tape
6527
66HP/700 series
67-------------
68separated keyboard, integrated monitor, no monitor port
69no standard monitor with tv frequencies, 25 character lines
70with 14 lines per character (like hercules/pc mda)
28  Various models:
7129
72B128-80LP/610
73-------------
74128 KB RAM
30U.S. name         EU name      RAM
7531
76B256-80LP/620
77-------------
78256 KB RAM
32B500 (*)         -         128k
33B128            CBM 610      128k
34B256            CBM 620      256k
35B128-80HP (**)      CBM 710      128k
36B256-80HP (**)      CBM 720      256k
37BX256-80HP (***)   CBM 730      256k
7938
80B128-80HP/710
81-------------
82128 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
8346
84B256-80HP/720
85-------------
86256 KB RAM
47CPU: MOS 6509 (2 mhz)
48RAM: 128 Kilobytes (Expandable to 256k internal, 704k external)
49ROM: 24 Kilobytes
50Video: MOS 6545 CTRC (Text: 80 columns, 25 rows)
51Sound: MOS 6581 SID (3 voice stereo synthesizer/digital sound capabilities)
52Ports: 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
55Keyboard: Full-sized 102 key QWERTY (19 key numeric keypad!; 4 direction
56   cursor-pad)
8757
88BX256-80LP/730
89--------------
90(720 with cpu upgrade)
918088 upgrade CPU
9258
93CBM Pet II Series
94500/505/515/P500/B128-40/B256-40
95--------------------------------
96LP/600 case
97videochip vic6567
982 gameports
99m6509 clock 1? MHZ
59* Commodore PET-II Series (1983)
10060
101CBM 500
102-------
103256 KB RAM
61  This series only features the P500 machine, which never even reached the
62market. In this machine, the Datasette port can be used (the BASIC ROMs
63contain the necessary routines). It is also probably know as C128-40.
64 
65CPU: CSG 6509 (1 Mhz)
66RAM: 128 kilobytes, expandable to 720k
67ROM: 24 kilobytes
68Video: CSG 6569 "VIC-II" (320 x 200 Hi-Resolution; 40 columns text; Palette
69   of 16 colors)
70Sound: CSG 6581 "SID" (3 voice stereo synthesizer/digital sound capabilities)
71Ports: 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)
74Keyboard: Full-sized 102 key QWERTY (19 key numeric keypad!; 4 direction
75   cursor-pad)
10476
105CBM 505/P500
106-------
10764 KB RAM
77[To Do]
10878
109CBM 510
110-------
111128 KB RAM
79* Support is still missing for: Sound, IEEE488, Floppy, internal slots
11280
81* Emulate 8088 co-processor for BX-256HP and eventually add its European
82   counterpart CBM 730
11383
114state
115-----
116keyboard
117no sound
118no tape support
119 no system roms supporting build in tape connector found
120no ieee488 support
121 no floppy support
122no internal userport support
123no internal slot1/slot2 support
124no internal cpu/dram slot support
125preliminary quickloader
84* Add better P500 emulation (almost everything: memory access, inputs,
85   Datasette, etc.)
12686
127state 600/700
128-------------
129dirtybuffer 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
13289
133state 500
134-----
135rasterline based video system
136 no lightpen support
137 no rasterline support
138 memory access not complete
139no 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
145no 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*/
15096
151Keys
152----
153Some PC-Keyboards does not behave well when special two or more keys are
154pressed at the same time
155(with my keyboard printscreen clears the pressed pause key!)
15697
157when problems start with -log and look into error.log file
158 */
159
16098#include "driver.h"
16199#include "cpu/m6502/m6509.h"
162100#include "sound/sid6581.h"
r3213r3214
172110
173111#include "includes/cbmb.h"
174112
113
114/*************************************
115 *
116 *  Main CPU memory handlers
117 *
118 *************************************/
119
120
175121static ADDRESS_MAP_START( cbmb_readmem , ADDRESS_SPACE_PROGRAM, 8)
176122   AM_RANGE(0x00000, 0xf07ff) AM_READ( SMH_RAM )
177123#if 0
r3213r3214
219165   AM_RANGE(0xfe000, 0xfffff) AM_WRITE( SMH_ROM) AM_BASE( &cbmb_kernal )
220166ADDRESS_MAP_END
221167
222static ADDRESS_MAP_START( cbm500_readmem , ADDRESS_SPACE_PROGRAM, 8)
168static ADDRESS_MAP_START( p500_readmem , ADDRESS_SPACE_PROGRAM, 8)
223169   AM_RANGE(0x00000, 0xf07ff) AM_READ( SMH_RAM )
224170#if 0
225171   AM_RANGE(0xf0800, 0xf0fff) AM_READ( SMH_ROM )
r3213r3214
243189   AM_RANGE(0xfe000, 0xfffff) AM_READ( SMH_ROM )
244190ADDRESS_MAP_END
245191
246static ADDRESS_MAP_START( cbm500_writemem , ADDRESS_SPACE_PROGRAM, 8)
192static ADDRESS_MAP_START( p500_writemem , ADDRESS_SPACE_PROGRAM, 8)
247193   AM_RANGE(0x00000, 0x1ffff) AM_WRITE( SMH_RAM )
248194   AM_RANGE(0x20000, 0x2ffff) AM_WRITE( SMH_NOP )
249195   AM_RANGE(0x30000, 0x7ffff) AM_WRITE( SMH_RAM )
r3213r3214
275221 *************************************/
276222
277223
278static INPUT_PORTS_START (cbm500)
224static INPUT_PORTS_START( p500 )
279225   PORT_INCLUDE( cbmb_keyboard )         /* ROW0 -> ROW11 */
280226
281227   PORT_INCLUDE( cbmb_special )         /* SPECIAL */
r3213r3214
286232INPUT_PORTS_END
287233
288234
289static INPUT_PORTS_START (cbm600)
290   PORT_INCLUDE( cbm500 )
235static INPUT_PORTS_START( cbm600 )
236   PORT_INCLUDE( p500 )
291237
292238   PORT_MODIFY("ROW0")
293239   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_NAME("Graph  Norm") PORT_CODE(KEYCODE_PGUP)
r3213r3214
295241INPUT_PORTS_END
296242
297243
298static INPUT_PORTS_START (cbm600pal)
299   PORT_INCLUDE( cbm500 )
244static INPUT_PORTS_START( cbm600pal )
245   PORT_INCLUDE( p500 )
300246
301247   PORT_MODIFY("ROW0")
302248   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_NAME("Graph  Norm") PORT_CODE(KEYCODE_HOME)
r3213r3214
304250INPUT_PORTS_END
305251
306252
307static INPUT_PORTS_START (cbm700)
308   PORT_INCLUDE( cbm500 )
253static INPUT_PORTS_START( cbm700 )
254   PORT_INCLUDE( p500 )
309255
310256   PORT_MODIFY("ROW0")
311257   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_NAME("RVS  Off") PORT_CODE(KEYCODE_HOME)
r3213r3214
314260
315261
316262
263/*************************************
264 *
265 *  Graphics definitions
266 *
267 *************************************/
268
269
317270static const unsigned char cbm700_palette[] =
318271{
319272   0,0,0, /* black */
r3213r3214
373326   }
374327}
375328
376ROM_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))
383ROM_END
384329
385ROM_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))
392ROM_END
393
394ROM_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))
400ROM_END
401
402ROM_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))
409ROM_END
410
411ROM_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))
418ROM_END
419
420ROM_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))
427ROM_END
428
429
430ROM_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))
436ROM_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
505330static const mc6845_interface cbm600_crtc = {
506331   "main",
507332   XTAL_18MHz / 8 /*?*/,   /*  I do not know if this is correct, please verify */
r3213r3214
527352};
528353
529354
355/*************************************
356 *
357 *  Machine driver
358 *
359 *************************************/
360
361
530362static MACHINE_DRIVER_START( cbm600 )
531363   /* basic machine hardware */
532364   MDRV_CPU_ADD("main", M6509, 7833600)        /* 7.8336 Mhz */
r3213r3214
570402
571403
572404static MACHINE_DRIVER_START( cbm700 )
573   MDRV_IMPORT_FROM( cbm600pal )
405   MDRV_IMPORT_FROM( cbm600 )
574406   MDRV_SCREEN_MODIFY("main")
575407   MDRV_SCREEN_SIZE(720, 350)
576408   MDRV_SCREEN_VISIBLE_AREA(0, 720 - 1, 0, 350 - 1)
r3213r3214
583415MACHINE_DRIVER_END
584416
585417
586static MACHINE_DRIVER_START( cbm500 )
418static MACHINE_DRIVER_START( cbm700pal )
419   MDRV_IMPORT_FROM( cbm700 )
420   MDRV_SCREEN_MODIFY("main")
421   MDRV_SCREEN_REFRESH_RATE(50)
422MACHINE_DRIVER_END
423
424
425static MACHINE_DRIVER_START( bx256hp )
426   MDRV_IMPORT_FROM( cbm700 )
427
428//   MDRV_CPU_ADD("8088", I8088, /* ? */)
429MACHINE_DRIVER_END
430
431
432static MACHINE_DRIVER_START( p500 )
587433   /* basic machine hardware */
588434   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)
590436   MDRV_CPU_PERIODIC_INT(vic2_raster_irq, VIC6567_HRETRACERATE)
591437   MDRV_INTERLEAVE(0)
592438
r3213r3214
604450   MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
605451
606452   /* devices */
607   MDRV_QUICKLOAD_ADD(cbm500, "p00,prg", CBM_QUICKLOAD_DELAY_SECONDS)
453   MDRV_QUICKLOAD_ADD(p500, "p00,prg", CBM_QUICKLOAD_DELAY_SECONDS)
608454MACHINE_DRIVER_END
609455
610456
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
468ROM_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) )
476ROM_END
477
478ROM_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) )
491ROM_END
492
493ROM_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) )
504ROM_END
505
506
507#define rom_cbm610      rom_b128
508#define rom_cbm620      rom_b256
509
510
511ROM_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) )
518ROM_END
519
520
521/* High Profile Series - CBM 700 Series */
522/* chargen: 8x16 chars for 9x14 size */
523
524ROM_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) )
537ROM_END
538
539ROM_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) )
550ROM_END
551
552#define rom_cbm710      rom_b128hp
553#define rom_cbm720      rom_b256hp
554
555
556/* BX-256HP - only ROM loading added */
557ROM_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) )
571ROM_END
572
573ROM_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) )
581ROM_END
582
583ROM_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) )
595ROM_END
596
597
598
599/*************************************
600 *
601 *  System configuration(s)
602 *
603 *************************************/
604
605
611606static SYSTEM_CONFIG_START(cbmb)
612607   CONFIG_DEVICE(cbmb_cartslot_getinfo)
613608SYSTEM_CONFIG_END
614609
615static SYSTEM_CONFIG_START(cbm500)
610static SYSTEM_CONFIG_START(p500)
616611   CONFIG_DEVICE(cbmb_cartslot_getinfo)
617612SYSTEM_CONFIG_END
618613
619/*     YEAR     NAME      PARENT    COMPAT  MACHINE     INPUT       INIT        CONFIG  COMPANY                             FULLNAME */
620COMP (1983,   cbm500,     0,      0,      cbm500,      cbm500,      cbm500,      cbm500,   "Commodore Business Machines Co.",   "Commodore B128-40/Pet-II/P500 60Hz",      GAME_NOT_WORKING)
621COMP (1983,   cbm610,   0,      0,      cbm600,    cbm600,    cbm600,    cbmb,   "Commodore Business Machines Co.",  "Commodore B128-80LP/610 60Hz",             GAME_NOT_WORKING)
622COMP (1983,   cbm620,     cbm610,   0,      cbm600pal,   cbm600pal,   cbm600pal,   cbmb,   "Commodore Business Machines Co.",   "Commodore B256-80LP/620 50Hz",   GAME_NOT_WORKING)
623COMP (1983,   cbm620hu, cbm610,   0,      cbm600pal,   cbm600pal,   cbm600hu,   cbmb,   "Commodore Business Machines Co.",   "Commodore B256-80LP/620 Hungarian 50Hz",   GAME_NOT_WORKING)
624COMP (1983,   cbm710,   cbm610,   0,      cbm700,    cbm700,    cbm700,    cbmb,   "Commodore Business Machines Co.",  "Commodore B128-80HP/710",                  GAME_NOT_WORKING)
625COMP (1983,   cbm720,     cbm610,   0,      cbm700,      cbm700,      cbm700,      cbmb,   "Commodore Business Machines Co.",   "Commodore B256-80HP/720",               GAME_NOT_WORKING)
626COMP (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
623COMP( 1983,   b500,     cbm610,   0,  cbm600,     cbm600,     cbm600,     cbmb,   "Commodore Business Machines Co.",  "B500 (proto, 60Hz)", GAME_NOT_WORKING)
624COMP( 1983,   b128,     cbm610,   0,  cbm600pal,  cbm600pal,  cbm600pal,  cbmb,   "Commodore Business Machines Co.",   "B128 (60Hz)", GAME_NOT_WORKING)
625COMP( 1983,   b256,     cbm610,   0,  cbm600pal,  cbm600pal,  cbm600hu,   cbmb,   "Commodore Business Machines Co.",   "B256 (60Hz)", GAME_NOT_WORKING)
626COMP( 1983,   cbm610,   0,        0,  cbm600,     cbm600,     cbm600,     cbmb,   "Commodore Business Machines Co.",  "CBM 610 (50Hz)", GAME_NOT_WORKING)
627COMP( 1983,   cbm620,   cbm610,   0,  cbm600pal,  cbm600pal,  cbm600pal,  cbmb,   "Commodore Business Machines Co.",   "CBM 620 (50Hz)", GAME_NOT_WORKING)
628COMP( 1983,   cbm620hu, cbm610,   0,  cbm600pal,  cbm600pal,  cbm600hu,   cbmb,   "Commodore Business Machines Co.",   "CBM 620 (Hungary, 50Hz)", GAME_NOT_WORKING)
629
630COMP( 1983, b128hp,   cbm610,   0,  cbm700,     cbm700,     cbm700,     cbmb,   "Commodore Business Machines Co.",  "B128-80HP (60Hz)", GAME_NOT_WORKING)
631COMP( 1983, b256hp,   cbm610,   0,  cbm700,     cbm700,     cbm700,     cbmb,   "Commodore Business Machines Co.",   "B256-80HP (60Hz)", GAME_NOT_WORKING)
632COMP( 1983, cbm710,   cbm610,   0,  cbm700pal,  cbm700,     cbm700,     cbmb,   "Commodore Business Machines Co.",  "CBM 710 (50Hz)", GAME_NOT_WORKING)
633COMP( 1983, cbm720,   cbm610,   0,  cbm700pal,  cbm700,     cbm700,     cbmb,   "Commodore Business Machines Co.",   "CBM 720 (50Hz)", GAME_NOT_WORKING)
634COMP( 1983, cbm720se, cbm610,   0,  cbm700pal,  cbm700,     cbm700,     cbmb,   "Commodore Business Machines Co.",   "CBM 720 (Sweden/Finland, 50Hz)", GAME_NOT_WORKING)
635
636COMP( 1983,   bx256hp,  cbm610,   0,  bx256hp,    cbm700,     cbm700,     cbmb,   "Commodore Business Machines Co.",   "BX256-80HP (60Hz)", GAME_NOT_WORKING)
637
638COMP( 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/c128.c
r3213r3214
639639   ROM_SYSTEM_BIOS( 0, "default", "rev. 1" )
640640   ROMX_LOAD( "318018-04.bin", 0x100000, 0x4000, CRC(9f9c355b) SHA1(d53a7884404f7d18ebd60dd3080c8f8d71067441), ROM_BIOS(1) )         // BASIC lo
641641   ROMX_LOAD( "318019-04.bin", 0x104000, 0x4000, CRC(6e2c91a7) SHA1(c4fb4a714e48a7bf6c28659de0302183a0e0d6c0), ROM_BIOS(1) )         // BASIC hi
642//   ROMX_LOAD( "251913-01.bin", 0x108000, 0x4000, CRC(0010ec31) SHA1(765372a0e16cbb0adf23a07b80f6b682b39fbf88), ROM_BIOS(1) )         // C64 OS ROM
643642   ROMX_LOAD( "318020-05.bin", 0x10c000, 0x4000, CRC(ba456b8e) SHA1(ceb6e1a1bf7e08eb9cbc651afa29e26adccf38ab), ROM_BIOS(1) )         // Kernal
644643   ROM_SYSTEM_BIOS( 1, "rev0", "rev. 0" )
645644   ROMX_LOAD( "318018-02.bin", 0x100000, 0x4000, CRC(2ee6e2fa) SHA1(60e1491e1d5782e3cf109f518eb73427609badc6), ROM_BIOS(2) )         // BASIC lo
646645   ROMX_LOAD( "318019-02.bin", 0x104000, 0x4000, CRC(d551fce0) SHA1(4d223883e866645328f86a904b221464682edc4f), ROM_BIOS(2) )         // BASIC hi
647//   ROMX_LOAD( "251913-01.bin", 0x108000, 0x4000, CRC(0010ec31) SHA1(765372a0e16cbb0adf23a07b80f6b682b39fbf88), ROM_BIOS(2) )         // C64 OS ROM
648646   ROMX_LOAD( "318020-03.bin", 0x10c000, 0x4000, CRC(1e94bb02) SHA1(e80ffbafae068cc0e42698ec5c5c39af46ac612a), ROM_BIOS(2) )         // Kernal
649647
650648   ROM_LOAD( "251913-01.bin", 0x108000, 0x4000, CRC(0010ec31) SHA1(765372a0e16cbb0adf23a07b80f6b682b39fbf88) )      // C64 OS ROM
r3213r3214
682680   ROM_SYSTEM_BIOS( 0, "default", "rev. 1" )
683681   ROMX_LOAD( "318018-04.bin", 0x100000, 0x4000, CRC(9f9c355b) SHA1(d53a7884404f7d18ebd60dd3080c8f8d71067441), ROM_BIOS(1) )         // BASIC lo
684682   ROMX_LOAD( "318019-04.bin", 0x104000, 0x4000, CRC(6e2c91a7) SHA1(c4fb4a714e48a7bf6c28659de0302183a0e0d6c0), ROM_BIOS(1) )         // BASIC hi
685//   ROMX_LOAD( "251913-01.bin", 0x108000, 0x4000, CRC(0010ec31) SHA1(765372a0e16cbb0adf23a07b80f6b682b39fbf88), ROM_BIOS(1) )         // C64 OS ROM
686683   ROMX_LOAD( "315078-02.bin", 0x10c000, 0x4000, CRC(b275bb2e) SHA1(78ac5dcdd840b092ba1ee6d19b33af079613291f), ROM_BIOS(1) )         // Kernal
687684   ROM_SYSTEM_BIOS( 1, "rev0", "rev. 0" )
688685   ROMX_LOAD( "318018-02.bin", 0x100000, 0x4000, CRC(2ee6e2fa) SHA1(60e1491e1d5782e3cf109f518eb73427609badc6), ROM_BIOS(2) )         // BASIC lo
689686   ROMX_LOAD( "318019-02.bin", 0x104000, 0x4000, CRC(d551fce0) SHA1(4d223883e866645328f86a904b221464682edc4f), ROM_BIOS(2) )         // BASIC hi
690//   ROMX_LOAD( "251913-01.bin", 0x108000, 0x4000, CRC(0010ec31) SHA1(765372a0e16cbb0adf23a07b80f6b682b39fbf88), ROM_BIOS(2) )         // C64 OS ROM
691687   ROMX_LOAD( "315078-01.bin", 0x10c000, 0x4000, CRC(a51e2168) SHA1(bcf82a89a8fc5d086bec2ff3bcbdecc8af2be3af), ROM_BIOS(2) )         // Kernal
692688
693689   ROM_LOAD( "251913-01.bin", 0x108000, 0x4000, CRC(0010ec31) SHA1(765372a0e16cbb0adf23a07b80f6b682b39fbf88) )      // C64 OS ROM
r3213r3214
705701   ROM_LOAD( "251913-01.bin", 0x108000, 0x4000, BAD_DUMP CRC(0010ec31) SHA1(765372a0e16cbb0adf23a07b80f6b682b39fbf88) )         // C64 OS ROM
706702   ROM_SYSTEM_BIOS( 0, "fin1", "set 1" )
707703   ROMX_LOAD( "editor.finnish1.bin", 0x10c000, 0x1000, BAD_DUMP CRC(71002a97), ROM_BIOS(1) )
708//   ROMX_LOAD( "z80bios.bin", 0x10d000, 0x1000, CRC(c38d83c6), BAD_DUMP ROM_BIOS(1) )
709704   ROMX_LOAD( "kernalpart.finnish1.bin", 0x10e000, 0x2000, BAD_DUMP CRC(167b8364), ROM_BIOS(1) )
710705   ROM_SYSTEM_BIOS( 1, "fin2", "set 2" )
711706   ROMX_LOAD( "editor.finnish2.bin", 0x10c000, 0x1000, BAD_DUMP CRC(b7ff5efe), ROM_BIOS(2) )
712//   ROMX_LOAD( "z80bios.bin", 0x10d000, 0x1000, BAD_DUMP CRC(c38d83c6), ROM_BIOS(2) )
713707   ROMX_LOAD( "kernalpart.finnish2.bin", 0x10e000, 0x2000, BAD_DUMP CRC(7b0d2140), ROM_BIOS(2) )
714708
715709   ROM_LOAD( "z80bios.bin", 0x10d000, 0x1000, BAD_DUMP CRC(c38d83c6) )
src/mess/drivers/pet.c
r3213r3214
1111***************************************************************************/
1212
1313/*
14PET 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
4014
41CBM 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
152008 - Driver Updates
16---------------------
4617
47CBM 4000 Thin Series: 9" Screen, 40 Column Only, Basic 4.0.
48CBM 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
55CBM 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
21for a more comprehensive list of models)
6922
70SuperPet 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]
7324
74CBM 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
7827
28  PET 2001, the first of the series came initially with a calculator style
29keyboard, later changed to a larger and better full-stroke one (actually
30it was available in two versions: Businness and Home Computer, the latter
31also containing graphics on the keys). Plenty of models were released in
32this series, depending on the RAM size, the keyboard type and the screen
33dimension (see below).
7934
35CPU: MOS 6502 (1 Mhz)
36RAM: 4K and 8K early models (Expandable to 32k addressable, more banked);
37   8K, 16K, 32K later models (Expandable again to larger RAM config)
38ROM: 18 kilobytes early models; 20 kilobytes later ones
39Video: MOS Technology 6545 CRTC (9" Monochrome display; 40 columns x 25
40   rows )
41Sound: None ine arlier models; Piezo electronic speaker later ones(One
42   square wave voice; Three octaves)
43Ports: MOS 6520 PIA, MOS 6522 VIA (IEEE-488 edge-connector Port; 2
44   Commodore Datasette ports; 'EXPANSION' port; CBM parallel
45   programmable "User" port
46Keyboard: "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 )
48Additional hardware: Datasette
8049
81basically 3 types of motherboards
82no crtc (only 60 hz?)
83crtc 40 columns ( 50 or 60 hz )
84crtc 80 columns ( 60 or 60 hz )
85(board version able to do 40 and 80 columns)
50Model Table (*):
8651
87There appears to be a 16MHz clock attached to the 6845-type devices.
52PET 2001-4K      Calculator Keyboard, Black Trim
53PET 2001-8K      Calculator Keyboard, Blue Trim, 9" Screen
54PET 2001-8C      Calculator Keyboard, Blue Trim, 9" Screen B&W (**)
55PET 2001B-8      Business Keyboard, 12" Screen
56PET 2001B-16   Business Keyboard, 12" Screen
57PET 2001B-32   Business Keyboard, 12" Screen (***)
58PET 2001N-8      Home Computer Keyboard, 12" Screen
59PET 2001N-16   Home Computer Keyboard, 9" and 12" Screen
60PET 2001N-32   Home Computer Keyboard, BASIC 4.0
8861
893 types of basic roms
90basic 1 (only 40 columns, no crtc, with graphics)
91basic 2 (only 40 columns version, no crtc)
92basic 4
62Notes:   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
9366
942 types of keyboard and roms
95normal (with graphic) (80 columns versions only by 3 parties)
96business
97different 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
9871
99state
100-----
101keyboard
102no sound (were available)
103no tape drives
104no ieee488 interface
105 no floppy disk support
106quickloader
10772
108Keys
109----
110Some PC-Keyboards does not behave well when special two or more keys are
111pressed 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
11374
114when problems start with -log and look into error.log file
115 */
75  In Europe, Philips was already selling a machine called PET, so they
76forced Commodore to change name. The result was the CBM 30XX Series, where
77XX is equal to the RAM size. These were basically PET models with 9" Screen
78and upgraded ROMs. There also existed a German CBM 3001, which was a PET
792001, B or N. Notice that these systems used to boot
11680
81CPU: MOS 6502 (1Mhz)
82RAM: 8K, 16k, and 32k models (Expandable to even more banked memory)
83ROM: 20 Kilobytes
84Video: MOS Technology 6545 CRTC (9" Monochrome display; 40 columns x 25 rows)
85Sound: Piezo electronic speaker (One square wave voice; Three octaves)
86Ports: MOS 6520 PIA, MOS 6522 VIA (IEEE-488 edge-connector Port; 2 Commodore
87   Datasette ports; 'EXPANSION' port; CBM parallel programmable "User" port)
88Keyboard: 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
95quite similar to the previous ones (except for the new BASIC version), the
96machines with design 3 were quite different: there was CRTC support, it was
97possible to upgrade to 80 cols and a piezo beeper.
98
99CPU: MOS 6502 (1 Mhz)
100RAM: 8K, 16k, and 32k models (Expandable to even more banked memory)
101ROM: 20 Kilobytes
102Video: MOS Technology 6545 CRTC (9" and 12" Monochrome displays; 40
103   columns x 25 rows)
104Sound: Piezo electronic speaker (One square wave voice; Three octaves)
105Ports: MOS 6520 PIA, MOS 6522 VIA (IEEE-488 edge-connector Port; 2 Commodore
106   Datasette ports; 'EXPANSION' port; CBM parallel programmable "User" port)
107Keyboard: 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
113ROM. It was possible to expand it to a 8096.
114
115CPU: MOS 6502 (1 mhz)
116RAM: 32k standard (Expandable to even more banked memory)
117ROM: 20 Kilobytes
118Video: MOS Technology 6545 CRTC (12" Monochrome displays; 80 columns x 25 rows)
119Sound: Piezo electronic speaker (One square wave voice; Three octaves)
120Ports: MOS 6520 PIA, MOS 6522 VIA (IEEE-488 edge-connector Port; 2 Commodore
121   Datasette ports; 'EXPANSION' port; CBM parallel programmable "User" port)
122Keyboard: 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
128with design 3 didn't fit very well the new case and required extra cables.
129It was possible to expand it to a 8096-SK.
130
131CPU: MOS 6502 (1 Mhz)
132RAM: 32k standard (8096 expanded to 96k, 64k is banked memory)
133ROM: 20 Kilobytes
134Video: MOS Technology 6545 CRTC (12" Monochrome display; 80 columns x 25 rows)
135Sound: Piezo electronic speaker (One square wave voice; Three octaves)
136Ports: MOS 6520 PIA, MOS 6522 VIA (IEEE-488 square-connector Port; 2 Commodore
137   Datasette ports; 'EXPANSION' port; CBM parallel programmable "User" port)
138Keyboard: 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
144CBM 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
150sold in Italy had 134kB of RAM.
151
152CPU: MOS Technology 6502 & 6809 (1 Mhz clock speeds)
153RAM: 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)
156ROM: 48 kilobytes
157Video: MOS Technology 6545 CRTC (12" Monochrome display; 80 columns x 25 rows;
158   3+ character sets, 256 characters each)
159Sound: Piezo electronic speaker (One square wave voice; Three octaves)
160Ports: 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)
163Keyboard: 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
176PET universal board. It fits into the separate keyboard case, and directly holds
177128k RAM, of which 96k can be used as in the 8096. In addition, using "user
178jumpers" on the motherboard, the ROM can be completely switched off to access
179the RAM "under the ROM", so that the complete 128k RAM are accessible. The "user
180jumpers" could be set to connect to the userport, so this could even be done
181under program control.
182
183CPU: MOS 6502 (1 Mhz)
184RAM: 160K (32k standard)
185ROM: 24 Kilobytes
186Video: MOS Technology 6545 CRTC (12" Monochrome displays; 80 columns x 25 rows)
187Sound: Piezo electronic speaker (One square wave voice; Three octaves)
188Ports: MOS 6520 PIA, MOS 6522 VIA (IEEE-488 Port; Commodore Datasette port;
189   'EXPANSION' port; CBM parallel programmable "User" port)
190Keyboard: Full 73 key QWERTY (11 key numeric keypad!; 4 direction 2-key cursor-pad)
191
192see http://www.6502.org/users/andre/petindex/8x96.html and
193http://www.sothius.com/hypertxt/welcome.html?./additional/cbm8296addition.html for
194more 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
204as 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
217All these models can be reduced to four board types (source William Levak's
218doc, layouts from PETFAQ):
219
220Static Board (PET 2001)
221-----------------------
222
223Four variations based on type of RAM(6550 or 2114) and ROM(6540 or 2316B).
2244K or 8K static RAM (selected by jumper).
22540 column display
226A video interrupt interferes with disk drive operation.
227Display timing not compatible with Basic 4.0.
228ROM 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     !                    !
251tape #       RAM MEMORY   !
252 #1  #                    !
253     +--------------------+
254
255
256Dynamic Board (PET/CBM 2001-N/2001-B/4000)
257------------------------------------------
258
2594K, 8K, 16K or 32K dynamic RAM (selected by jumper).
26040 column display
261Can run all versions of 40 column Basic (Basic 1 must be copied to 4K ROMs)
262Can be jumpered to replace the older board.
263ROM 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     !                    !
286tape #      RAM MEMORY    !
287 #2  #                    !
288     +--------------------+
289
290
29180 Column Board (CBM 8000)
292--------------------------
293
29416K or 32K RAM (selected by jumper).
295Uses CTRC to generate 80 column display.
296Can only run the 80 column version of Basic 4.0.
297Not compatible with older boards.
298ROM 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
307The layout is the same of the one used in Universal Boards below.
308
309
310Universal Board (CBM 8000/PET 4000-12)
311--------------------------------------
312
313This is an 80 column board with jumpers for different configurations.
31416K or 32K RAM (selected by jumper).
315Uses CTRC to generate 40 or 80 column display (selected by jumpers).
316Can only run Basic 4.0 versions that support the CRTC.
317Can be jumpered to replace all older boards.
318ROM 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
361this is the case, we need to support the splitted versions of the ROMs as
362an alternative BIOS to pet2001.
363+ Did final PET 40XX & CBM 40XX with 40 Columns & CRTC support had business or
364normal 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?
3728064?
373+ did a CBM 210 exist?
374
375*/
376
377
117378#include "driver.h"
118379
119380#include "includes/cbm.h"
r3213r3214
126387#include "includes/cbmieeeb.h"
127388/*#include "includes/vc1541.h" */
128389
390
391/*************************************
392 *
393 *  Main CPU memory handlers
394 *
395 *************************************/
396
129397static ADDRESS_MAP_START(pet_mem , ADDRESS_SPACE_PROGRAM, 8)
130398   AM_RANGE(0x8000, 0x83ff) AM_MIRROR(0x0c00) AM_RAM AM_BASE(&videoram) AM_SIZE(&videoram_size )
131399   AM_RANGE(0xa000, 0xe7ff) AM_ROM
132400   AM_RANGE(0xe810, 0xe813) AM_READWRITE(pia_0_r, pia_0_w)
133401   AM_RANGE(0xe820, 0xe823) AM_READWRITE(pia_1_r, pia_1_w)
134402   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 */
136404   AM_RANGE(0xf000, 0xffff) AM_ROM
137405ADDRESS_MAP_END
138406
r3213r3214
263531
264532
265533
534/*************************************
535 *
536 *  Graphics definitions
537 *
538 *************************************/
539
540
266541static const unsigned char pet_palette[] =
267542{
268543   0,0,0, /* black */
r3213r3214
360635   return 0;
361636}
362637
363/* basic 1 */
364ROM_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))
375ROM_END
376638
377/* basic 2 */
378ROM_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))
386ROM_END
639/*************************************
640 *
641 *  Machine driver
642 *
643 *************************************/
387644
388/* basic 2 business */
389ROM_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))
397ROM_END
398
399/* basic 4 business */
400ROM_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))
409ROM_END
410
411/* basic 4 crtc*/
412ROM_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))
421ROM_END
422
423/* basic 4 crtc 50 hz */
424ROM_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))
433ROM_END
434
435/* basic 4 business 80 columns */
436ROM_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))
445ROM_END
446
447/* basic 4 business 80 columns 50 hz */
448ROM_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))
457ROM_END
458
459ROM_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))
468ROM_END
469
470ROM_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))
479ROM_END
480
481ROM_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))
497ROM_END
498
499/* swedish m6809 roms needed */
500ROM_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))
516ROM_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
616645static MACHINE_DRIVER_START( pet_general )
617646   /* basic machine hardware */
618647   MDRV_CPU_ADD("main", M6502, 7833600)        /* 7.8336 Mhz */
r3213r3214
643672MACHINE_DRIVER_END
644673
645674
646static MACHINE_DRIVER_START( pet1 )
675static MACHINE_DRIVER_START( pet2001 )
647676   MDRV_IMPORT_FROM( pet_general )
648677   MDRV_QUICKLOAD_ADD(cbm_pet1, "p00,prg", CBM_QUICKLOAD_DELAY_SECONDS)
649678MACHINE_DRIVER_END
r3213r3214
712741   MDRV_GFXDECODE( superpet )
713742MACHINE_DRIVER_END
714743
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
723744
724745
746/*************************************
747 *
748 *  ROM definition(s)
749 *
750 *************************************/
725751
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
758The ROM content is the same in both cases, but the labels differ. Below we use labels
759from the 2316B version. For documentation sake, these would have been the labels based on
760the board with 6540 ROMs
761
762901439-01.h1 / 901439-09.h1
763901439-05.h5
764901439-02.h2
765901439-06.h6
766901439-03.h3
767901439-04.h4
768901439-07.h7
769901439-08.a2
770
771Also, in some board with 2316B, the location of the ROMs changes h1 <-> h5, h2 <-> h6 and
772h4 <-> h7
773*/
774
775ROM_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) )
790ROM_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 */
799ROM_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
808ROM_END
809
810/* BASIC 2 - Business Keyboard (Number keys, etc.) */
811ROM_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
820ROM_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 */
826ROM_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
839ROM_END
840
841/* BASIC 4, but 40 columns only and no CRTC - Business Keyboard (Number keys, etc.) */
842ROM_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
855ROM_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 */
865ROM_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
875ROM_END
876
877/* 40 columns - 50 Hz */
878ROM_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
888ROM_END
889
890/* 80 columns - 60 Hz */
891ROM_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
901ROM_END
902
903/* 80 columns - 50 Hz */
904ROM_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
919ROM_END
920
921/* 80 columns - 60 Hz - can be expanded to 96k RAM */
922ROM_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
932ROM_END
933
934/* 80 columns - 50 Hz - can be expanded to 96k RAM */
935ROM_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
950ROM_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.
955In this case the labels would have been as follows
956
957970018-12.u47 (contents: u17+u18 below)
958970019-12.u48 (contents: u19+u20 below)
959970020-12.u49 (contents: u21+u22 below)
960
961*/
962
963ROM_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) )
981ROM_END
982
983#define rom_mmf9000      rom_superpet
984#define rom_sp9000      rom_superpet
985
986
987/* CBM 8296 / 8296D - only ROM loading added */
988ROM_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
996ROM_END
997
998#define rom_cbm8296d   rom_cbm8296
999
1000
1001/* PAL regional variants */
1002
1003ROM_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) )
1013ROM_END
1014
1015ROM_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
1025ROM_END
1026
1027/* This had only the CharGen dumped, the editor needs to be dumped as well (and the other ones verified)!!  */
1028ROM_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
1037ROM_END
1038
1039/* This had only the CharGen dumped, the editor needs to be dumped as well (and the other ones verified)!!  */
1040ROM_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
1050ROM_END
1051
1052/* Swedish M6809 roms needed */
1053ROM_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."
1071ROM_END
1072
1073
1074
1075
1076/*************************************
1077 *
1078 *  System configuration(s)
1079 *
1080 *************************************/
1081
7261082void pet_datasette_getinfo(const mess_device_class *devclass, UINT32 state, union devinfo *info)
7271083{
7281084   switch(state)
r3213r3214
7341090   }
7351091}
7361092
737static SYSTEM_CONFIG_START(pet)
1093/* Original PET 2001 - Basic 1 - RAM: 4k, 8k */
1094static SYSTEM_CONFIG_START( pet2001 )
7381095   CONFIG_DEVICE(pet_cartslot_getinfo)
7391096   CONFIG_DEVICE(pet_datasette_getinfo)
7401097   CONFIG_DEVICE(cbmfloppy_device_getinfo)
7411098   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)
7451100SYSTEM_CONFIG_END
7461101
747static SYSTEM_CONFIG_START(pet2)
1102/* Later PET 2001 - Basic "2" - RAM: 8k, 16k, 32k */
1103static SYSTEM_CONFIG_START( pet2 )
7481104   CONFIG_DEVICE(pet_cartslot_getinfo)
7491105   CONFIG_DEVICE(pet_datasette_getinfo)
7501106   CONFIG_DEVICE(cbmfloppy_device_getinfo)
751   CONFIG_RAM(4 * 1024)
7521107   CONFIG_RAM(8 * 1024)
7531108   CONFIG_RAM(16 * 1024)
7541109   CONFIG_RAM_DEFAULT(32 * 1024)
7551110SYSTEM_CONFIG_END
7561111
757static SYSTEM_CONFIG_START(pet4)
1112/* Early PET 4000 - Basic 4 - RAM: 8k, 16k, 32k */
1113static SYSTEM_CONFIG_START( pet4o )
7581114   CONFIG_DEVICE(pet4_cartslot_getinfo)
7591115   CONFIG_DEVICE(pet_datasette_getinfo)
7601116   CONFIG_DEVICE(cbmfloppy_device_getinfo)
761   CONFIG_RAM(4 * 1024)
7621117   CONFIG_RAM(8 * 1024)
7631118   CONFIG_RAM(16 * 1024)
7641119   CONFIG_RAM_DEFAULT(32 * 1024)
7651120SYSTEM_CONFIG_END
7661121
767static SYSTEM_CONFIG_START(pet4_32)
1122/* Later PET 4000 / PET 8000 - Basic 4 - RAM: 32k expandable (expansion through DIPs currently) */
1123static SYSTEM_CONFIG_START( pet4 )
7681124   CONFIG_DEVICE(pet4_cartslot_getinfo)
7691125   CONFIG_DEVICE(pet_datasette_getinfo)
7701126   CONFIG_DEVICE(cbmfloppy_device_getinfo)
7711127   CONFIG_RAM_DEFAULT(32 * 1024)
7721128SYSTEM_CONFIG_END
7731129
774/*    YEAR  NAME        COMPAT  PARENT  MACHINE     INPUT    INIT     CONFIG    COMPANY                           FULLNAME */
775COMP (1977,   pet,      0,      0,      pet1,      pet,    pet1,     pet,      "Commodore Business Machines Co.",  "PET2001/CBM20xx Series (Basic 1)",            GAME_NO_SOUND)
776COMP (1979,   cbm30,      0,      pet,   pet,      pet,    pet,     pet2,      "Commodore Business Machines Co.",  "Commodore 30xx (Basic 2)",                    GAME_NO_SOUND)
777COMP (1979,   cbm30b,    0,      pet,   pet,      petb,    petb,     pet2,      "Commodore Business Machines Co.",  "Commodore 30xx (Basic 2) (business keyboard)",GAME_NO_SOUND)
778COMP (1982,   cbm40,      0,      pet,   pet40,      pet,    pet40,   pet4,      "Commodore Business Machines Co.",  "Commodore 40xx FAT (CRTC) 60Hz",              GAME_NO_SOUND)
779COMP (1982,   cbm40pal,   0,      pet,   pet40pal,   pet,    pet40,   pet4,      "Commodore Business Machines Co.",  "Commodore 40xx FAT (CRTC) 50Hz",              GAME_NO_SOUND)
780COMP (1979,   cbm40b,    0,      pet,   pet,      petb,    petb,     pet4,      "Commodore Business Machines Co.",  "Commodore 40xx THIN (business keyboard)",     GAME_NO_SOUND)
781COMP (1981,   cbm80,      0,      pet,   pet80,      cbm8096, cbm80,   pet4_32,   "Commodore Business Machines Co.",  "Commodore 80xx 60Hz",                         GAME_NO_SOUND)
782COMP (1981,   cbm80pal,   0,      pet,   pet80pal,   cbm8096, cbm80,   pet4_32,   "Commodore Business Machines Co.",  "Commodore 80xx 50Hz",                         GAME_NO_SOUND)
783COMP (1981,   cbm80ger,   0,      pet,   pet80pal,   cbm8096, cbm80,   pet4_32,   "Commodore Business Machines Co.",  "Commodore 80xx German (50Hz)",                GAME_NO_SOUND)
784COMP (1981,   cbm80swe,   0,      pet,   pet80pal,   cbm8096, cbm80,   pet4_32,   "Commodore Business Machines Co.",  "Commodore 80xx Swedish (50Hz)",               GAME_NO_SOUND)
785COMP (1981,   superpet,   0,      pet,   superpet,   superpet,superpet,pet4_32,   "Commodore Business Machines Co.",  "Commodore SP9000/MMF9000 (50Hz)",             GAME_NO_SOUND|GAME_NOT_WORKING)
7861130
787COMP (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
1140COMP(1977, pet2001,   0,   0,         pet2001,   pet,       pet2001,   pet2001,   "Commodore Business Machines Co.",  "PET 2001", GAME_NO_SOUND)
1141
1142COMP(1979, pet2001n,  0,   pet2001,   pet,       pet,       pet,       pet2,      "Commodore Business Machines Co.",  "PET 2001-N", GAME_NO_SOUND)
1143COMP(1979, pet2001b,  0,   pet2001,   pet,       petb,      petb,      pet2,      "Commodore Business Machines Co.",  "PET 2001-B", GAME_NO_SOUND)
1144COMP(1979, cbm30,     0,   pet2001,   pet,       pet,       pet,       pet2,      "Commodore Business Machines Co.",  "CBM 30xx", GAME_NO_SOUND)
1145COMP(1979, cbm30b,    0,   pet2001,   pet,       petb,      petb,      pet2,      "Commodore Business Machines Co.",  "CBM 30xx (Business keyboard)", GAME_NO_SOUND)
1146COMP(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 */
1148COMP(1980, pet40on,   0,   pet2001,   pet,       pet,       pet,       pet2,      "Commodore Business Machines Co.",  "PET 40xx (Basic 4, no CRTC, Normal keyboard)", GAME_NO_SOUND)
1149COMP(1980, pet40ob,   0,   pet2001,   pet,       petb,      petb,      pet2,      "Commodore Business Machines Co.",  "PET 40xx (Basic 4, no CRTC, Business keyboard)", GAME_NO_SOUND)
1150COMP(1980, cbm40o,    0,   pet2001,   pet,       pet,       pet,       pet2,      "Commodore Business Machines Co.",  "CBM 40xx (Basic 4, no CRTC, Normal keyboard)", GAME_NO_SOUND)
1151COMP(1980, cbm40ob,   0,   pet2001,   pet,       petb,      petb,      pet2,      "Commodore Business Machines Co.",  "CBM 40xx (Basic 4, no CRTC, Business keyboard)", GAME_NO_SOUND)
1152
1153COMP(1981, pet80,     0,   pet2001,   pet80,     cbm8096,   pet80,     pet4,      "Commodore Business Machines Co.",  "PET 80xx (Basic 4, CRTC 60Hz, 80 columns)", GAME_NO_SOUND)
1154COMP(1981, cbm80,     0,   pet2001,   pet80pal,  cbm8096,   pet80,     pet4,      "Commodore Business Machines Co.",  "CBM 80xx (Basic 4, CRTC 50Hz, 80 columns)", GAME_NO_SOUND)
1155COMP(1981, cbm80ger,  0,   pet2001,   pet80pal,  cbm8096,   pet80,     pet4,      "Commodore Business Machines Co.",  "CBM 80xx (Germany, Basic 4, CRTC 50Hz, 80 columns)", GAME_NO_SOUND)
1156COMP(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)
1157COMP(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 */
1159COMP(1981, pet40b,    0,   pet2001,   pet80,     cbm8096,   pet80,     pet4,      "Commodore Business Machines Co.",  "PET 40xx (Basic 4, CRTC 60Hz, 80 columns)", GAME_NO_SOUND)
1160COMP(1981, pet40n,    0,   pet2001,   pet40,     pet,       pet40,     pet4o,      "Commodore Business Machines Co.",  "PET 40xx (Basic 4, CRTC 60Hz, 40 columns)", GAME_NO_SOUND)
1161COMP(1981, cbm40b,     0,   pet2001,   pet80pal,  cbm8096,   pet80,     pet4,      "Commodore Business Machines Co.",  "CBM 40xx (Basic 4, CRTC 50Hz, 80 columns)", GAME_NO_SOUND)
1162COMP(1981, cbm40n,    0,   pet2001,   pet40pal,  pet,       pet40,     pet4o,      "Commodore Business Machines Co.",  "CBM 40xx (Basic 4, CRTC 50Hz, 40 columns)", GAME_NO_SOUND)
1163
1164COMP(1981, superpet,  0,   pet2001,   superpet,  superpet,  superpet,  pet4,      "Commodore Business Machines Co.",  "SuperPET (CRTC 50Hz)", GAME_NO_SOUND | GAME_NOT_WORKING)
1165COMP(1981, sp9000,    0,   pet2001,   superpet,  superpet,  superpet,  pet4,      "Commodore Business Machines Co.",  "CBM SP9000 (CRTC 50Hz)", GAME_NO_SOUND | GAME_NOT_WORKING)
1166COMP(1981, mmf9000,   0,   pet2001,   superpet,  superpet,  superpet,  pet4,      "Commodore Business Machines Co.",  "MicroMainFrame 9000 (CRTC 50Hz)", GAME_NO_SOUND | GAME_NOT_WORKING)
1167COMP(198?, mmf9000s,  0,   pet2001,   superpet,  superpet,  superpet,  pet4,      "Commodore Business Machines Co.",  "MicroMainFrame 9000 (Sweden, CRTC 50Hz)", GAME_NO_SOUND | GAME_NOT_WORKING)
1168
1169COMP(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)
1170COMP(1984, cbm8296d,  0,   pet2001,   pet80pal,  cbm8096,   pet80,     pet4,      "Commodore Business Machines Co.",  "CBM 8296D", GAME_NO_SOUND | GAME_NOT_WORKING)

Previous 15994 Revisions Next


© 1998-2018 The MESS Team