Previous 199869 Revisions Next

r41631 Saturday 7th November, 2015 at 01:43:36 UTC by Robbbert
Sharp MZ series: Adjusted mz_cas to work with MZ-800, MZ-80K and MZ-80A;
Added mzf tapes to MZ-80K and MZ-80A;
Removed hack from MZ-800.
[src/lib/formats]mz_cas.c
[src/mame/drivers]mz700.c mz80.c

trunk/src/lib/formats/mz_cas.c
r250142r250143
307307   1,                          /* chunk_size */
308308   2 * BYTE_SAMPLES,           /* chunk_samples */
309309   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)
311311   MZ700_WAVESAMPLES_HEADER,   /* header_samples */
312312   1                           /* trailer_samples */
313313};
trunk/src/mame/drivers/mz700.c
r250142r250143
6262 *  ToDo:
6363    - slows down while making sound
6464    - MZ800:
65      - Had to patch the rom to load cassettes
6665      - Port CF not done.
6766      - Dips not connected.
6867      - MZ800-mode display not working /Hi-res not coded.
r250142r250143
500499ROM_START( mz800 )
501500   ROM_REGION( 0x4000, "monitor", 0 )
502501   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)
506502
507503   ROM_REGION( 0x10000, "user1", ROMREGION_ERASE00 ) // ramdisk
508504ROM_END
trunk/src/mame/drivers/mz80.c
r250142r250143
66
77        22/11/2008 Preliminary driver.
88
9MZ80K Monitor - no commands seem to do anything
9MZ80K Monitor:
10LOAD - load a cassette
1011
1112MZ80A Monitor Commands:
1213B - turn key beep on/off
1314F - boot from Floppy (press enter at the question)
15J - jump (goto)
1416L - load a cassette
15could be more
1617
1718MZ80A ToDo:
1819- System writes CF to D800-DFFF
1920- System uses E200-E2FF (contents are read then discarded)
20- SYstem uses E800
21- System uses E800
2122- Disk uses ports D8-DC
2223- Keyboard issues listed below
2324
r250142r250143
2829****************************************************************************/
2930
3031#include "includes/mz80.h"
32#include "formats/mz_cas.h"
3133
3234
3335/* Note about natural keyboard support:
r250142r250143
290292   /* Audio */
291293   MCFG_SPEAKER_STANDARD_MONO("mono")
292294   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)
294296   MCFG_SOUND_ADD("speaker", SPEAKER_SOUND, 0)
295297   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
296298
r250142r250143
311313
312314   MCFG_TIMER_DRIVER_ADD_PERIODIC("tempo", mz80_state, ne555_tempo_callback, attotime::from_hz(34))
313315   MCFG_CASSETTE_ADD( "cassette" )
316   MCFG_CASSETTE_FORMATS(mz700_cassette_formats)
314317   MCFG_CASSETTE_DEFAULT_STATE(CASSETTE_STOPPED | CASSETTE_MOTOR_ENABLED | CASSETTE_SPEAKER_ENABLED)
315318MACHINE_CONFIG_END
316319
r250142r250143
345348ROM_START( mz80kj )
346349   ROM_REGION( 0x10000, "maincpu", 0 )
347350   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
349352   ROM_LOAD( "mz80kfdif.rom", 0xf000, 0x0400, CRC(d36505e0) SHA1(1f60027e8739313962a37edbf98172df7062df49) )
350353
351354   ROM_REGION( 0x1000, "chargen", 0 )


Previous 199869 Revisions Next


© 1997-2024 The MAME Team