Skip to content

Commit

Permalink
Remove unused function TestCDROM
Browse files Browse the repository at this point in the history
  • Loading branch information
Risca committed Mar 4, 2023
1 parent 379608c commit dfdec43
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions LIB386/LIB_CD/CDROM.ASM
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ RMI_SS dw 0
public NoLanguage ReadLongCDR
public NoLanguage GetBitCDR
public NoLanguage WaitDisk
;' public NoLanguage TestCDROM
public NoLanguage GetFileCDR


Expand Down Expand Up @@ -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, \
Expand Down

0 comments on commit dfdec43

Please sign in to comment.