From dfdec439213068966a09b1e4c0ecbaf568c5b3a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrik=20Dahlstr=C3=B6m?= Date: Sat, 4 Mar 2023 04:15:05 +0100 Subject: [PATCH] Remove unused function TestCDROM --- LIB386/LIB_CD/CDROM.ASM | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/LIB386/LIB_CD/CDROM.ASM b/LIB386/LIB_CD/CDROM.ASM index 3bf9019..f32aab9 100644 --- a/LIB386/LIB_CD/CDROM.ASM +++ b/LIB386/LIB_CD/CDROM.ASM @@ -114,7 +114,6 @@ RMI_SS dw 0 public NoLanguage ReadLongCDR public NoLanguage GetBitCDR public NoLanguage WaitDisk -;' public NoLanguage TestCDROM public NoLanguage GetFileCDR @@ -883,28 +882,6 @@ NoError: ret PlayTrackCDR endp ;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -comment @ -TestCDROM proc uses ebx - - xor eax, eax - mov ebx, 1 - - push eax - push [PtDosCD] - push ebx - push eax - call ReadLongCDR - add esp, 4*4 - or eax, eax - je NoError - xor eax, eax - ret -NoError: - mov eax, 1 - ret -TestCDROM endp -@ -;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ReadLongCDR proc uses es esi edi ebx,\ Start:DWORD, \ NbSect:DWORD, \