fork of PCE focusing on macplus, supporting DaynaPort SCSI network emulation
at master 45 lines 2.2 kB view raw
1/***************************************************************************** 2 * pce * 3 *****************************************************************************/ 4 5/***************************************************************************** 6 * File name: src/lib/msgdsk.h * 7 * Created: 2019-06-22 by Hampa Hug <hampa@hampa.ch> * 8 * Copyright: (C) 2019 Hampa Hug <hampa@hampa.ch> * 9 *****************************************************************************/ 10 11/***************************************************************************** 12 * This program is free software. You can redistribute it and / or modify it * 13 * under the terms of the GNU General Public License version 2 as published * 14 * by the Free Software Foundation. * 15 * * 16 * This program is distributed in the hope that it will be useful, but * 17 * WITHOUT ANY WARRANTY, without even the implied warranty of * 18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General * 19 * Public License for more details. * 20 *****************************************************************************/ 21 22 23#ifndef PCE_LIB_MSGDSK_H 24#define PCE_LIB_MSGDSK_H 1 25 26 27#include <drivers/block/block.h> 28 29 30void msg_dsk_print_help (void); 31void dsks_print_info (disks_t *dsks); 32 33int msg_dsk_get_disk_id (const char *val, unsigned *id); 34 35int msg_dsk_emu_disk_commit (const char *val, disks_t *dsks, unsigned *id); 36int msg_dsk_emu_disk_eject (const char *val, disks_t *dsks, unsigned *id); 37int msg_dsk_emu_disk_id (const char *val, unsigned *id); 38int msg_dsk_emu_disk_insert (const char *val, disks_t *dsks, unsigned id); 39int msg_dsk_emu_disk_ro (const char *val, disks_t *dsks, unsigned *id); 40int msg_dsk_emu_disk_rw (const char *val, disks_t *dsks, unsigned *id); 41 42int msg_dsk_set_msg (const char *msg, const char *val, disks_t *dsks, unsigned *id); 43 44 45#endif