Page 3 of 6

Re: Ubuntu 14.04.4 and uqlx2017

Posted: Wed Sep 12, 2018 4:12 pm
by XorA
dilwyn wrote:
Derek_Stewart wrote:Hi,

I downloaded the UQLX2017 source file from QL Homepage:

http://www.dilwyn.me.uk/emu/uqlx-fork-master.zip

There is no uqlx.html file in the docs dirctory, whereas on github the file is there. why the :roll: difference, as the missing doc file gives import information with regards to UQLX.

Thanks Derek.
Not knowing the first thing about uQLx and being afraid of breaking the archive or something, what I've done is to add the uqlx.html as a separate file just after the uQLx 2017 sources on the Emulators page. Hope this helps.


The .html file is built as part of building uqlx ;-)

Re: Ubuntu 14.04.4 and uqlx2017

Posted: Thu Sep 20, 2018 11:03 am
by Martin_Head
I e-mailed Graeme Gregory to ask if the IP Device Driver was working in UQLX 2017. He says that he has never used IP on UQLX.

From a search on the web, I found that back in 2009 someone was having problems getting the IP driver to work when compiling UQLX. Something to do with the version of the software used to the compiling.

So as I can't seem to get the driver working, I am going to assume that the IP Device Driver does not work, or does not work correctly in UQLX 2017.

Re: Ubuntu 14.04.4 and uqlx2017

Posted: Thu Sep 20, 2018 12:46 pm
by XorA
Martin_Head wrote:I e-mailed Graeme Gregory to ask if the IP Device Driver was working in UQLX 2017. He says that he has never used IP on UQLX.

From a search on the web, I found that back in 2009 someone was having problems getting the IP driver to work when compiling UQLX. Something to do with the version of the software used to the compiling.

So as I can't seem to get the driver working, I am going to assume that the IP Device Driver does not work, or does not work correctly in UQLX 2017.


Have you got a link to that discussion?

Also do you have a simple test case? I think Dilwyn did post one ages ago but I forgot where.

I have a couple of days hols next week so I might get a chance to take a look and see what the deal is with uQlx!

Re: Ubuntu 14.04.4 and uqlx2017

Posted: Thu Sep 20, 2018 12:55 pm
by tofro
The uQLx versions I built years ago for the Raspberry Pi and the Efika actually had a working TCP/IP driver (although I never tested it beyond some basic packet transfer tests, and definitely not against your driver, which didn't exist at that time).

That means: It should in principle be working, as I don't assume there have been lots of changes. The exact problem what doesn't work with your setup should be worked out, and I'm sure that can be fixed.

Tobias

Re: Ubuntu 14.04.4 and uqlx2017

Posted: Thu Sep 20, 2018 2:52 pm
by dilwyn
XorA wrote:
Martin_Head wrote:I e-mailed Graeme Gregory to ask if the IP Device Driver was working in UQLX 2017. He says that he has never used IP on UQLX.

From a search on the web, I found that back in 2009 someone was having problems getting the IP driver to work when compiling UQLX. Something to do with the version of the software used to the compiling.

So as I can't seem to get the driver working, I am going to assume that the IP Device Driver does not work, or does not work correctly in UQLX 2017.


Have you got a link to that discussion?

Also do you have a simple test case? I think Dilwyn did post one ages ago but I forgot where.

I have a couple of days hols next week so I might get a chance to take a look and see what the deal is with uQlx!

Not so much a test case as just some notes on how to use it from BASIC, the notes are here http://www.dilwyn.me.uk/docs/uqlx_tcp/index.html

Re: Ubuntu 14.04.4 and uqlx2017

Posted: Thu Sep 20, 2018 8:05 pm
by swensont
IIRC, I did some simple testing of IP on the different emulators. IIRC, I think it worked on uQLx but the syntax was different than SMSQmulator. I can retest this weekend.

Tim

Ubuntu 14.04.4 and uqlx2017

Posted: Thu Sep 20, 2018 8:34 pm
by mk79
Well, uQLx is the original implementation for TCP/IP for QDOS, all applications were originally developed for it. Then I implemented the same interface for QPC and eventually Wolfgang did it for SMSQmulator based on QPC‘s source code, but that was only a few months ago.
If they don‘t behave the same then it‘s a bug.

Re: Ubuntu 14.04.4 and uqlx2017

Posted: Fri Sep 21, 2018 1:37 am
by XorA
Note the change from *TCP_ to TCP_ is a two line patch if someone fancies changing that ;-)

Re: Ubuntu 14.04.4 and uqlx2017

Posted: Fri Sep 21, 2018 4:45 am
by swensont
What XorA is getting at is that the socket in UQLX is not "TCP" but "*TCP". Here is the one line from Dilwyn's example program:

150 OPEN_IN #3,"tcp_www.dilwyn.me.uk:80"

To get it to work with UQLX, just add a * :

150 OPEN_IN #3,"*tcp_www.dilwyn.me.uk:80"

And this now works (I just tested it). Now, programs like Lynx are probably not expecting the *, so that might be why Lynx failed on UQLX. Like XorA said, a simple change in QLip.c :

static const char *dnms[] = {"*tcp,","*udp","*uxs","*uxd","*sck",NULL};

to edit out the *.

Tim

Re: Ubuntu 14.04.4 and uqlx2017

Posted: Fri Sep 21, 2018 10:45 am
by dilwyn
swensont wrote:What XorA is getting at is that the socket in UQLX is not "TCP" but "*TCP".

Err, why? Is it a bug?