]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Remove unused adide.cpp
authorFrode Solheim <frode@fs-uae.net>
Tue, 15 Jul 2025 18:16:37 +0000 (20:16 +0200)
committerFrode Solheim <frode@fs-uae.net>
Tue, 15 Jul 2025 18:16:37 +0000 (20:16 +0200)
adide.cpp [deleted file]

diff --git a/adide.cpp b/adide.cpp
deleted file mode 100644 (file)
index ad5c76f..0000000
--- a/adide.cpp
+++ /dev/null
@@ -1,37 +0,0 @@
- /*
-  * UAE - The Un*x Amiga Emulator
-  *
-  * ADIDE
-  *
-  * (c) 2009 Toni Wilen
-  */
-
-#include "sysconfig.h"
-#include "sysdeps.h"
-
-#include "options.h"
-#include "gayle.h"
-
-static struct ide_hdf *idedrive[2];
-
-int adide_add_ide_unit (int ch, TCHAR *path, int blocksize, int readonly,
-                      TCHAR *devname, int sectors, int surfaces, int reserved,
-                      int bootpri, TCHAR *filesys)
-{
-    struct ide_hdf *ide;
-
-    if (ch >= 2)
-       return -1;
-    alloc_ide_mem ();
-    ide = idedrive[ch];
-    if (!hdf_hd_open (&ide->hdhfd, path, blocksize, readonly, devname, sectors, surfaces, reserved, bootpri, filesys))
-       return -1;
-    ide->lba48 = ide->hdhfd.size >= 128 * (uae_u64)0x40000000 ? 1 : 0;
-    write_log (_T("IDE%d '%s', CHS=%d,%d,%d. %uM. LBA48=%d\n"),
-       ch, path, ide->hdhfd.cyls, ide->hdhfd.heads, ide->hdhfd.secspertrack, (int)(ide->hdhfd.size / (1024 * 1024)), ide->lba48);
-    ide->status = 0;
-    ide->data_offset = 0;
-    ide->data_size = 0;
-    //dumphdf (&ide->hdhfd.hfd);
-    return 1;
-}