| 123456789101112131415161718192021222324252627282930 | // Advanced CD-ROM drive emulation.// Adds a few capabilities on top of the SCSI2SD CD-ROM emulation://// - bin/cue support for support of multiple tracks// - on the fly image switching#pragma once#include "BlueSCSI_disk.h"// Called by scsi.c from SCSI2SDextern "C" int scsiCDRomCommand(void);// Eject the given CD-ROMvoid cdromPerformEject(image_config_t &img);// Reinsert ejected CD-ROM and restart from first imagevoid cdromReinsertFirstImage(image_config_t &img);// Switch to next CD-ROM image if multiple have been configuredbool cdromSwitchNextImage(image_config_t &img);// Check if the currently loaded cue sheet for the image can be parsed// and print warnings about unsupported track typesbool cdromValidateCueSheet(image_config_t &img);// Audio playback status// boolean flag is true if just basic mechanism status (playback true/false)// is desired, or false if historical audio status codes should be returnedvoid cdromGetAudioPlaybackStatus(uint8_t *status, uint32_t *current_lba, bool current_only);
 |