Previous 15994 Revisions Next

r6212 Thursday 29th October, 2009 at 03:03:13 UTC by Justin Kerk
[AT] Hooked up VGA video to at386 and at486. The usefulness is somewhat limited by the drivers' other issues, but the latter will boot certain graphical boot disks.
[docs]messnew.txt
[src/mess/drivers]at.c
[src/mess/machine]at.c

src/mess/machine/at.c
r6211r6212
644644 **********************************************************/
645645
646646
647static READ8_HANDLER( input_port_0_r ) { return input_port_read(space->machine, "IN0"); }
648
649static const struct pc_vga_interface vga_interface =
650{
651   1,
652   NULL, //at_map_vga_memory,
653
654   input_port_0_r,
655
656   ADDRESS_SPACE_IO,
657   0x0000
658};
659
660
647661DRIVER_INIT( atcga )
648662{
649663   static const struct kbdc8042_interface at8042 =
r6211r6212
690704      KBDC8042_STANDARD, at_set_gate_a20, at_keyboard_interrupt, at_get_out2
691705   };
692706   init_at_common(machine, &at8042);
707   pc_vga_init(machine, &vga_interface, NULL);
693708
694709   /* Attach keyboard to the keyboard controller */
695710   at_kbdc8042_set_keyboard_interface( machine, kb_keytronic_set_clock_signal, kb_keytronic_set_data_signal );
r6211r6212
725740
726741*/
727742
728static READ8_HANDLER( input_port_0_r ) { return input_port_read(space->machine, "IN0"); }
729743
730static const struct pc_vga_interface vga_interface =
731{
732   1,
733   NULL, //at_map_vga_memory,
734744
735   input_port_0_r,
736
737   ADDRESS_SPACE_IO,
738   0x0000
739};
740
741
742
743745DRIVER_INIT( at_vga )
744746{
745747   static const struct kbdc8042_interface at8042 =
src/mess/drivers/at.c
r6211r6212
765765   MDRV_NS16450_ADD( "ns16450_2", ibm5170_com_interface[2] )         /* TODO: verify model */
766766   MDRV_NS16450_ADD( "ns16450_3", ibm5170_com_interface[3] )         /* TODO: verify model */
767767
768   MDRV_IMPORT_FROM( pcvideo_cga )
768   MDRV_IMPORT_FROM( pcvideo_vga )
769769
770   MDRV_SCREEN_MODIFY("screen")
771   MDRV_SCREEN_REFRESH_RATE(60)
772   MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500)) /* not accurate */
773
770774   /* sound hardware */
771775   MDRV_SPEAKER_STANDARD_MONO("mono")
772776   MDRV_SOUND_ADD("speaker", SPEAKER, 0)
r6211r6212
10661070
10671071ROM_START( at386 )
10681072    ROM_REGION(0x1000000,"maincpu", 0)
1069    ROM_LOAD("wdbios.rom",  0xc8000, 0x02000, CRC(8e9e2bd4) SHA1(601d7ceab282394ebab50763c267e915a6a2166a))
1073    ROM_LOAD("et4000.bin", 0xc0000, 0x8000, CRC(f01e4be0) SHA1(95d75ff41bcb765e50bd87a8da01835fd0aa01d5))
1074    ROM_LOAD("wdbios.rom", 0xc8000,  0x02000, CRC(8e9e2bd4) SHA1(601d7ceab282394ebab50763c267e915a6a2166a))
10701075    ROM_LOAD("at386.bin", 0xf0000, 0x10000, CRC(3df9732a) SHA1(def71567dee373dc67063f204ef44ffab9453ead))
10711076   ROM_RELOAD(0xff0000,0x10000)
1072   ROM_REGION(0x08100, "gfx1", 0)
1073    ROM_LOAD("cga.chr",     0x01000, 0x01000, CRC(42009069) SHA1(ed08559ce2d7f97f68b9f540bddad5b6295294dd))
10741077
10751078   /* 8042 keyboard controller */
10761079   ROM_REGION( 0x0800, "kbdc8042", 0 )
r6211r6212
10841087
10851088ROM_START( at486 )
10861089   ROM_REGION(0x1000000, "maincpu", 0)
1090   ROM_LOAD("et4000.bin", 0xc0000, 0x8000, CRC(f01e4be0) SHA1(95d75ff41bcb765e50bd87a8da01835fd0aa01d5))
10871091   ROM_LOAD("wdbios.rom", 0xc8000, 0x02000, CRC(8e9e2bd4) SHA1(601d7ceab282394ebab50763c267e915a6a2166a))
10881092
10891093   ROM_SYSTEM_BIOS(0, "at486", "PC/AT 486")   \
r6211r6212
10941098   ROMX_LOAD("ft01232.bin", 0x0f0000, 0x10000, CRC(30efaf92) SHA1(665c8ef05ca052dcc06bb473c9539546bfef1e86), ROM_BIOS(3))
10951099   ROM_COPY("maincpu", 0, 0xff0000, 0x10000)
10961100
1097   ROM_REGION(0x08100, "gfx1", 0)
1098   ROM_LOAD("cga.chr", 0x01000, 0x01000, CRC(42009069) SHA1(ed08559ce2d7f97f68b9f540bddad5b6295294dd))
1099
11001101   /* 8042 keyboard controller */
11011102   ROM_REGION( 0x0800, "kbdc8042", 0 )
11021103   ROM_LOAD("1503033.bin", 0x0000, 0x0800, CRC(5a81c0d2) SHA1(0100f8789fb4de74706ae7f9473a12ec2b9bd729))
r6211r6212
11371138COMP ( 1988, i8530286, ibm5170, 0,       ps2m30286, atvga,   ps2m30286,  0,   "International Business Machines",  "IBM PS2 Model 30 286", GAME_NOT_WORKING )
11381139COMP ( 1987, at,       ibm5170, 0,       ibm5162,  atcga,   atcga,       0,   "",  "PC/AT (CGA, MF2 Keyboard)", GAME_NOT_WORKING )
11391140COMP ( 1989, neat,     ibm5170, 0,       ibm5162,  atcga,   atcga,       0,   "",  "NEAT (CGA, MF2 Keyboard)", GAME_NOT_WORKING )
1140COMP ( 1988, at386,    ibm5170, 0,       at386,     atcga,   at386,       0,   "MITAC INC",  "PC/AT 386(CGA, MF2 Keyboard)", GAME_NOT_WORKING )
1141COMP ( 1990, at486,    ibm5170, 0,       at486,     atcga,   at386,       0,   "",  "PC/AT 486(CGA, MF2 Keyboard)", GAME_NOT_WORKING )
1142COMP ( 1990, at586,    ibm5170, 0,       at586,     atcga,   at586,       0,   "",  "PC/AT 586(CGA, MF2 Keyboard)", GAME_NOT_WORKING )
1141COMP ( 1988, at386,    ibm5170, 0,       at386,     atvga,   at386,       0,   "MITAC INC",  "PC/AT 386 (VGA, MF2 Keyboard)", GAME_NOT_WORKING )
1142COMP ( 1990, at486,    ibm5170, 0,       at486,     atvga,   at386,       0,   "",  "PC/AT 486 (VGA, MF2 Keyboard)", GAME_NOT_WORKING )
1143COMP ( 1990, at586,    ibm5170, 0,       at586,     atcga,   at586,       0,   "",  "PC/AT 586 (CGA, MF2 Keyboard)", GAME_NOT_WORKING )
11431144COMP ( 1987, atvga,    ibm5170, 0,       atvga,     atvga,   at_vga,     0,   "",  "PC/AT (VGA, MF2 Keyboard)" , GAME_NOT_WORKING )
docs/messnew.txt
r6211r6212
3838
3939- [AT] Fixed display for PC/AT and NEAT. [Miodrag Milanovic]
4040
41- [AT] Hooked up VGA to at386 and at486 (only the latter shows anything
42  currently). [Justin Kerk]
43
4144- [ATARIXL] TRIG3 GTIA register handling is fixed, so more games boot
4245  and work properly [Mariusz Wojcieszek]
4346

Previous 15994 Revisions Next


© 1998-2018 The MESS Team