Re: [Ql-Users] Ql-Users Digest, Vol 166, Issue 16

2017-12-31 Thread Graeme Gregory via Ql-Users


On Sun, 31 Dec 2017, at 9:07 AM, Paolo Del Bene via Ql-Users wrote:
> Have you ever thinked to port GNU/linux on the QL Sinclair?
> 
> Here the list of those GNU/linux distributions 100% Free Software
> 
> https://www.gnu.org/distros/free-distros.html
> 
> Awaiting for your reply as soon as possible
> 
Been done.

http://linux-q40.sourceforge.net/

Wont work on BBQL though, needs a bit more meat than that!

Graeme
___
QL-Users Mailing List


Re: [Ql-Users] Ql-Users Digest, Vol 166, Issue 16

2017-12-31 Thread Paolo Del Bene via Ql-Users
Have you ever thinked to port GNU/linux on the QL Sinclair?

Here the list of those GNU/linux distributions 100% Free Software

https://www.gnu.org/distros/free-distros.html

Awaiting for your reply as soon as possible

Greetings,

Paolo Del Bene

On 30 Dec 2017 10:08 p.m.,  wrote:

> Send Ql-Users mailing list submissions to
> ql-users@lists.q-v-d.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.q-v-d.com/listinfo.cgi/ql-users-q-v-d.com
> or, via email, send a message with subject or body 'help' to
> ql-users-requ...@lists.q-v-d.com
>
> You can reach the person managing the list at
> ql-users-ow...@lists.q-v-d.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Ql-Users digest..."
>
>
> Today's Topics:
>
>1. Re: New document on DV3 drivers (Wolf)
>2. Re: Merry Christmas with SMSQ/E (Marcel Kilgus)
>3. Re: Merry Christmas with SMSQ/E (pjwitte)
>4. Re: Merry Christmas with SMSQ/E (Marcel Kilgus)
>
>
> --
>
> Message: 1
> Date: Sat, 30 Dec 2017 06:11:14 +0100
> From: Wolf 
> To: ql-us...@q-v-d.com
> Subject: Re: [Ql-Users] New document on DV3 drivers
> Message-ID: <3e5e84e3-4a57-c301-a1a3-08e84584a...@wlenerz.com>
> Content-Type: text/plain; charset=utf-8; format=flowed
>
> Hi Per,
>
> > Some programs, such as Qpac2 Files and Qmenu's DIR_ and FILE_SELECT$
> > seem to assume a maximum of 8 DDDs so, presumably, devices beyond that
> > would not be accessable via these programs.
> >
>
> Sure, the number of devices displayed is applicton specific. Marcel's
> latest version of the menu extensions dir_select (not file_select)
> allows for up to 10 devices, Qpac2 only 8, as you noted.
>
> Of course, in all you can also manually enter the device to display.
>
> Regards
>
> Wolfgang
>
>
> --
>
> Message: 2
> Date: Sat, 30 Dec 2017 13:39:45 +0100
> From: Marcel Kilgus 
> To: ql-us...@q-v-d.com
> Subject: Re: [Ql-Users] Merry Christmas with SMSQ/E
> Message-ID: <1587313466.20171230133...@kilgus.net>
> Content-Type: text/plain; charset=utf-8
>
> pjwitte via Ql-Users wrote:
> > If you want a really miserable Christmas, you could try the following
> > - without saving your work first:
> >
> > 1 x% = 32000
> > 2 y% = x%
> > 3 z% = 1600
> > 4 t? = x% * y% * z%: REMark Kabm!!!
> > 5 PRINT "-- Im dead!"
>
> Nice find and, as usual, good repro, thanks. As good as TT's code
> usually is, here he has used too many "magic numbers" instead of
> speaking EQU symbols and promptly used the wrong number (6 instead of
> 8) when calculating a code offset. I will send Wolgang the fix for the
> next release.
>
> What's happening:
>
> 1. "x% * y%" is "int16 * int16" and results in an "int32"
> 2. Then z% in "* z%" is promoted to "int32" so the operation is "int32 *
> int32"
> 3. It checks if the result will overflow, which it will in this case,
>so the operands are converted to "float" and it retries again using the
>"float * float" code path
> 4. But the code to retry jumps back into the "int32 * int32" path instead
>of the "float * float" path and hilarity ensues. This path has never
>worked since the dawn of SBasic :-o
>
> > The above crashes SMSQ/E 3.32 on QPC2 and SMSQmulator! Even the
> > four-finger reset wont work. The following is, as youd expect, fine:
> >
> > 1 x% = 32000
> > 2 y% = x%
> > 3 z% = 1600
> > 4 t? = x% * y%
> > 5 t? = t * z%
> > 6 PRINT "Yippi! - Im still alive!"
>
> "t" is float in this case, so "t * z%" is "float * int16". In this
> case z% is promoted into a float, so the operation is "float * float"
> from the start and everything is happy.
>
> Marcel
>
>
>
> --
>
> Message: 3
> Date: Sat, 30 Dec 2017 15:55:59 +0100
> From: pjwitte 
> To: ql-us...@q-v-d.com
> Subject: Re: [Ql-Users] Merry Christmas with SMSQ/E
> Message-ID: <332633e6-1fee-a817-d365-adda84e6a...@online.no>
> Content-Type: text/plain; charset=utf-8; format=flowed
>
> Thanks, Marcel. Yes, I thought you might enjoy this little holiday
> from "industrial" programming ;)
>
> BTW, no criticism was ever intended of the creators of either SMSQ/E
> or DISA! Bugs are a fact of life, and not even Nature is imune (My
> brain is full of them, for starters - and thats not the inter-festive
> DT's talking!) The deeply philosophical line 5 (in the light of line
> 4) in the first code sample, is for anyone to ponder in the New Year -
> for which I wish y'all a happy one!..
>
> Per
> On 30/12/2017 13:39, Marcel Kilgus via Ql-Users wrote:
> > pjwitte via Ql-Users wrote:
> >> If you want a really miserable Christmas, you could try the following
> >> - without saving your work first:
> >>
> >> 1 x% = 32000
> >> 2 y% = x%
> >> 3 z% = 1600
> >> 4 t? = x% * y% * z%: REMark Kabm!!!
> >> 5 PRINT "-- Im