Previous 15994 Revisions Next

r6802 Monday 28th December, 2009 at 09:07:52 UTC by Miodrag Milanović
[AT486] Fixed booting from HDD
[src/mess/drivers]at.c
[src/mess/machine]at.c

src/mess/machine/at.c
r6801r6802
791791   st->dma8237_2 = devtag_get_device(machine, "dma8237_2");
792792   st->pit8254 = devtag_get_device(machine, "pit8254");
793793   pc_mouse_set_serial_port( devtag_get_device(machine, "ns16450_0") );
794   pc_hdc_set_dma8237_device( st->dma8237_1 );   
794795}
795796
src/mess/drivers/at.c
r6801r6802
103103   AM_RANGE(0x000c0000, 0x000c7fff) AM_ROM
104104   AM_RANGE(0x000c8000, 0x000cffff) AM_ROM
105105   AM_RANGE(0x000d0000, 0x000effff) AM_ROM
106   AM_RANGE(0x000f0000, 0x000fffff) AM_ROM AM_REGION("maincpu", 0x0f0000)
106   AM_RANGE(0x000f0000, 0x000fffff) AM_ROM
107107   AM_RANGE(0x00ff0000, 0x00ffffff) AM_ROM AM_REGION("maincpu", 0x0f0000)
108108ADDRESS_MAP_END
109109
r6801r6802
176176   AM_RANGE(0x0278, 0x027f) AM_DEVREADWRITE8("lpt_2", pc_lpt_r, pc_lpt_w, 0x00ff)
177177   AM_RANGE(0x02e8, 0x02ef) AM_DEVREADWRITE8("ns16450_3", ins8250_r, ins8250_w, 0xffff)
178178   AM_RANGE(0x02f8, 0x02ff) AM_DEVREADWRITE8("ns16450_1", ins8250_r, ins8250_w, 0xffff)
179//  AM_RANGE(0x0320, 0x0323) AM_READWRITE8(pc_HDC1_r,                pc_HDC1_w, 0xffff)
180//  AM_RANGE(0x0324, 0x0327) AM_READWRITE8(pc_HDC2_r,                pc_HDC2_w, 0xffff)
179    AM_RANGE(0x0320, 0x0323) AM_READWRITE8(pc_HDC1_r,                pc_HDC1_w, 0xffff)
180    AM_RANGE(0x0324, 0x0327) AM_READWRITE8(pc_HDC2_r,                pc_HDC2_w, 0xffff)
181181   AM_RANGE(0x0378, 0x037f) AM_DEVREADWRITE8("lpt_1", pc_lpt_r, pc_lpt_w, 0x00ff)
182182#ifdef ADLIB
183183   AM_RANGE(0x0388, 0x0389) AM_DEVREADWRITE("ym3812", at16_388_r, at16_388_w )
r6801r6802
10051005    ROM_REGION(0x1000000,"maincpu", 0)
10061006    ROM_LOAD("wdbios.rom",  0xc8000, 0x02000, CRC(8e9e2bd4) SHA1(601d7ceab282394ebab50763c267e915a6a2166a))
10071007    ROM_LOAD16_BYTE("at110387.1", 0xf0001, 0x8000, CRC(679296a7) SHA1(ae891314cac614dfece686d8e1d74f4763cf40e3))
1008   ROM_RELOAD(0xff0001,0x8000)
1008   //ROM_RELOAD(0xff0001,0x8000)
10091009    ROM_LOAD16_BYTE("at110387.0", 0xf0000, 0x8000, CRC(65ae1f97) SHA1(91a29c7deecf7a9afbba330e64e0eee9aafee4d1))
1010   ROM_RELOAD(0xff0000,0x8000)
1010   //ROM_RELOAD(0xff0000,0x8000)
10111011
10121012   /* Character rom */
10131013   ROM_REGION(0x2000,"gfx1", 0)
r6801r6802
10301030    ROM_LOAD("et4000.bin", 0xc0000, 0x8000, CRC(f01e4be0) SHA1(95d75ff41bcb765e50bd87a8da01835fd0aa01d5))
10311031    ROM_LOAD("wdbios.rom",  0xc8000, 0x02000, CRC(8e9e2bd4) SHA1(601d7ceab282394ebab50763c267e915a6a2166a))
10321032    ROM_LOAD16_BYTE("at110387.1", 0xf0001, 0x8000, CRC(679296a7) SHA1(ae891314cac614dfece686d8e1d74f4763cf40e3))
1033   ROM_RELOAD(0xff0001,0x8000)
1033   //ROM_RELOAD(0xff0001,0x8000)
10341034    ROM_LOAD16_BYTE("at110387.0", 0xf0000, 0x8000, CRC(65ae1f97) SHA1(91a29c7deecf7a9afbba330e64e0eee9aafee4d1))
1035   ROM_RELOAD(0xff0000,0x8000)
1035   //ROM_RELOAD(0xff0000,0x8000)
10361036
10371037   /* 8042 keyboard controller */
10381038   ROM_REGION( 0x0800, "kbdc8042", 0 )
r6801r6802
10481048    ROM_REGION(0x1000000,"maincpu", 0)
10491049    ROM_LOAD("wdbios.rom",  0xc8000, 0x02000, CRC(8e9e2bd4) SHA1(601d7ceab282394ebab50763c267e915a6a2166a))
10501050    ROM_LOAD16_BYTE("at030389.0", 0xf0000, 0x8000, CRC(4c36e61d) SHA1(094e8d5e6819889163cb22a2cf559186de782582))
1051   ROM_RELOAD(0xff0000,0x8000)
1051   //ROM_RELOAD(0xff0000,0x8000)
10521052    ROM_LOAD16_BYTE("at030389.1", 0xf0001, 0x8000, CRC(4e90f294) SHA1(18c21fd8d7e959e2292a9afbbaf78310f9cad12f))
1053   ROM_RELOAD(0xff0001,0x8000)
1053   //ROM_RELOAD(0xff0001,0x8000)
10541054
10551055   /* Character rom */
10561056   ROM_REGION(0x2000,"gfx1", 0)
r6801r6802
10731073    ROM_LOAD("et4000.bin", 0xc0000, 0x08000, CRC(f01e4be0) SHA1(95d75ff41bcb765e50bd87a8da01835fd0aa01d5))
10741074    ROM_LOAD("wdbios.rom", 0xc8000, 0x02000, CRC(8e9e2bd4) SHA1(601d7ceab282394ebab50763c267e915a6a2166a))
10751075    ROM_LOAD("at386.bin",  0xf0000, 0x10000, CRC(3df9732a) SHA1(def71567dee373dc67063f204ef44ffab9453ead))
1076   ROM_RELOAD(0xff0000,0x10000)
1076   //ROM_RELOAD(0xff0000,0x10000)
10771077
10781078   /* 8042 keyboard controller */
10791079   ROM_REGION( 0x0800, "kbdc8042", 0 )
r6801r6802
10961096   ROMX_LOAD("mg48602.bin", 0x0f0000, 0x10000, CRC(45797823) SHA1(a5fab258aecabde615e1e97af5911d6cf9938c11), ROM_BIOS(2))
10971097   ROM_SYSTEM_BIOS(2, "ft01232", "Free Tech 01-232")   \
10981098   ROMX_LOAD("ft01232.bin", 0x0f0000, 0x10000, CRC(30efaf92) SHA1(665c8ef05ca052dcc06bb473c9539546bfef1e86), ROM_BIOS(3))
1099   ROM_COPY("maincpu", 0, 0xff0000, 0x10000)
1099   //ROM_COPY("maincpu", 0, 0xff0000, 0x10000)
11001100
11011101   /* 8042 keyboard controller */
11021102   ROM_REGION( 0x0800, "kbdc8042", 0 )

Previous 15994 Revisions Next


© 1998-2018 The MESS Team