fork of PCE focusing on macplus, supporting DaynaPort SCSI network emulation
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

atari/midi: Add a message to set a new midi output file

+14 -1
+4
doc/messages.txt
··· 47 47 emu.exit 48 48 Terminate the emulator immediately. 49 49 50 + emu.midi.file <filename> 51 + Set a new MIDI output file. If <filename> is the empty string, no 52 + more MIDI output is saved. 53 + 50 54 emu.pause "0" | "1" 51 55 Resume or pause the emulator. 52 56
+2
src/arch/atarist/cmd.c
··· 836 836 "emu.disk.eject <drive>\n" 837 837 "emu.disk.insert <drive>:<fname>\n" 838 838 "\n" 839 + "emu.midi.file <fname>\n" 840 + "\n" 839 841 "emu.fdc.ro <drive>\n" 840 842 "emu.fdc.rw <drive>\n" 841 843 "\n"
+8 -1
src/arch/atarist/msg.c
··· 5 5 /***************************************************************************** 6 6 * File name: src/arch/atarist/msg.c * 7 7 * Created: 2011-03-17 by Hampa Hug <hampa@hampa.ch> * 8 - * Copyright: (C) 2011-2015 Hampa Hug <hampa@hampa.ch> * 8 + * Copyright: (C) 2011-2016 Hampa Hug <hampa@hampa.ch> * 9 9 *****************************************************************************/ 10 10 11 11 /***************************************************************************** ··· 280 280 } 281 281 282 282 static 283 + int st_set_msg_emu_midi_file (atari_st_t *sim, const char *msg, const char *val) 284 + { 285 + return (st_smf_set_file (&sim->smf, val)); 286 + } 287 + 288 + static 283 289 int st_set_msg_emu_par_driver (atari_st_t *sim, const char *msg, const char *val) 284 290 { 285 291 if (sim->parport_drv != NULL) { ··· 509 515 { "emu.exit", st_set_msg_emu_exit }, 510 516 { "emu.fdc.ro", st_set_msg_emu_fdc_ro }, 511 517 { "emu.fdc.rw", st_set_msg_emu_fdc_rw }, 518 + { "emu.midi.file", st_set_msg_emu_midi_file }, 512 519 { "emu.par.driver", st_set_msg_emu_par_driver }, 513 520 { "emu.par.file", st_set_msg_emu_par_file }, 514 521 { "emu.pause", st_set_msg_emu_pause },