Previous 15994 Revisions Next

r1376 Tuesday 4th December, 2007 at 09:55:49 UTC by Wilbert Pol
[SSYSTEM3] The 6522 PB6 pin is tied to the 4mhz clock line.
[src/mess/drivers]ssystem3.c

src/mess/drivers/ssystem3.c
r1375r1376
11/******************************************************************************
2 PeT mess@utanet.at November 2000
3******************************************************************************/
42
3  ssystem3.c
54
6/*
7chess champion super system III
8-------------------------------
9(germany chess champion mk III)
5Driver file to handle emulation of the Chess Champion Super System III / Chess
6Champion MK III
7by PeT mess@utanet.at November 2000
108
116502
126522 ($6000?)
132x2114 (1kx4 sram) ($0000)
14signetics 7947e c19081e ss-3-lrom
15signetics 7945e c19082 ss-3-hrom ($d000??)
16(both connected to the same pins!,
17look into mess source mess/messroms/rddil24.c for notes)
9Hardware descriptions:
10- A 6502 CPU
11- A 6522 VIA ($6000?) (PB6 and PB7 are tied)
12- 2 x 2114  1kx4 SRAM to provide 1KB of RAM ($0000)
13- 2xXXKB ROM (both connected to the same pins!,
14  look into mess source mess/messroms/rddil24.c for notes)
15  - signetics 7947e c19081e ss-3-lrom
16  - signetics 7945e c19082 ss-3-hrom ($d000??)
1817
1918optional printer (special serial connection)
2019optional board display (special serial connection)
r1375r1376
6261   via_config(0,&config);
6362}
6463
65static INTERRUPT_GEN( ssystem3_frame_int )
66{
67   static int toggle=0;
68   via_set_input_b(0,toggle?0x40:0);
69   toggle^=0;
64static TIMER_CALLBACK( ssystem3_pb6_toggle ) {
65   static int toggle = 0;
66   via_set_input_b( 0, toggle ? 0x40 : 0 );
67   toggle ^= 1;
7068}
7169
7270static MACHINE_RESET( ssystem3 )
7371{
7472   via_reset();
73   timer_pulse( ATTOTIME_IN_HZ(4000000), NULL, 0, ssystem3_pb6_toggle );
7574}
7675
7776static ADDRESS_MAP_START( ssystem3_map , ADDRESS_SPACE_PROGRAM, 8)
r1375r1376
123122   /* basic machine hardware */
124123   MDRV_CPU_ADD(M6502, 1000000)
125124   MDRV_CPU_PROGRAM_MAP(ssystem3_map, 0)
126   MDRV_CPU_VBLANK_INT(ssystem3_frame_int, 1)
127125   MDRV_SCREEN_REFRESH_RATE(LCD_FRAMES_PER_SECOND)
128126   MDRV_SCREEN_VBLANK_TIME(DEFAULT_REAL_60HZ_VBLANK_DURATION)
129127   MDRV_INTERLEAVE(1)

Previous 15994 Revisions Next


© 1998-2018 The MESS Team