summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib
diff options
context:
space:
mode:
author Firehawke <Firehawke@users.noreply.github.com>2017-12-13 21:01:10 -0700
committer Firehawke <Firehawke@users.noreply.github.com>2017-12-13 21:01:10 -0700
commit54155441e9ba9941e85d80c4834a66376a11e791 (patch)
treeaa44bdaf0035cbe188d64c447f225f10f7d76d8d /src/lib
parentf537428e5a40ba6dde8ca9bf0fe9ae6b1f189ac4 (diff)
Revert "Merge branch 'master' of https://github.com/mamedev/mame"
This reverts commit f537428e5a40ba6dde8ca9bf0fe9ae6b1f189ac4, reversing changes made to 0d70d798107d4e4e8fb9f230410aeb1e888d65c5.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/formats/agat840k_hle_dsk.cpp59
-rw-r--r--src/lib/formats/agat840k_hle_dsk.h17
2 files changed, 0 insertions, 76 deletions
diff --git a/src/lib/formats/agat840k_hle_dsk.cpp b/src/lib/formats/agat840k_hle_dsk.cpp
deleted file mode 100644
index 52cdd4668be..00000000000
--- a/src/lib/formats/agat840k_hle_dsk.cpp
+++ /dev/null
@@ -1,59 +0,0 @@
-// license:BSD-3-Clause
-// copyright-holders:Sergey Svishchev
-/**********************************************************************
-
- formats/agat840k_hle_dsk.cpp
-
- Agat 840KB floppies -- high level simulation (sector-level images)
-
- http://agatcomp.ru/Reading/docs/es5323.txt
- https://github.com/sintech/AGAT/blob/master/docs/agat-840k-format.txt
- http://www.torlus.com/floppy/forum/viewtopic.php?f=19&t=1385
-
-************************************************************************/
-
-#include <assert.h>
-
-#include "formats/agat840k_hle_dsk.h"
-
-
-static FLOPPY_IDENTIFY(agat840k_hle_dsk_identify)
-{
- switch (floppy_image_size(floppy))
- {
- case 860160:
- *vote = 100;
- break;
-
- case 860164:
- case 860288:
- *vote = 99;
- break;
-
- default:
- *vote = 0;
- break;
- }
-
- return FLOPPY_ERROR_SUCCESS;
-}
-
-static FLOPPY_CONSTRUCT(agat840k_hle_dsk_construct)
-{
- struct basicdsk_geometry geometry;
-
- memset(&geometry, 0, sizeof(geometry));
- geometry.heads = 2;
- geometry.first_sector_id = 0;
- geometry.sector_length = 256;
- geometry.tracks = 80;
- geometry.sectors = 21;
-
- return basicdsk_construct(floppy, &geometry);
-}
-
-LEGACY_FLOPPY_OPTIONS_START(agat840k_hle)
- LEGACY_FLOPPY_OPTION(agat840k_hle_dsk, "ds9,dsk,raw", "Agat 840K DSK image",
- agat840k_hle_dsk_identify, agat840k_hle_dsk_construct, nullptr, nullptr)
-LEGACY_FLOPPY_OPTIONS_END
-
diff --git a/src/lib/formats/agat840k_hle_dsk.h b/src/lib/formats/agat840k_hle_dsk.h
deleted file mode 100644
index dad245e3335..00000000000
--- a/src/lib/formats/agat840k_hle_dsk.h
+++ /dev/null
@@ -1,17 +0,0 @@
-// license:BSD-3-Clause
-// copyright-holders:Sergey Svishchev
-/*********************************************************************
-
- formats/agat840k_hle_dsk.h
-
-*********************************************************************/
-
-#ifndef AGAT840K_HLE_DSK_H_
-#define AGAT840K_HLE_DSK_H_
-
-#include "flopimg.h"
-#include "formats/basicdsk.h"
-
-LEGACY_FLOPPY_OPTIONS_EXTERN(agat840k_hle);
-
-#endif /* AGAT840K_HLE_DSK_H_ */