trunk/src/lib/formats/mz_cas.c
| r250142 | r250143 | |
| 307 | 307 | 1, /* chunk_size */ |
| 308 | 308 | 2 * BYTE_SAMPLES, /* chunk_samples */ |
| 309 | 309 | NULL, /* chunk_sample_calc */ |
| 310 | | 5120, /* sample_frequency */ |
| 310 | 4400, // sample_frequency (tested ok with MZ-80K, MZ-80A, MZ-700, MZ-800, MZ-1500) |
| 311 | 311 | MZ700_WAVESAMPLES_HEADER, /* header_samples */ |
| 312 | 312 | 1 /* trailer_samples */ |
| 313 | 313 | }; |
trunk/src/mame/drivers/mz700.c
| r250142 | r250143 | |
| 62 | 62 | * ToDo: |
| 63 | 63 | - slows down while making sound |
| 64 | 64 | - MZ800: |
| 65 | | - Had to patch the rom to load cassettes |
| 66 | 65 | - Port CF not done. |
| 67 | 66 | - Dips not connected. |
| 68 | 67 | - MZ800-mode display not working /Hi-res not coded. |
| r250142 | r250143 | |
| 500 | 499 | ROM_START( mz800 ) |
| 501 | 500 | ROM_REGION( 0x4000, "monitor", 0 ) |
| 502 | 501 | ROM_LOAD( "mz800.rom", 0x0000, 0x4000, CRC(600d17e1) SHA1(950ce4b51429916f8036e41ba6130fac149b36e4) ) |
| 503 | | // fix cassette loading |
| 504 | | ROM_FILL(0x761,1,0x13) |
| 505 | | ROM_FILL(0xA4B,1,0x45) |
| 506 | 502 | |
| 507 | 503 | ROM_REGION( 0x10000, "user1", ROMREGION_ERASE00 ) // ramdisk |
| 508 | 504 | ROM_END |
trunk/src/mame/drivers/mz80.c
| r250142 | r250143 | |
| 6 | 6 | |
| 7 | 7 | 22/11/2008 Preliminary driver. |
| 8 | 8 | |
| 9 | | MZ80K Monitor - no commands seem to do anything |
| 9 | MZ80K Monitor: |
| 10 | LOAD - load a cassette |
| 10 | 11 | |
| 11 | 12 | MZ80A Monitor Commands: |
| 12 | 13 | B - turn key beep on/off |
| 13 | 14 | F - boot from Floppy (press enter at the question) |
| 15 | J - jump (goto) |
| 14 | 16 | L - load a cassette |
| 15 | | could be more |
| 16 | 17 | |
| 17 | 18 | MZ80A ToDo: |
| 18 | 19 | - System writes CF to D800-DFFF |
| 19 | 20 | - System uses E200-E2FF (contents are read then discarded) |
| 20 | | - SYstem uses E800 |
| 21 | - System uses E800 |
| 21 | 22 | - Disk uses ports D8-DC |
| 22 | 23 | - Keyboard issues listed below |
| 23 | 24 | |
| r250142 | r250143 | |
| 28 | 29 | ****************************************************************************/ |
| 29 | 30 | |
| 30 | 31 | #include "includes/mz80.h" |
| 32 | #include "formats/mz_cas.h" |
| 31 | 33 | |
| 32 | 34 | |
| 33 | 35 | /* Note about natural keyboard support: |
| r250142 | r250143 | |
| 290 | 292 | /* Audio */ |
| 291 | 293 | MCFG_SPEAKER_STANDARD_MONO("mono") |
| 292 | 294 | MCFG_SOUND_WAVE_ADD(WAVE_TAG, "cassette") |
| 293 | | MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25) |
| 295 | MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.05) |
| 294 | 296 | MCFG_SOUND_ADD("speaker", SPEAKER_SOUND, 0) |
| 295 | 297 | MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50) |
| 296 | 298 | |
| r250142 | r250143 | |
| 311 | 313 | |
| 312 | 314 | MCFG_TIMER_DRIVER_ADD_PERIODIC("tempo", mz80_state, ne555_tempo_callback, attotime::from_hz(34)) |
| 313 | 315 | MCFG_CASSETTE_ADD( "cassette" ) |
| 316 | MCFG_CASSETTE_FORMATS(mz700_cassette_formats) |
| 314 | 317 | MCFG_CASSETTE_DEFAULT_STATE(CASSETTE_STOPPED | CASSETTE_MOTOR_ENABLED | CASSETTE_SPEAKER_ENABLED) |
| 315 | 318 | MACHINE_CONFIG_END |
| 316 | 319 | |
| r250142 | r250143 | |
| 345 | 348 | ROM_START( mz80kj ) |
| 346 | 349 | ROM_REGION( 0x10000, "maincpu", 0 ) |
| 347 | 350 | ROM_LOAD( "sp1002.rom", 0x0000, 0x1000, CRC(2223e677) SHA1(518ffbe2333582ab36e6d76d1e03879a246ffa1c) ) |
| 348 | | // TC monitor not possible to be used on japanese version since chargen doesn't have upcase/lowecase, but japanese letters |
| 351 | // TC monitor not possible to be used on japanese version since chargen doesn't have upcase/lowercase, but japanese letters |
| 349 | 352 | ROM_LOAD( "mz80kfdif.rom", 0xf000, 0x0400, CRC(d36505e0) SHA1(1f60027e8739313962a37edbf98172df7062df49) ) |
| 350 | 353 | |
| 351 | 354 | ROM_REGION( 0x1000, "chargen", 0 ) |