| Previous | 199869 Revisions | Next |
| r20146 Wednesday 9th January, 2013 at 12:00:46 UTC by Tafoid |
|---|
| i386.c: set some features bits for Pentium 3 CPUs [Peter Ferrie] queen.c: [Peter Ferrie] - correct slave_ack configuration member declaration - correct CPU type |
| [src/emu/cpu/i386] | i386.c |
| [src/mame/drivers] | queen.c |
| r20145 | r20146 | |
|---|---|---|
| 467 | 467 | { |
| 468 | 468 | DEVCB_DRIVER_LINE_MEMBER(queen_state,queen_pic8259_1_set_int_line), |
| 469 | 469 | DEVCB_LINE_VCC, |
| 470 | DEVCB_MEMBER(queen_state,get_slave_ack) | |
| 470 | DEVCB_DRIVER_MEMBER(queen_state,get_slave_ack) | |
| 471 | 471 | }; |
| 472 | 472 | |
| 473 | 473 | static const struct pic8259_interface queen_pic8259_2_config = |
| r20145 | r20146 | |
| 535 | 535 | |
| 536 | 536 | |
| 537 | 537 | static MACHINE_CONFIG_START( queen, queen_state ) |
| 538 | MCFG_CPU_ADD("maincpu", PENTIUM, 533000000/16) // Celeron or Pentium 3, 533 Mhz | |
| 538 | MCFG_CPU_ADD("maincpu", PENTIUM3, 533000000/16) // Celeron or Pentium 3, 533 Mhz | |
| 539 | 539 | MCFG_CPU_PROGRAM_MAP(queen_map) |
| 540 | 540 | MCFG_CPU_IO_MAP(queen_io) |
| 541 | 541 |
| r20145 | r20146 | |
|---|---|---|
| 4294 | 4294 | cpustate->cpu_version = REG32(EDX); |
| 4295 | 4295 | |
| 4296 | 4296 | // [ 0:0] FPU on chip |
| 4297 | cpustate->feature_flags = 0x00000001; // TODO: enable relevant flags here | |
| 4297 | // [ 4:4] Time Stamp Counter | |
| 4298 | // [ D:D] PTE Global Bit | |
| 4299 | cpustate->feature_flags = 0x00002011; // TODO: enable relevant flags here | |
| 4298 | 4300 | |
| 4299 | 4301 | CHANGE_PC(cpustate,cpustate->eip); |
| 4300 | 4302 | } |
| Previous | 199869 Revisions | Next |