summaryrefslogtreecommitdiffstats
path: root/docs/release/scripts/src
diff options
context:
space:
mode:
author Robbbert <Robbbert@users.noreply.github.com>2021-04-28 20:19:31 +1000
committer Robbbert <Robbbert@users.noreply.github.com>2021-04-28 20:19:31 +1000
commit557a6c5e583794af3c5dd8d6f6824e60ef7cbfa2 (patch)
tree676b5e65ade895c95b3b5de3901539eebe808d6a /docs/release/scripts/src
parent3593491a9013163e0b42cde336f0ec3237e45dbc (diff)
0.231 filestag231
Diffstat (limited to 'docs/release/scripts/src')
-rw-r--r--docs/release/scripts/src/bus.lua55
-rw-r--r--docs/release/scripts/src/cpu.lua2
-rw-r--r--docs/release/scripts/src/machine.lua14
-rw-r--r--docs/release/scripts/src/osd/modules.lua29
-rw-r--r--docs/release/scripts/src/sound.lua49
5 files changed, 120 insertions, 29 deletions
diff --git a/docs/release/scripts/src/bus.lua b/docs/release/scripts/src/bus.lua
index 74f601e7499..d98d0b90b48 100644
--- a/docs/release/scripts/src/bus.lua
+++ b/docs/release/scripts/src/bus.lua
@@ -190,6 +190,19 @@ if (BUSES["ADAMNET"]~=null) then
}
end
+---------------------------------------------------
+--
+--@src/devices/bus/adb/adb.h,BUSES["ADB"] = true
+---------------------------------------------------
+
+if (BUSES["ADB"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/adb/adb.cpp",
+ MAME_DIR .. "src/devices/bus/adb/adb.h",
+ MAME_DIR .. "src/devices/bus/adb/adbhle.cpp",
+ MAME_DIR .. "src/devices/bus/adb/adbhle.h",
+ }
+end
---------------------------------------------------
--
@@ -2417,8 +2430,8 @@ if (BUSES["A2BUS"]~=null) then
MAME_DIR .. "src/devices/bus/a2bus/corvfdc02.h",
MAME_DIR .. "src/devices/bus/a2bus/ezcgi.cpp",
MAME_DIR .. "src/devices/bus/a2bus/ezcgi.h",
- MAME_DIR .. "src/devices/bus/a2bus/grapplerplus.cpp",
- MAME_DIR .. "src/devices/bus/a2bus/grapplerplus.h",
+ MAME_DIR .. "src/devices/bus/a2bus/grappler.cpp",
+ MAME_DIR .. "src/devices/bus/a2bus/grappler.h",
MAME_DIR .. "src/devices/bus/a2bus/laser128.cpp",
MAME_DIR .. "src/devices/bus/a2bus/laser128.h",
MAME_DIR .. "src/devices/bus/a2bus/mouse.cpp",
@@ -2490,6 +2503,12 @@ if (BUSES["NSCSI"]~=null) then
MAME_DIR .. "src/devices/bus/nscsi/cdd2000.h",
MAME_DIR .. "src/devices/bus/nscsi/cdrn820s.cpp",
MAME_DIR .. "src/devices/bus/nscsi/cdrn820s.h",
+ MAME_DIR .. "src/devices/bus/nscsi/cdu75s.cpp",
+ MAME_DIR .. "src/devices/bus/nscsi/cdu75s.h",
+ MAME_DIR .. "src/devices/bus/nscsi/cdu415.cpp",
+ MAME_DIR .. "src/devices/bus/nscsi/cdu415.h",
+ MAME_DIR .. "src/devices/bus/nscsi/cdu561.cpp",
+ MAME_DIR .. "src/devices/bus/nscsi/cdu561.h",
MAME_DIR .. "src/devices/bus/nscsi/cw7501.cpp",
MAME_DIR .. "src/devices/bus/nscsi/cw7501.h",
MAME_DIR .. "src/devices/bus/nscsi/devices.cpp",
@@ -2568,6 +2587,8 @@ if (BUSES["CENTRONICS"]~=null) then
MAME_DIR .. "src/devices/bus/centronics/comxpl80.h",
MAME_DIR .. "src/devices/bus/centronics/covox.cpp",
MAME_DIR .. "src/devices/bus/centronics/covox.h",
+ MAME_DIR .. "src/devices/bus/centronics/digiblst.cpp",
+ MAME_DIR .. "src/devices/bus/centronics/digiblst.h",
MAME_DIR .. "src/devices/bus/centronics/dsjoy.cpp",
MAME_DIR .. "src/devices/bus/centronics/dsjoy.h",
MAME_DIR .. "src/devices/bus/centronics/epson_ex800.cpp",
@@ -2580,21 +2601,23 @@ if (BUSES["CENTRONICS"]~=null) then
MAME_DIR .. "src/devices/bus/centronics/nec_p72.h",
MAME_DIR .. "src/devices/bus/centronics/printer.cpp",
MAME_DIR .. "src/devices/bus/centronics/printer.h",
- MAME_DIR .. "src/devices/bus/centronics/digiblst.cpp",
- MAME_DIR .. "src/devices/bus/centronics/digiblst.h",
MAME_DIR .. "src/devices/bus/centronics/samdac.cpp",
MAME_DIR .. "src/devices/bus/centronics/samdac.h",
+ MAME_DIR .. "src/devices/bus/centronics/smartboard.cpp",
+ MAME_DIR .. "src/devices/bus/centronics/smartboard.h",
}
dependency {
{ MAME_DIR .. "src/devices/bus/centronics/epson_ex800.cpp", GEN_DIR .. "emu/layout/ex800.lh" },
{ MAME_DIR .. "src/devices/bus/centronics/epson_lx800.cpp", GEN_DIR .. "emu/layout/lx800.lh" },
{ MAME_DIR .. "src/devices/bus/centronics/epson_lx810l.cpp", GEN_DIR .. "emu/layout/lx800.lh" },
+ { MAME_DIR .. "src/devices/bus/centronics/smartboard.cpp", GEN_DIR .. "emu/layout/smartboard.lh" },
}
custombuildtask {
layoutbuildtask("emu/layout", "ex800"),
layoutbuildtask("emu/layout", "lx800"),
+ layoutbuildtask("emu/layout", "smartboard"),
}
end
@@ -2633,6 +2656,8 @@ if (BUSES["RS232"]~=null) then
MAME_DIR .. "src/devices/bus/rs232/exorterm.h",
MAME_DIR .. "src/devices/bus/rs232/rs232_sync_io.cpp",
MAME_DIR .. "src/devices/bus/rs232/rs232_sync_io.h",
+ MAME_DIR .. "src/devices/bus/rs232/mboardd.cpp",
+ MAME_DIR .. "src/devices/bus/rs232/mboardd.h",
}
end
@@ -4474,3 +4499,25 @@ if (BUSES["SAMCOUPE_MOUSE_PORT"]~=null) then
MAME_DIR .. "src/devices/bus/samcoupe/mouse/mouse.h",
}
end
+
+---------------------------------------------------
+--
+--@src/devices/bus/thomson/extension.h,BUSES["THOMSON"] = true
+---------------------------------------------------
+
+if (BUSES["THOMSON"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/thomson/extension.cpp",
+ MAME_DIR .. "src/devices/bus/thomson/extension.h",
+ MAME_DIR .. "src/devices/bus/thomson/cd90_015.cpp",
+ MAME_DIR .. "src/devices/bus/thomson/cd90_015.h",
+ MAME_DIR .. "src/devices/bus/thomson/cq90_028.cpp",
+ MAME_DIR .. "src/devices/bus/thomson/cq90_028.h",
+ MAME_DIR .. "src/devices/bus/thomson/cd90_351.cpp",
+ MAME_DIR .. "src/devices/bus/thomson/cd90_351.h",
+ MAME_DIR .. "src/devices/bus/thomson/cd90_640.cpp",
+ MAME_DIR .. "src/devices/bus/thomson/cd90_640.h",
+ MAME_DIR .. "src/devices/bus/thomson/nanoreseau.cpp",
+ MAME_DIR .. "src/devices/bus/thomson/nanoreseau.h",
+ }
+end
diff --git a/docs/release/scripts/src/cpu.lua b/docs/release/scripts/src/cpu.lua
index 24884592d70..8564d702a6d 100644
--- a/docs/release/scripts/src/cpu.lua
+++ b/docs/release/scripts/src/cpu.lua
@@ -666,6 +666,8 @@ if CPUS["H8"] then
MAME_DIR .. "src/devices/cpu/h8/h83006.h",
MAME_DIR .. "src/devices/cpu/h8/h83008.cpp",
MAME_DIR .. "src/devices/cpu/h8/h83008.h",
+ MAME_DIR .. "src/devices/cpu/h8/h83032.cpp",
+ MAME_DIR .. "src/devices/cpu/h8/h83032.h",
MAME_DIR .. "src/devices/cpu/h8/h83048.cpp",
MAME_DIR .. "src/devices/cpu/h8/h83048.h",
MAME_DIR .. "src/devices/cpu/h8/h8s2245.cpp",
diff --git a/docs/release/scripts/src/machine.lua b/docs/release/scripts/src/machine.lua
index 79506b55944..7d92ffc4219 100644
--- a/docs/release/scripts/src/machine.lua
+++ b/docs/release/scripts/src/machine.lua
@@ -3172,6 +3172,19 @@ if (MACHINES["T10"]~=null) then
}
end
+
+---------------------------------------------------
+--
+--@src/devices/machine/smartboard.h,MACHINES["TASC_SB30"] = true
+---------------------------------------------------
+
+if (MACHINES["TASC_SB30"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/smartboard.cpp",
+ MAME_DIR .. "src/devices/machine/smartboard.h",
+ }
+end
+
---------------------------------------------------
--
--@src/devices/machine/tc009xlvc.h,MACHINES["TC0091LVC"] = true
@@ -4606,6 +4619,7 @@ end
---------------------------------------------------
if (MACHINES["CXD1185"]~=null) then
+ MACHINES["NSCSI"] = true
files {
MAME_DIR .. "src/devices/machine/cxd1185.cpp",
MAME_DIR .. "src/devices/machine/cxd1185.h",
diff --git a/docs/release/scripts/src/osd/modules.lua b/docs/release/scripts/src/osd/modules.lua
index d7987b5b80e..3f9e1948c6e 100644
--- a/docs/release/scripts/src/osd/modules.lua
+++ b/docs/release/scripts/src/osd/modules.lua
@@ -82,6 +82,7 @@ function osdmodulesbuild()
MAME_DIR .. "src/osd/modules/sound/js_sound.cpp",
MAME_DIR .. "src/osd/modules/sound/direct_sound.cpp",
MAME_DIR .. "src/osd/modules/sound/pa_sound.cpp",
+ MAME_DIR .. "src/osd/modules/sound/pulse_sound.cpp",
MAME_DIR .. "src/osd/modules/sound/coreaudio_sound.cpp",
MAME_DIR .. "src/osd/modules/sound/sdl_sound.cpp",
MAME_DIR .. "src/osd/modules/sound/xaudio2_sound.cpp",
@@ -270,6 +271,12 @@ function osdmodulesbuild()
}
end
+ if _OPTIONS["NO_USE_PULSEAUDIO"]=="1" then
+ defines {
+ "NO_USE_PULSEAUDIO",
+ }
+ end
+
if _OPTIONS["NO_USE_MIDI"]=="1" then
defines {
"NO_USE_MIDI",
@@ -501,6 +508,11 @@ function osdmodulestargetconf()
}
end
+ if _OPTIONS["NO_USE_PULSEAUDIO"]=="0" then
+ links {
+ ext_lib("pulse"),
+ }
+ end
end
@@ -579,6 +591,23 @@ if not _OPTIONS["NO_USE_PORTAUDIO"] then
end
newoption {
+ trigger = "NO_USE_PULSEAUDIO",
+ description = "Disable PulseAudio interface",
+ allowed = {
+ { "0", "Enable PulseAudio" },
+ { "1", "Disable PulseAudio" },
+ },
+}
+
+if not _OPTIONS["NO_USE_PULSEAUDIO"] then
+ if _OPTIONS["targetos"]=="linux" then
+ _OPTIONS["NO_USE_PULSEAUDIO"] = "0"
+ else
+ _OPTIONS["NO_USE_PULSEAUDIO"] = "1"
+ end
+end
+
+newoption {
trigger = "MODERN_WIN_API",
description = "Use Modern Windows APIs",
allowed = {
diff --git a/docs/release/scripts/src/sound.lua b/docs/release/scripts/src/sound.lua
index bda7e45bc0c..1d643268548 100644
--- a/docs/release/scripts/src/sound.lua
+++ b/docs/release/scripts/src/sound.lua
@@ -1175,13 +1175,12 @@ end
--@src/devices/sound/ym2608.h,SOUNDS["YM2608"] = true
--@src/devices/sound/ym2610.h,SOUNDS["YM2610"] = true
--@src/devices/sound/ym2612.h,SOUNDS["YM2612"] = true
---@src/devices/sound/3812intf.h,SOUNDS["YM3812"] = true
---@src/devices/sound/3526intf.h,SOUNDS["YM3526"] = true
---@src/devices/sound/8950intf.h,SOUNDS["Y8950"] = true
+--@src/devices/sound/ym3526.h,SOUNDS["YM3526"] = true
+--@src/devices/sound/ym3812.h,SOUNDS["YM3812"] = true
--@src/devices/sound/ymf262.h,SOUNDS["YMF262"] = true
--@src/devices/sound/ymf271.h,SOUNDS["YMF271"] = true
--@src/devices/sound/ymf278b.h,SOUNDS["YMF278B"] = true
---@src/devices/sound/262intf.h,SOUNDS["YMF262"] = true
+--@src/devices/sound/y8950.h,SOUNDS["Y8950"] = true
---------------------------------------------------
if (SOUNDS["YM2151"]~=null) then
@@ -1193,10 +1192,12 @@ if (SOUNDS["YM2151"]~=null) then
}
end
-if (SOUNDS["YM2413"]~=null) then
+if (SOUNDS["YM2413"]~=null or SOUNDS["YM2423"]~=null or SOUNDS["YMF281"]~=null or SOUNDS["DS1001"]~=null) then
files {
MAME_DIR .. "src/devices/sound/ym2413.cpp",
MAME_DIR .. "src/devices/sound/ym2413.h",
+ MAME_DIR .. "src/devices/sound/ymfm.cpp",
+ MAME_DIR .. "src/devices/sound/ymfm.h",
}
end
@@ -1252,34 +1253,30 @@ end
if (SOUNDS["YM3812"]~=null or SOUNDS["YM3526"]~=null or SOUNDS["Y8950"]~=null) then
--if (SOUNDS["YM3812"]~=null) then
files {
- MAME_DIR .. "src/devices/sound/3812intf.cpp",
- MAME_DIR .. "src/devices/sound/3812intf.h",
- MAME_DIR .. "src/devices/sound/fmopl.cpp",
- MAME_DIR .. "src/devices/sound/fmopl.h",
- MAME_DIR .. "src/devices/sound/ymdeltat.cpp",
- MAME_DIR .. "src/devices/sound/ymdeltat.h",
+ MAME_DIR .. "src/devices/sound/ym3812.cpp",
+ MAME_DIR .. "src/devices/sound/ym3812.h",
+ MAME_DIR .. "src/devices/sound/ymfm.cpp",
+ MAME_DIR .. "src/devices/sound/ymfm.h",
}
--end
--if (SOUNDS["YM3526"]~=null) then
files {
- MAME_DIR .. "src/devices/sound/3526intf.cpp",
- MAME_DIR .. "src/devices/sound/3526intf.h",
- MAME_DIR .. "src/devices/sound/fmopl.cpp",
- MAME_DIR .. "src/devices/sound/fmopl.h",
- MAME_DIR .. "src/devices/sound/ymdeltat.cpp",
- MAME_DIR .. "src/devices/sound/ymdeltat.h",
+ MAME_DIR .. "src/devices/sound/ym3526.cpp",
+ MAME_DIR .. "src/devices/sound/ym3526.h",
+ MAME_DIR .. "src/devices/sound/ymfm.cpp",
+ MAME_DIR .. "src/devices/sound/ymfm.h",
}
--end
--if (SOUNDS["Y8950"]~=null) then
files {
- MAME_DIR .. "src/devices/sound/8950intf.cpp",
- MAME_DIR .. "src/devices/sound/8950intf.h",
- MAME_DIR .. "src/devices/sound/fmopl.cpp",
- MAME_DIR .. "src/devices/sound/fmopl.h",
- MAME_DIR .. "src/devices/sound/ymdeltat.cpp",
- MAME_DIR .. "src/devices/sound/ymdeltat.h",
+ MAME_DIR .. "src/devices/sound/y8950.cpp",
+ MAME_DIR .. "src/devices/sound/y8950.h",
+ MAME_DIR .. "src/devices/sound/ymfm.cpp",
+ MAME_DIR .. "src/devices/sound/ymfm.h",
+ MAME_DIR .. "src/devices/sound/ymadpcm.cpp",
+ MAME_DIR .. "src/devices/sound/ymadpcm.h",
}
--end
end
@@ -1288,8 +1285,8 @@ if (SOUNDS["YMF262"]~=null) then
files {
MAME_DIR .. "src/devices/sound/ymf262.cpp",
MAME_DIR .. "src/devices/sound/ymf262.h",
- MAME_DIR .. "src/devices/sound/262intf.cpp",
- MAME_DIR .. "src/devices/sound/262intf.h",
+ MAME_DIR .. "src/devices/sound/ymfm.cpp",
+ MAME_DIR .. "src/devices/sound/ymfm.h",
}
end
@@ -1304,6 +1301,8 @@ if (SOUNDS["YMF278B"]~=null) then
files {
MAME_DIR .. "src/devices/sound/ymf278b.cpp",
MAME_DIR .. "src/devices/sound/ymf278b.h",
+ MAME_DIR .. "src/devices/sound/ymfm.cpp",
+ MAME_DIR .. "src/devices/sound/ymfm.h",
}
end
>'W', Other = 'O', }; // Represents the internal code for data, differrent codes are used in different countries // only relevant when P2000_File_Type is Program. enum P2000_Data_Type : uint8_t { German = 'D', Swedish = 'S', Dutch_English = 'U', }; // This is the 32 byte header definition used by the P2000, it is mainly // here for documentation. struct P2000T_Header { // Starting address in ram where data should go. This address is supplied by // the application program when calling the monitor cassette routine to write // the data on cassette in the first place. uint16_t data_transfer_address; // Total # of bytes which make up the file (can be spread over many blocks). // The monitor uses this to determine how many blocks to read. uint16_t file_length; // # bytes in this record that are actually used. For example if this is 256 // only 256 bytes will be loaded in ram uint16_t data_section_length; // The eight character file name identifies the file to which the record // belongs; it will be the same in all records making up the file. Each record // except the first is considered an extension. char file_name[8]; // Addition file extension. char ext[3]; // This file type specifies the type of data stored. P2000_File_Type file_type; // Code and region information. P2000_Data_Type data_code; // Start address where program should start. (if type = Program) uint16_t start_addr; // Address in ram where the program should load (if type = Program) uint16_t load_addr; // Unused. char reserved[8]; // Record number (i.e. which block) uint8_t rec_nr; }; std::ostream &operator<<(std::ostream &os, P2000T_Header const &hdr) { return os << "File: " << std::string(hdr.file_name, 8) << '.' << std::string(hdr.ext, 3) << " " << hdr.file_length; } static cassette_image::error p2000t_cas_identify(cassette_image *cass, cassette_image::Options *opts) { opts->bits_per_sample = 32; opts->channels = 1; opts->sample_frequency = 44100; return cassette_image::error::SUCCESS; } uint16_t rotr16a(uint16_t x, uint16_t n) { return (x >> n) | (x << (16 - n)); } void update_chksum(uint16_t *de, bool bit) { // Reverse engineered from monitor.rom // code is at: [0x07ac, 0x07c5] uint8_t e = *de & 0xff; uint8_t d = (*de >> 8) & 0xff; e = e ^ (bit ? 1 : 0); if (e & 0x01) { e = e ^ 2; d = d ^ 0x40; } else { d = d ^ 0x00; } *de = rotr16a((d << 8) | e, 1); } /* A transition on a clock boundary from low to high is a 1. A transition on a clock boundary from high to low is a 0 An intermediate transition halfway between the clock boundary can occur when there are consecutive 0s or 1s. See the example below where the clock is marked by a | 1 0 1 1 0 0 RDA: _|----|____|--__|----|__--|__-- RDC: _|-___|-___|-___|-___|-___|-___ ^ ^ |-- clock signal |-- intermediate transition. This signal can be written by a simple algorithm where the first bit is always false (transition to low, half clock). Now only one bit is needed to determine what the next partial clock should look like. This works because we are always guaranteed that a block starts with 0xAA, and hence will ALWAYS find a signal like this on tape: _-- (low, high, high) after a gap. This is guaranteed when the tape is moving forward as well as backwards. */ cassette_image::error p2000t_put_bit(cassette_image *cass, double *time_index, bool bit) { const int channel = 0; cassette_image::error err = cassette_image::error::SUCCESS; CHR(cass->put_sample(channel, *time_index, P2000_CLOCK_PERIOD, bit ? P2000_HIGH : P2000_LOW)); *time_index += P2000_CLOCK_PERIOD; CHR(cass->put_sample(channel, *time_index, P2000_CLOCK_PERIOD, bit ? P2000_LOW : P2000_HIGH)); *time_index += P2000_CLOCK_PERIOD; return err; } // Store byte of data, updating the checksum cassette_image::error p2000t_put_byte(cassette_image *cass, double *time_index, uint16_t *chksum, uint8_t byte) { cassette_image::error err = cassette_image::error::SUCCESS; for (int i = 0; i < 8 && err == cassette_image::error::SUCCESS; i++) { update_chksum(chksum, util::BIT(byte, i)); CHR(p2000t_put_bit(cass, time_index, util::BIT(byte, i))); } return err; } // Store a sequence of bytes, updating the checksum cassette_image::error p2000t_put_bytes(cassette_image *cass, double *time_index, uint16_t *chksum, const uint8_t *bytes, const uint16_t cByte) { cassette_image::error err = cassette_image::error::SUCCESS; for (int i = 0; i < cByte && err == cassette_image::error::SUCCESS; i++) { CHR(p2000t_put_byte(cass, time_index, chksum, bytes[i])); } return err; } // Insert time seconds of silence. cassette_image::error p2000t_silence(cassette_image *cassette, double *time_index, double time) { auto err = cassette->put_sample(0, *time_index, time, 0); *time_index += time; return err; } static cassette_image::error p2000t_cas_load(cassette_image *cassette) { cassette_image::error err = cassette_image::error::SUCCESS; uint64_t image_size = cassette->image_size(); constexpr int CAS_BLOCK = 1280; /* The cas format is pretty simple. it consists of a sequence of blocks, where a block consists of the following: [0-256] P2000 memory address 0x6000 - 0x6100 .... Nonsense (keyboard status etc.) 0x30 P200T_Header 0x50 ... Nonsense.. [0-1024] Data block This means that one block gets stored in 1280 bytes. */ if (image_size % CAS_BLOCK != 0) { return cassette_image::error::INVALID_IMAGE; } uint8_t block[CAS_BLOCK]; constexpr uint8_t BLOCK_MARK[4] = { 0xAA, 0x00, 0x00, 0xAA }; auto blocks = image_size / CAS_BLOCK; double time_idx = 0; // Beginning of tape marker CHR(p2000t_silence(cassette, &time_idx, P2000_BOT_GAP)); for (int i = 0; i < blocks; i++) { uint16_t crc = 0, unused = 0; cassette->image_read(&block, CAS_BLOCK * i, CAS_BLOCK); // Insert sync header.. 0xAA, 0x00, 0x00, 0xAA CHR(p2000t_silence(cassette, &time_idx, P2000_BOB_GAP)); CHR(p2000t_put_bytes(cassette, &time_idx, &unused, BLOCK_MARK, std::size(BLOCK_MARK))); CHR(p2000t_silence(cassette, &time_idx, P2000_MARK_GAP)); // Insert data block CHR(p2000t_put_byte(cassette, &time_idx, &unused, 0xAA)); CHR(p2000t_put_bytes(cassette, &time_idx, &crc, block + 0x30, 32)); CHR(p2000t_put_bytes(cassette, &time_idx, &crc, block + 256, 1024)); CHR(p2000t_put_bytes(cassette, &time_idx, &unused, ( uint8_t * )&crc, 2)); CHR(p2000t_put_byte(cassette, &time_idx, &unused, 0xAA)); // Block finished. CHR(p2000t_silence(cassette, &time_idx, P2000_END_GAP)); } // End of tape marker return p2000t_silence(cassette, &time_idx, P2000_EOT_GAP); } static const cassette_image::Format p2000t_cas = { "cas", p2000t_cas_identify, p2000t_cas_load, nullptr /* no save */ }; CASSETTE_FORMATLIST_START(p2000t_cassette_formats) CASSETTE_FORMAT(p2000t_cas) CASSETTE_FORMATLIST_END