[hatari-devel] Hatari GEMDOS drive volume name |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: [hatari-devel] Hatari GEMDOS drive volume name
- From: Uwe Seimet <Uwe.Seimet@xxxxxxxxx>
- Date: Sun, 8 Sep 2024 10:45:55 +0200
- Arc-authentication-results: i=1; strato.com; arc=none; dkim=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1725785158; s=strato-dkim-0002; d=strato.com; h=Message-ID:Subject:To:From:Date:Cc:Date:From:Subject:Sender; bh=J7ziM/D+Pxeu8Q5HtJXHOjpBj/jUr7SR+r3IQSIBk5I=; b=kTFG3fSM+iabgUyM6O4/98Nq2YzbrSqRcqnEhE6T1seC3GL6FH0X76pvmd8qiFOGJ6 SUjXlGPKjEDNbGgbzYEE2b8Vorb/qqoTzdIZ7nNqHBcMU9kSU9URiKyKdN01AbzkwpgQ NLMFfyR+NGTm5qZeZulbHOFm60I2FeP9j79+eMec8+C5eAyuyyXICVJJj5QrqmVAooU7 0c1N44hIte/60WmgaiYkM4q3ifOsS1sCjUEJa19RMmFRENp0A2ta5pjyMMGo1kT7xQdq N2Hvm/16R+lRpGIrjgWfQQsOdIUIKzp6xZKupghZPm23mnxuVIvsZfY4nY3wIK/6qW1D LB4w==
- Arc-seal: i=1; a=rsa-sha256; t=1725785158; cv=none; d=strato.com; s=strato-dkim-0002; b=juHjc4luHPxzcohxFmAR5am4Lf2bcy5RRwbKphcnkElmntLvJExQ+JHadY078La2bz KHq+xlQ6JHvO41hgYxzNBdpLoKZjbRYzlfpP8vGL+WHtWNUGkWN5tAegsxmjjgIuN6gx eNsGAl312GNmMNLZUDpsMGNtMdlkA7ThO28dwyTIike9NvNrGDh4q9CqcRPa8HTRr0Fd KyGo6FZ+blcuMd2jg3pmUGTjlux3n7kKeaet53GospSxgDlJ05Hy9912EyRL9I5bP7fW wEUIqfF8MdYlFf7QLCT8luQzLArU8vKfdWhj120fcrgeqMyihItqAwk1EUMtIMFpu+uT FJng==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1725785158; s=strato-dkim-0002; d=seimet.de; h=Message-ID:Subject:To:From:Date:Cc:Date:From:Subject:Sender; bh=J7ziM/D+Pxeu8Q5HtJXHOjpBj/jUr7SR+r3IQSIBk5I=; b=L7f0+1qy9cmdO4Ftd9Js0KK7L5h2zHiaZUTb50Wx9rj1FrIoytTqKZOacHqfmF2cb+ NkblZjoT94YQrezk1TsTRWfDBGyOAwSkmu/rJAh9o0OGPFQmcsyPp8cmnrYYKOU3KTWI 3aXk4qRGEh6BaX8jX7Rq3rPLsxsprD4PIgY6SBUaiv2gv8aWCqwLu2bg1iAFusRdaCO/ 7wN9LNRmMk6QG3O/t4gU3zA8iAsk3uowIAKdO04AiN25JoAFQrQxzkfIUEPy7WHQWvyO 41M64K1ZD99zRurYxcb2wXqQQZYhKT0GMp2ljOUnPDWd5vY/cJOVs3ypq4einaHvgBn4 YVWQ==
- Dkim-signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1725785158; s=strato-dkim-0003; d=seimet.de; h=Message-ID:Subject:To:From:Date:Cc:Date:From:Subject:Sender; bh=J7ziM/D+Pxeu8Q5HtJXHOjpBj/jUr7SR+r3IQSIBk5I=; b=QzmTxaMNOItUtISUXq21xmZazA+aW2wx2JAumnzByIDWpyXtSJnuX6c0E1h6narw+h tvF52ZuAWLd3za8d/oBg==
Hello,
When drive C: is a GEMDOS drive this code fragment does not work as I
expect it:
if(!Fsfirst("C:\*.*", FA_VOLUME)) {
DTA *dta = Fgetdta();
if(dta->d_attrib == 0x08) {
// Unexpected: d_attrib is $00 here, shouldn't it be 0x08?
// d_fname is "EMULATED.002"
}
}
If C: is a partition on an image file, d_attrib == 0x08 for the volume name.
IMO also for a GEMDOS drive d_attrib should be 0x08, because there appears
to be a volume name "EMULATED.00x".
Best regards
Uwe