Re: [Ql-Users] QPC2 v5.02
My DevGet subroutine (www.Knoware.no/htm/basic.htm) demonstrates how you can always get the real device name. Per On 26/11/2021 10:59, Giorgio Garabello via Ql-Users wrote: It is not a safe method, it can be renamed from DOS_USE Giorgio Il giorno ven 26 nov 2021 alle ore 10:49 pjwitte via Ql-Users < ql-users@lists.q-v-d.com> ha scritto: Giorgio, Use the device name to make the distinction: If its called DOS, then its DOS, etc. Per On 26/11/2021 10:28, Giorgio Garabello via Ql-Users wrote: The old behavior was that DMEDIUM_DRIVE returned -1 when pointing to a dos disk. it was not "correct" but it allowed me to distinguish the two types. what do i need it for? I use it in a couple of programs .. in particular the new file manager that I have created and which I think I will be able to publish in a few weeks. Obviously it works the same but in front of each device he placed an icon to be able to identify it if cd / ram / win / dos It would be interesting to be able to distinguish all the types but obviously I have no idea of the work this entails. Mine is not a criticism, I'm just chatting. Giorgio Il giorno ven 26 nov 2021 alle ore 10:09 Marcel Kilgus via Ql-Users < ql-users@lists.q-v-d.com> ha scritto: Giorgio Garabello via Ql-Users wrote: I uploaded a small bugfix release QPC2v5.02. Switch DMEDIUM_FORMAT for the DOS device to 1 (QDOS) instead of 2 I have a doubt, how can I now recognize a DOS disk from a WIN one? It has been this way for 20 years, I just reverted it back to the old behavior. Why would you want to recognize a DOS disk from a WIN one? Marcel ___ QL-Users Mailing List ___ QL-Users Mailing List . ___ QL-Users Mailing List ___ QL-Users Mailing List ___ QL-Users Mailing List
Re: [Ql-Users] QPC2 v5.02
It is not a safe method, it can be renamed from DOS_USE Giorgio Il giorno ven 26 nov 2021 alle ore 10:49 pjwitte via Ql-Users < ql-users@lists.q-v-d.com> ha scritto: > Giorgio, > > Use the device name to make the distinction: If its called DOS, then > its DOS, etc. > Per > > On 26/11/2021 10:28, Giorgio Garabello via Ql-Users wrote: > > The old behavior was that DMEDIUM_DRIVE returned -1 when pointing to a > dos > > disk. it was not "correct" but it allowed me to distinguish the two > types. > > what do i need it for? > > I use it in a couple of programs .. in particular the new file manager > that > > I have created and which I think I will be able to publish in a few > > weeks. Obviously > > it works the same but in front of each device he placed an icon to be > able > > to identify it if cd / ram / win / dos It would be interesting to be able > > to distinguish all the types but obviously I have no idea of the work > this > > entails. Mine is not a criticism, I'm just chatting. > > > > Giorgio > > > > Il giorno ven 26 nov 2021 alle ore 10:09 Marcel Kilgus via Ql-Users < > > ql-users@lists.q-v-d.com> ha scritto: > > > >> Giorgio Garabello via Ql-Users wrote: > I uploaded a small bugfix release QPC2v5.02. > > Switch DMEDIUM_FORMAT for the DOS device to 1 (QDOS) instead of 2 > >>> I have a doubt, how can I now recognize a DOS disk from a WIN one? > >> It has been this way for 20 years, I just reverted it back to the > >> old behavior. > >> > >> Why would you want to recognize a DOS disk from a WIN one? > >> > >> Marcel > >> > >> ___ > >> QL-Users Mailing List > >> > > ___ > > QL-Users Mailing List > > . > > ___ > QL-Users Mailing List > ___ QL-Users Mailing List
Re: [Ql-Users] QPC2 v5.02
Giorgio, Use the device name to make the distinction: If its called DOS, then its DOS, etc. Per On 26/11/2021 10:28, Giorgio Garabello via Ql-Users wrote: The old behavior was that DMEDIUM_DRIVE returned -1 when pointing to a dos disk. it was not "correct" but it allowed me to distinguish the two types. what do i need it for? I use it in a couple of programs .. in particular the new file manager that I have created and which I think I will be able to publish in a few weeks. Obviously it works the same but in front of each device he placed an icon to be able to identify it if cd / ram / win / dos It would be interesting to be able to distinguish all the types but obviously I have no idea of the work this entails. Mine is not a criticism, I'm just chatting. Giorgio Il giorno ven 26 nov 2021 alle ore 10:09 Marcel Kilgus via Ql-Users < ql-users@lists.q-v-d.com> ha scritto: Giorgio Garabello via Ql-Users wrote: I uploaded a small bugfix release QPC2v5.02. Switch DMEDIUM_FORMAT for the DOS device to 1 (QDOS) instead of 2 I have a doubt, how can I now recognize a DOS disk from a WIN one? It has been this way for 20 years, I just reverted it back to the old behavior. Why would you want to recognize a DOS disk from a WIN one? Marcel ___ QL-Users Mailing List ___ QL-Users Mailing List . ___ QL-Users Mailing List
Re: [Ql-Users] QPC2 v5.02
The old behavior was that DMEDIUM_DRIVE returned -1 when pointing to a dos disk. it was not "correct" but it allowed me to distinguish the two types. what do i need it for? I use it in a couple of programs .. in particular the new file manager that I have created and which I think I will be able to publish in a few weeks. Obviously it works the same but in front of each device he placed an icon to be able to identify it if cd / ram / win / dos It would be interesting to be able to distinguish all the types but obviously I have no idea of the work this entails. Mine is not a criticism, I'm just chatting. Giorgio Il giorno ven 26 nov 2021 alle ore 10:09 Marcel Kilgus via Ql-Users < ql-users@lists.q-v-d.com> ha scritto: > Giorgio Garabello via Ql-Users wrote: > >> I uploaded a small bugfix release QPC2v5.02. > >> > >> Switch DMEDIUM_FORMAT for the DOS device to 1 (QDOS) instead of 2 > > I have a doubt, how can I now recognize a DOS disk from a WIN one? > > It has been this way for 20 years, I just reverted it back to the > old behavior. > > Why would you want to recognize a DOS disk from a WIN one? > > Marcel > > ___ > QL-Users Mailing List > ___ QL-Users Mailing List
Re: [Ql-Users] QPC2 v5.02
Giorgio Garabello via Ql-Users wrote: >> I uploaded a small bugfix release QPC2v5.02. >> >> Switch DMEDIUM_FORMAT for the DOS device to 1 (QDOS) instead of 2 > I have a doubt, how can I now recognize a DOS disk from a WIN one? It has been this way for 20 years, I just reverted it back to the old behavior. Why would you want to recognize a DOS disk from a WIN one? Marcel ___ QL-Users Mailing List