src/mess/drivers/zx.c
| r4179 | r4180 | |
| 16 | 16 | - Added the NTSC/PAL diode to all systems except pc8300 which doesn't support it. |
| 17 | 17 | - Applied NTSC timings to pc8300 only, all others depend on the diode. |
| 18 | 18 | - Many keyboard fixes, and descriptions added to keys. |
| 19 | | - All ram packs up to 32k are supported. |
| 20 | 19 | - Fixed .O files from causing an access violation. |
| 21 | | - Enabled cassette saving. |
| 20 | - Enabled cassette saving (wav only). |
| 22 | 21 | - Many general fixes to pow3000/lambda. |
| 23 | 22 | - Added sound to pc8300/pow3000/lambda. |
| 24 | 23 | |
| 25 | | To do: |
| 26 | | Some memory areas are not mirrored as they should. |
| 27 | | Video hardware is not fully emulated, so it does not support pseudo hi-res and hi-res modes. |
| 28 | | Some memory packs are unemulated. |
| 29 | | h4th and tree4th need their address maps worked out (eg, the stack is set to FB80) |
| 30 | | Most games don't work |
| 24 | To do / problems: |
| 25 | - Some memory areas are not mirrored as they should. |
| 26 | - Video hardware is not fully emulated, so it does not support pseudo hi-res and hi-res modes. |
| 27 | - The screen in pc8300/pow3000/lambda jumps when you type something. |
| 28 | - lambda/pow3000 32k memory pack is unemulated, because where is the upper 16k mirror going to be? |
| 29 | - h4th and tree4th need their address maps worked out (eg, the stack is set to FB80) |
| 30 | - lambda/pow3000 joystick, connected in parallel with the 4,R,F,7,U keys, but the directions are unknown. |
| 31 | - Currently, cassettes will be saved in .wav format, even if you choose something else. |
| 32 | - Many games don't work. |
| 31 | 33 | |
| 32 | 34 | |
| 33 | 35 | ****************************************************************************/ |
| 34 | 36 | |
| 35 | 37 | #include "driver.h" |
| 36 | 38 | #include "cpu/z80/z80.h" |
| 37 | | //#include "sound/dac.h" |
| 38 | 39 | #include "sound/speaker.h" |
| 39 | 40 | #include "sound/wave.h" |
| 40 | 41 | #include "includes/zx.h" |
| r4179 | r4180 | |
| 433 | 434 | |
| 434 | 435 | /* sound hardware */ |
| 435 | 436 | MDRV_SPEAKER_STANDARD_MONO("mono") |
| 436 | | // MDRV_SOUND_ADD("dac", DAC, 0) |
| 437 | | MDRV_SOUND_ADD("speaker", SPEAKER, 0) |
| 437 | MDRV_SOUND_ADD("speaker", SPEAKER, 0) /* Used by pc8300/lambda/pow3000 */ |
| 438 | 438 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.75) |
| 439 | 439 | MDRV_SOUND_ADD("cassette", WAVE, 0) |
| 440 | 440 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.30) |
| r4179 | r4180 | |
| 554 | 554 | SYSTEM_CONFIG_END |
| 555 | 555 | |
| 556 | 556 | static SYSTEM_CONFIG_START(pc8300) |
| 557 | CONFIG_RAM_DEFAULT(16 * 1024) /* bios hardcoded to only work with 16k */ |
| 558 | SYSTEM_CONFIG_END |
| 559 | |
| 560 | static SYSTEM_CONFIG_START(pow3000) |
| 557 | 561 | CONFIG_RAM_DEFAULT(2 * 1024) |
| 558 | 562 | CONFIG_RAM(16 * 1024) |
| 559 | | CONFIG_RAM(32 * 1024) |
| 560 | 563 | SYSTEM_CONFIG_END |
| 561 | 564 | |
| 562 | 565 | /* Game Drivers */ |
| 563 | 566 | |
| 564 | 567 | /* YEAR NAME PARENT COMPAT MACHINE INPUT INIT CONFIG COMPANY FULLNAME FLAGS */ |
| 565 | | COMP( 1980, zx80, 0, 0, zx80, zx80, zx, zx80, "Sinclair Research", "ZX-80", 0 ) |
| 566 | | COMP( 1981, zx81, 0, 0, zx81, zx81, zx, zx81, "Sinclair Research", "ZX-81", 0 ) |
| 567 | | COMP( 1982, ts1000, zx81, 0, ts1000, zx81, zx, zx81, "Timex Sinclair", "Timex Sinclair 1000", 0 ) |
| 568 | | COMP( 1984, pc8300, zx81, 0, pc8300, pc8300, zx, pc8300, "Your Computer", "PC8300", 0 ) |
| 569 | | COMP( 1983, pow3000, zx81, 0, pow3000, pow3000, zx, pc8300, "Creon Enterprises", "Power 3000", 0 ) |
| 570 | | COMP( 1982, lambda, zx81, 0, pow3000, pow3000, zx, pc8300, "Lambda Electronics Ltd", "Lambda 8300", 0 ) |
| 568 | COMP( 1980, zx80, 0, 0, zx80, zx80, zx, zx80, "Sinclair Research", "ZX-80", 0 ) |
| 569 | COMP( 1981, zx81, 0, 0, zx81, zx81, zx, zx81, "Sinclair Research", "ZX-81", 0 ) |
| 570 | COMP( 1982, ts1000, zx81, 0, ts1000, zx81, zx, zx81, "Timex Sinclair", "Timex Sinclair 1000", 0 ) |
| 571 | COMP( 1984, pc8300, zx81, 0, pc8300, pc8300, zx, pc8300, "Your Computer", "PC8300", 0 ) |
| 572 | COMP( 1983, pow3000, zx81, 0, pow3000, pow3000, zx, pow3000, "Creon Enterprises", "Power 3000", 0 ) |
| 573 | COMP( 1982, lambda, zx81, 0, pow3000, pow3000, zx, pow3000, "Lambda Electronics Ltd", "Lambda 8300", 0 ) |