2016-08-14 22:07:17 -04:00
|
|
|
/* Copyright holders: RichardG867, Tenshi
|
|
|
|
|
see COPYING for more details
|
|
|
|
|
*/
|
2016-06-26 00:34:39 +02:00
|
|
|
/*ISO CD-ROM support*/
|
|
|
|
|
|
|
|
|
|
#include "ibm.h"
|
2016-11-12 15:06:38 +01:00
|
|
|
#include "cdrom.h"
|
2016-06-26 00:34:39 +02:00
|
|
|
#include "cdrom-iso.h"
|
|
|
|
|
#include <sys/stat.h>
|
|
|
|
|
|
2016-11-12 15:06:38 +01:00
|
|
|
static CDROM iso_cdrom;
|
2016-06-26 00:34:39 +02:00
|
|
|
|
2016-11-12 15:06:38 +01:00
|
|
|
uint32_t last_block = 0;
|
2016-06-26 00:34:39 +02:00
|
|
|
static uint64_t image_size = 0;
|
|
|
|
|
static int iso_inited = 0;
|
|
|
|
|
char iso_path[1024];
|
|
|
|
|
void iso_close(void);
|
|
|
|
|
static FILE* iso_image;
|
|
|
|
|
static int iso_changed = 0;
|
|
|
|
|
|
2017-01-04 22:33:49 +01:00
|
|
|
static uint32_t lba = 0;
|
|
|
|
|
|
2016-06-26 00:34:39 +02:00
|
|
|
static uint32_t iso_cd_pos = 0, iso_cd_end = 0;
|
|
|
|
|
|
|
|
|
|
void iso_audio_callback(int16_t *output, int len)
|
|
|
|
|
{
|
|
|
|
|
memset(output, 0, len * 2);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void iso_audio_stop()
|
|
|
|
|
{
|
2016-11-17 20:41:27 +01:00
|
|
|
// pclog("iso_audio_stop stub\n");
|
2016-06-26 00:34:39 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static int get_track_nr(uint32_t pos)
|
|
|
|
|
{
|
2016-11-17 20:41:27 +01:00
|
|
|
// pclog("get_track_nr stub\n");
|
2016-06-26 00:34:39 +02:00
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static void iso_playaudio(uint32_t pos, uint32_t len, int ismsf)
|
|
|
|
|
{
|
2016-11-17 20:41:27 +01:00
|
|
|
// pclog("iso_playaudio stub\n");
|
2016-06-26 00:34:39 +02:00
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static void iso_pause(void)
|
|
|
|
|
{
|
2016-11-17 20:41:27 +01:00
|
|
|
// pclog("iso_pause stub\n");
|
2016-06-26 00:34:39 +02:00
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static void iso_resume(void)
|
|
|
|
|
{
|
2016-11-17 20:41:27 +01:00
|
|
|
// pclog("iso_resume stub\n");
|
2016-06-26 00:34:39 +02:00
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static void iso_stop(void)
|
|
|
|
|
{
|
2016-11-17 20:41:27 +01:00
|
|
|
// pclog("iso_stop stub\n");
|
2016-06-26 00:34:39 +02:00
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static void iso_seek(uint32_t pos)
|
|
|
|
|
{
|
2016-11-17 20:41:27 +01:00
|
|
|
// pclog("iso_seek stub\n");
|
2017-01-04 22:33:49 +01:00
|
|
|
lba = pos;
|
2016-06-26 00:34:39 +02:00
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static int iso_ready(void)
|
|
|
|
|
{
|
|
|
|
|
if (strlen(iso_path) == 0)
|
|
|
|
|
{
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
if (old_cdrom_drive != cdrom_drive)
|
|
|
|
|
{
|
|
|
|
|
// old_cdrom_drive = cdrom_drive;
|
|
|
|
|
return 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (iso_changed)
|
|
|
|
|
{
|
|
|
|
|
iso_changed = 0;
|
|
|
|
|
return 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Always return 0, because there is no way to change the ISO without unmounting and remounting it. */
|
|
|
|
|
static int iso_medium_changed(void)
|
|
|
|
|
{
|
|
|
|
|
if (strlen(iso_path) == 0)
|
|
|
|
|
{
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
2016-12-23 21:35:39 +01:00
|
|
|
|
2016-06-26 00:34:39 +02:00
|
|
|
if (old_cdrom_drive != cdrom_drive)
|
|
|
|
|
{
|
|
|
|
|
old_cdrom_drive = cdrom_drive;
|
2016-12-23 21:35:39 +01:00
|
|
|
return 1;
|
2016-06-26 00:34:39 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (iso_changed)
|
|
|
|
|
{
|
|
|
|
|
iso_changed = 0;
|
2016-12-23 07:14:41 +01:00
|
|
|
return 1;
|
2016-06-26 00:34:39 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
|
2017-01-04 22:35:56 +01:00
|
|
|
static void lba_to_msf(uint8_t *buf, int lba)
|
|
|
|
|
{
|
|
|
|
|
lba += 150;
|
|
|
|
|
buf[0] = (lba / 75) / 60;
|
|
|
|
|
buf[1] = (lba / 75) % 60;
|
|
|
|
|
buf[2] = lba % 75;
|
|
|
|
|
}
|
|
|
|
|
|
2016-06-26 00:34:39 +02:00
|
|
|
static uint8_t iso_getcurrentsubchannel(uint8_t *b, int msf)
|
|
|
|
|
{
|
2017-01-04 22:33:49 +01:00
|
|
|
long size;
|
|
|
|
|
int pos=0;
|
|
|
|
|
if (strlen(iso_path) == 0)
|
|
|
|
|
{
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
b[pos++]=0;
|
|
|
|
|
b[pos++]=0;
|
|
|
|
|
b[pos++]=0;
|
|
|
|
|
|
|
|
|
|
int32_t temp = lba;
|
|
|
|
|
if (msf)
|
|
|
|
|
{
|
|
|
|
|
memset(&(b[pos]), 0, 8);
|
|
|
|
|
lba_to_msf(&(b[pos]), temp);
|
|
|
|
|
pos += 4;
|
|
|
|
|
lba_to_msf(&(b[pos]), temp);
|
|
|
|
|
pos += 4;
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
b[pos++] = temp >> 24;
|
|
|
|
|
b[pos++] = temp >> 16;
|
|
|
|
|
b[pos++] = temp >> 8;
|
|
|
|
|
b[pos++] = temp;
|
|
|
|
|
b[pos++] = temp >> 24;
|
|
|
|
|
b[pos++] = temp >> 16;
|
|
|
|
|
b[pos++] = temp >> 8;
|
|
|
|
|
b[pos++] = temp;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return 0x13;
|
2016-06-26 00:34:39 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static void iso_eject(void)
|
|
|
|
|
{
|
2016-11-17 20:41:27 +01:00
|
|
|
// pclog("iso_eject stub\n");
|
2016-06-26 00:34:39 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static void iso_load(void)
|
|
|
|
|
{
|
2016-11-17 20:41:27 +01:00
|
|
|
// pclog("iso_load stub\n");
|
2016-06-26 00:34:39 +02:00
|
|
|
}
|
|
|
|
|
|
2016-12-23 03:16:24 +01:00
|
|
|
static int iso_sector_data_type(int sector, int ismsf)
|
2016-06-26 00:34:39 +02:00
|
|
|
{
|
2016-12-23 03:16:24 +01:00
|
|
|
return 2; /* Always Mode 1 */
|
2016-06-26 00:34:39 +02:00
|
|
|
}
|
|
|
|
|
|
2016-11-17 20:41:27 +01:00
|
|
|
static void iso_readsector_raw(uint8_t *b, int sector, int ismsf)
|
2016-06-26 00:34:39 +02:00
|
|
|
{
|
2016-11-12 15:06:38 +01:00
|
|
|
uint32_t temp;
|
2017-01-05 19:41:37 +01:00
|
|
|
uint64_t file_pos = sector;
|
2016-06-26 00:34:39 +02:00
|
|
|
if (!cdrom_drive) return;
|
2017-01-05 19:41:37 +01:00
|
|
|
file_pos <<= 11;
|
2016-11-17 20:41:27 +01:00
|
|
|
memset(b, 0, 2856);
|
|
|
|
|
if (ismsf)
|
|
|
|
|
{
|
|
|
|
|
int m = (sector >> 16) & 0xff;
|
|
|
|
|
int s = (sector >> 8) & 0xff;
|
|
|
|
|
int f = sector & 0xff;
|
|
|
|
|
sector = (m * 60 * 75) + (s * 75) + f;
|
|
|
|
|
if (sector < 150)
|
|
|
|
|
{
|
|
|
|
|
memset(b, 0, 2856);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
sector -= 150;
|
|
|
|
|
}
|
2016-06-26 00:34:39 +02:00
|
|
|
iso_image = fopen(iso_path, "rb");
|
2017-01-05 19:41:37 +01:00
|
|
|
fseeko64(iso_image, file_pos, SEEK_SET);
|
|
|
|
|
fread(b + 16, 2048, 1, iso_image);
|
2016-06-26 00:34:39 +02:00
|
|
|
fclose(iso_image);
|
|
|
|
|
|
|
|
|
|
/* sync bytes */
|
|
|
|
|
b[0] = 0;
|
|
|
|
|
memset(b + 1, 0xff, 10);
|
|
|
|
|
b[11] = 0;
|
|
|
|
|
b += 12;
|
|
|
|
|
lba_to_msf(b, sector);
|
|
|
|
|
b[3] = 1; /* mode 1 data */
|
|
|
|
|
b += 4;
|
|
|
|
|
b += 2048;
|
|
|
|
|
memset(b, 0, 288);
|
2016-11-17 20:41:27 +01:00
|
|
|
b += 288;
|
|
|
|
|
memset(b, 0, 392);
|
2016-06-26 00:34:39 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static int iso_readtoc(unsigned char *buf, unsigned char start_track, int msf, int maxlen, int single)
|
|
|
|
|
{
|
|
|
|
|
uint8_t *q;
|
|
|
|
|
int len;
|
|
|
|
|
|
|
|
|
|
if (start_track > 1 && start_track != 0xaa)
|
|
|
|
|
return -1;
|
|
|
|
|
q = buf + 2;
|
|
|
|
|
*q++ = 1; /* first session */
|
|
|
|
|
*q++ = 1; /* last session */
|
|
|
|
|
if (start_track <= 1) {
|
|
|
|
|
*q++ = 0; /* reserved */
|
|
|
|
|
*q++ = 0x14; /* ADR, control */
|
|
|
|
|
*q++ = 1; /* track number */
|
|
|
|
|
*q++ = 0; /* reserved */
|
|
|
|
|
if (msf) {
|
|
|
|
|
*q++ = 0; /* reserved */
|
|
|
|
|
lba_to_msf(q, 0);
|
|
|
|
|
q += 3;
|
|
|
|
|
} else {
|
|
|
|
|
/* sector 0 */
|
|
|
|
|
*q++ = 0;
|
|
|
|
|
*q++ = 0;
|
|
|
|
|
*q++ = 0;
|
|
|
|
|
*q++ = 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
/* lead out track */
|
|
|
|
|
*q++ = 0; /* reserved */
|
|
|
|
|
*q++ = 0x16; /* ADR, control */
|
|
|
|
|
*q++ = 0xaa; /* track number */
|
|
|
|
|
*q++ = 0; /* reserved */
|
|
|
|
|
last_block = image_size >> 11;
|
|
|
|
|
if (msf) {
|
|
|
|
|
*q++ = 0; /* reserved */
|
|
|
|
|
lba_to_msf(q, last_block);
|
|
|
|
|
q += 3;
|
|
|
|
|
} else {
|
|
|
|
|
*q++ = last_block >> 24;
|
|
|
|
|
*q++ = last_block >> 16;
|
|
|
|
|
*q++ = last_block >> 8;
|
|
|
|
|
*q++ = last_block;
|
|
|
|
|
}
|
|
|
|
|
len = q - buf;
|
2016-12-25 01:57:56 +01:00
|
|
|
if (len > maxlen)
|
|
|
|
|
{
|
|
|
|
|
len = maxlen;
|
|
|
|
|
}
|
2016-06-26 00:34:39 +02:00
|
|
|
buf[0] = (uint8_t)(((len-2) >> 8) & 0xff);
|
|
|
|
|
buf[1] = (uint8_t)((len-2) & 0xff);
|
|
|
|
|
return len;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static int iso_readtoc_session(unsigned char *buf, int msf, int maxlen)
|
|
|
|
|
{
|
|
|
|
|
uint8_t *q;
|
|
|
|
|
|
|
|
|
|
q = buf + 2;
|
|
|
|
|
*q++ = 1; /* first session */
|
|
|
|
|
*q++ = 1; /* last session */
|
|
|
|
|
|
|
|
|
|
*q++ = 1; /* session number */
|
|
|
|
|
*q++ = 0x14; /* data track */
|
|
|
|
|
*q++ = 0; /* track number */
|
|
|
|
|
*q++ = 0xa0; /* lead-in */
|
|
|
|
|
*q++ = 0; /* min */
|
|
|
|
|
*q++ = 0; /* sec */
|
|
|
|
|
*q++ = 0; /* frame */
|
|
|
|
|
*q++ = 0;
|
|
|
|
|
|
2016-12-25 01:57:56 +01:00
|
|
|
if (maxlen < 12)
|
|
|
|
|
{
|
|
|
|
|
return maxlen;
|
|
|
|
|
}
|
2016-06-26 00:34:39 +02:00
|
|
|
return 12;
|
|
|
|
|
}
|
|
|
|
|
|
2016-12-25 01:57:56 +01:00
|
|
|
static int iso_readtoc_raw(unsigned char *buf, int msf, int maxlen)
|
2016-06-26 00:34:39 +02:00
|
|
|
{
|
|
|
|
|
uint8_t *q;
|
|
|
|
|
int len;
|
|
|
|
|
|
|
|
|
|
q = buf + 2;
|
|
|
|
|
*q++ = 1; /* first session */
|
|
|
|
|
*q++ = 1; /* last session */
|
|
|
|
|
|
|
|
|
|
*q++ = 1; /* session number */
|
|
|
|
|
*q++ = 0x14; /* data track */
|
|
|
|
|
*q++ = 0; /* track number */
|
|
|
|
|
*q++ = 0xa0; /* lead-in */
|
|
|
|
|
*q++ = 0; /* min */
|
|
|
|
|
*q++ = 0; /* sec */
|
|
|
|
|
*q++ = 0; /* frame */
|
|
|
|
|
*q++ = 0;
|
|
|
|
|
*q++ = 1; /* first track */
|
|
|
|
|
*q++ = 0x00; /* disk type */
|
|
|
|
|
*q++ = 0x00;
|
|
|
|
|
|
|
|
|
|
*q++ = 1; /* session number */
|
|
|
|
|
*q++ = 0x14; /* data track */
|
|
|
|
|
*q++ = 0; /* track number */
|
|
|
|
|
*q++ = 0xa1;
|
|
|
|
|
*q++ = 0; /* min */
|
|
|
|
|
*q++ = 0; /* sec */
|
|
|
|
|
*q++ = 0; /* frame */
|
|
|
|
|
*q++ = 0;
|
|
|
|
|
*q++ = 1; /* last track */
|
|
|
|
|
*q++ = 0x00;
|
|
|
|
|
*q++ = 0x00;
|
|
|
|
|
|
|
|
|
|
*q++ = 1; /* session number */
|
|
|
|
|
*q++ = 0x14; /* data track */
|
|
|
|
|
*q++ = 0; /* track number */
|
|
|
|
|
*q++ = 0xa2; /* lead-out */
|
|
|
|
|
*q++ = 0; /* min */
|
|
|
|
|
*q++ = 0; /* sec */
|
|
|
|
|
*q++ = 0; /* frame */
|
|
|
|
|
last_block = image_size >> 11;
|
|
|
|
|
/* this is raw, must be msf */
|
2016-12-25 01:57:56 +01:00
|
|
|
if (msf)
|
|
|
|
|
{
|
|
|
|
|
*q++ = 0; /* reserved */
|
|
|
|
|
lba_to_msf(q, last_block);
|
|
|
|
|
q += 3;
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
*q++ = (last_block >> 24) & 0xff;
|
|
|
|
|
*q++ = (last_block >> 16) & 0xff;
|
|
|
|
|
*q++ = (last_block >> 8) & 0xff;
|
|
|
|
|
*q++ = last_block & 0xff;
|
|
|
|
|
}
|
2016-06-26 00:34:39 +02:00
|
|
|
|
|
|
|
|
*q++ = 1; /* session number */
|
|
|
|
|
*q++ = 0x14; /* ADR, control */
|
|
|
|
|
*q++ = 0; /* track number */
|
|
|
|
|
*q++ = 1; /* point */
|
|
|
|
|
*q++ = 0; /* min */
|
|
|
|
|
*q++ = 0; /* sec */
|
|
|
|
|
*q++ = 0; /* frame */
|
|
|
|
|
/* same here */
|
2016-12-25 01:57:56 +01:00
|
|
|
if (msf)
|
|
|
|
|
{
|
|
|
|
|
*q++ = 0; /* reserved */
|
|
|
|
|
lba_to_msf(q, 0);
|
|
|
|
|
q += 3;
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
*q++ = 0;
|
|
|
|
|
*q++ = 0;
|
|
|
|
|
*q++ = 0;
|
|
|
|
|
*q++ = 0;
|
|
|
|
|
}
|
2016-06-26 00:34:39 +02:00
|
|
|
|
|
|
|
|
len = q - buf;
|
2016-12-25 01:57:56 +01:00
|
|
|
if (len > maxlen)
|
|
|
|
|
{
|
|
|
|
|
len = maxlen;
|
|
|
|
|
}
|
2016-06-26 00:34:39 +02:00
|
|
|
buf[0] = (uint8_t)(((len-2) >> 8) & 0xff);
|
|
|
|
|
buf[1] = (uint8_t)((len-2) & 0xff);
|
|
|
|
|
return len;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static uint32_t iso_size()
|
|
|
|
|
{
|
2017-01-05 19:41:37 +01:00
|
|
|
uint64_t iso_size;
|
2016-06-26 00:34:39 +02:00
|
|
|
|
2017-01-05 19:41:37 +01:00
|
|
|
iso_image = fopen(iso_path, "rb");
|
|
|
|
|
fseeko64(iso_image, 0, SEEK_END);
|
|
|
|
|
iso_size = ftello64(iso_image);
|
|
|
|
|
iso_size >>= 11;
|
|
|
|
|
fclose(iso_image);
|
|
|
|
|
|
|
|
|
|
return (uint32_t) (iso_size - 1);
|
2016-06-26 00:34:39 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static int iso_status()
|
|
|
|
|
{
|
|
|
|
|
if (!(iso_ready()) && (cdrom_drive != 200)) return CD_STATUS_EMPTY;
|
|
|
|
|
|
|
|
|
|
return CD_STATUS_DATA_ONLY;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void iso_reset()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int iso_open(char *fn)
|
|
|
|
|
{
|
2016-08-01 19:14:54 +02:00
|
|
|
struct stat st;
|
|
|
|
|
|
2016-06-26 00:34:39 +02:00
|
|
|
if (strcmp(fn, iso_path) != 0)
|
|
|
|
|
{
|
|
|
|
|
iso_changed = 1;
|
|
|
|
|
}
|
|
|
|
|
/* Make sure iso_changed stays when changing from ISO to another ISO. */
|
|
|
|
|
if (!iso_inited && (cdrom_drive != 200)) iso_changed = 0;
|
|
|
|
|
if (!iso_inited || iso_changed)
|
|
|
|
|
{
|
|
|
|
|
sprintf(iso_path, "%s", fn);
|
2016-11-17 20:41:27 +01:00
|
|
|
// pclog("Path is %s\n", iso_path);
|
2016-06-26 00:34:39 +02:00
|
|
|
}
|
|
|
|
|
iso_image = fopen(iso_path, "rb");
|
2016-11-12 15:06:38 +01:00
|
|
|
cdrom = &iso_cdrom;
|
2016-06-26 00:34:39 +02:00
|
|
|
if (!iso_inited || iso_changed)
|
|
|
|
|
{
|
|
|
|
|
if (!iso_inited) iso_inited = 1;
|
|
|
|
|
fclose(iso_image);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
stat(iso_path, &st);
|
|
|
|
|
image_size = st.st_size;
|
|
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void iso_close(void)
|
|
|
|
|
{
|
|
|
|
|
if (iso_image) fclose(iso_image);
|
|
|
|
|
memset(iso_path, 0, 1024);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static void iso_exit(void)
|
|
|
|
|
{
|
|
|
|
|
// iso_stop();
|
|
|
|
|
iso_inited = 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static int iso_is_track_audio(uint32_t pos, int ismsf)
|
|
|
|
|
{
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
|
2016-11-12 15:06:38 +01:00
|
|
|
static CDROM iso_cdrom =
|
2016-06-26 00:34:39 +02:00
|
|
|
{
|
|
|
|
|
iso_ready,
|
|
|
|
|
iso_medium_changed,
|
|
|
|
|
iso_readtoc,
|
|
|
|
|
iso_readtoc_session,
|
|
|
|
|
iso_readtoc_raw,
|
|
|
|
|
iso_getcurrentsubchannel,
|
2016-12-23 03:16:24 +01:00
|
|
|
NULL,
|
|
|
|
|
NULL,
|
2017-01-04 22:33:49 +01:00
|
|
|
NULL,
|
2016-12-23 03:16:24 +01:00
|
|
|
NULL,
|
2016-12-25 16:36:27 +01:00
|
|
|
NULL,
|
2016-12-23 03:16:24 +01:00
|
|
|
iso_sector_data_type,
|
2016-06-26 00:34:39 +02:00
|
|
|
iso_readsector_raw,
|
|
|
|
|
iso_playaudio,
|
|
|
|
|
iso_seek,
|
|
|
|
|
iso_load,
|
|
|
|
|
iso_eject,
|
|
|
|
|
iso_pause,
|
|
|
|
|
iso_resume,
|
|
|
|
|
iso_size,
|
|
|
|
|
iso_status,
|
|
|
|
|
iso_is_track_audio,
|
|
|
|
|
iso_stop,
|
|
|
|
|
iso_exit
|
|
|
|
|
};
|