English Amiga Board

English Amiga Board (http://eab.abime.net/index.php)
-   support.WinUAE (http://eab.abime.net/forumdisplay.php?f=5)
-   -   Device type in ATAPI tape IDENTIFY DEVICE data (http://eab.abime.net/showthread.php?t=96749)

mark_k 17 March 2019 22:21

Device type in ATAPI tape IDENTIFY DEVICE data
 
Just wondering... looking at ide_identity_buffer() in ide.cpp, the first word of ATAPI IDENTIFY DEVICE data is set to 0x85C0. Bits [4:0] of the MSB give the device type, here %00101 = 5. That's the device type for CD-ROM.

That value seems to be also used in the ATAPI tape drive case. But the correct device type there is 1 (sequential access), so the first word for ATAPI tape drive should be 0x81C0.


All times are GMT +2. The time now is 13:09.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.

Page generated in 0.03953 seconds with 11 queries