Re: [Ql-Users] QPC2 v5.02

2021-12-01 Thread Wolfgang Lenerz via Ql-Users
Hi,


>>> Just to chime in, the newest SMSQmulator (hopefully) to come out in a
>>> few days will do the same, i.e. treat NFA/SFA as win type.
>> Hm, I've just seen that Qubide is also another type. How about we
>> simply define our NFS/DOS devices as type "4" for "emulated" or
>> something? This should solve the QD problem, too.
>>
Sounds good to me. That way, no need to change SMSQE I'll just
update the info


> Good idea! But please, whatever you do, do it the same way for the same
> thing! :o)
> 
> (Sorry for butting in here..)


That's the whole point of having this discussion here!

Anyway, the more the merrier.

Wolfgang
___
QL-Users Mailing List


Re: [Ql-Users] QPC2 v5.02

2021-12-01 Thread pjwitte via Ql-Users

On 01/12/2021 18:08, Marcel Kilgus via Ql-Users wrote:

Wolfgang Lenerz via Ql-Users wrote:

Hi,
Just to chime in, the newest SMSQmulator (hopefully) to come out in a
few days will do the same, i.e. treat NFA/SFA as win type.

Hm, I've just seen that Qubide is also another type. How about we
simply define our NFS/DOS devices as type "4" for "emulated" or
something? This should solve the QD problem, too.

Marcel


Good idea! But please, whatever you do, do it the same way for the 
same thing! :o)


(Sorry for butting in here..)

Per
___
QL-Users Mailing List


Re: [Ql-Users] QPC2 v5.02

2021-12-01 Thread Marcel Kilgus via Ql-Users
Wolfgang Lenerz via Ql-Users wrote:
> Hi,

> Just to chime in, the newest SMSQmulator (hopefully) to come out in a
> few days will do the same, i.e. treat NFA/SFA as win type.

Hm, I've just seen that Qubide is also another type. How about we 
simply define our NFS/DOS devices as type "4" for "emulated" or 
something? This should solve the QD problem, too.

Marcel

___
QL-Users Mailing List


Re: [Ql-Users] QPC2 v5.02

2021-12-01 Thread Giorgio Garabello via Ql-Users
66 / 5000
Risultati della traduzione
Sorry for the delay in my reply .. yes, it seems like a great idea

Il giorno mar 30 nov 2021 alle ore 13:34 Wolfgang Lenerz via Ql-Users <
ql-users@lists.q-v-d.com> ha scritto:

> Hi,
>
> Just to chime in, the newest SMSQmulator (hopefully) to come out in a
> few days will do the same, i.e. treat NFA/SFA as win type.
>
>
> There is a reason for (at least for me):
>
> I use QD extensively.
> When QD saves data to a file, it first of all checks the device type via
> iof.xinf. If it detects that the drive is registered as a an msdos type
> device, it saves the file with line ending CR+LF, instead of the normal
> LF as used on win devices.
>
> If you now try to use the MacroAssembler to assemble a file that
> contains macros, this will fail (the MA seems to calculate the number of
> bytes it has got, which will be wrong as the NFA driver converts CF+LF
> to LF automagically) The MA then resets the file position to somewhere
> in the file, corresponding to the number of bytes before the macro (I
> suppose to read th emacro again) and that will be wrong, so that it
> reads something other in the file and then fails.
>
>
> That being said, might I make a suggestion?
>
> Giorgio said:
>
> 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.
>
> Indeed, that's not the right way, one should use the DMEDIUM_TYPE
> function for that (returns 1 - qdos, 2 - msdos etc) - but this won't
> help you, as that now returns "qdos" device type for dos and nfa/sfa.
>
> However, the specifications also provide for a device sub-type, which is
> not returned by any function and which, AFAIK is not used. One might
> possibly use that to return 1 or 2 as sub-type also.
>
> I'd be willing to create the new basic keyword for that in SMSQE
> ("DMEDIUM_STYPE").
>
> Would that be agreeable to all?
>
>
> Have fun!
>
> Wolfgang
>
>
>
>  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
> >
> ___
> QL-Users Mailing List
___
QL-Users Mailing List