Page 1 of 2

IP Network driver

Posted: Mon Oct 30, 2023 3:42 pm
by Martin_Head
I'm working on a update of my IP Network driver, To allow it to run along side the normal QL Network (e.g. Q68).

I have to change all the device names, and BASIC extension names.

I don't want any changes I make to clash with anything else, So can anyone see any problems with the name changes I intend to make.

Code: Select all

Name changes in IP Network driver

Original names		Alternate names

Devices:
N			I
NET			IPN
NSV			ISV


BASIC extensions:
NET_START		INET_START
FNET_START		FINET_START

NET_RESTART		INET_RESTART
FSERVE			IFSERVE
NASERVE			INASERVE
NAS_SHARE		INAS_SHARE
NAS_UNSHARE		INAS_UNSHARE
NAS_SHARED		INAS_SHARED
MAP_N			MAP_I
NFS_USE			INFS_USE
NFS_SET			INFS_SET
FNET_RESTART		FINET_RESTART
FNAS_SHARE		FINAS_SHARE
FNAS_UNSHARE		FINAS_UNSHARE
NET_ADD$		INET_ADD$'
NET_VER$		INET_VER$
MAP_LIST		IMAP_LIST
NET_NUM			INET_NUM
NFS_USE$		INFS_USE$
NFS_TYPE		INFS_TYPE

File server:
Server			IPserv

I have added a Config block to the driver, so that you can choose which version of the commands you want.

Re: IP Network driver

Posted: Mon Oct 30, 2023 4:59 pm
by martyn_hill
Hi Martin!

Looks sound to me - your efforts help me test co-existence of the next version of the ND-Q68 driver with your latest (brilliant!) IPNet (did I get confused between project names?)

I do see what appears to be a typo at the end of the line:

Code: Select all

NET_ADD$		INET_ADD$'


Did you intend the extra apostrophe?

Re: IP Network driver

Posted: Tue Oct 31, 2023 9:48 am
by Martin_Head
martyn_hill wrote: Mon Oct 30, 2023 4:59 pm Hi Martin!

Looks sound to me - your efforts help me test co-existence of the next version of the ND-Q68 driver with your latest (brilliant!) IPNet (did I get confused between project names?)

I do see what appears to be a typo at the end of the line:

Code: Select all

NET_ADD$		INET_ADD$'


Did you intend the extra apostrophe?
No typo.

My main concern was if I was going to clash with any of the names that you are using in your driver development.

I only started testing the new driver yesterday. So far I've just run it as two copies of QPC2 running on the same PC. One copy running the old version of the driver, and the other copy the new version with the alternate names. I found a couple of things I forgot to patch from 'N' to 'I', but otherwise seems to be working.

If you want, I could send you a copy of the new driver for you to play with. Testing the driver alongside a real QL Network may be a bit awkward for me, as I'm not really set up to run a QL Network.

Re: IP Network driver

Posted: Tue Oct 31, 2023 9:59 am
by martyn_hill
Hi Martin!

I would be very happy to test in my QL/QPC+QLUB/Q68 network 'lab' that is permanently wired up.

So, what was that additional apostrophe for in the asm definition? I'm curious!

M.

Re: IP Network driver

Posted: Tue Oct 31, 2023 10:30 am
by Martin_Head
martyn_hill wrote: Tue Oct 31, 2023 9:59 am Hi Martin!

I would be very happy to test in my QL/QPC+QLUB/Q68 network 'lab' that is permanently wired up.

So, what was that additional apostrophe for in the asm definition? I'm curious!

M.
Email sent.

To make that list, I just cut and pasted the SuperBASIC definitions from the source code. Then I edited out all the bits I did not need, but missed that apostrophe.
The bit was:

Code: Select all

         dc.w     netadd-*
         dc.b     9,'INET_ADD$'

Re: IP Network driver

Posted: Tue Oct 31, 2023 1:14 pm
by martyn_hill
Ah, OK :-)

Looking forward to testing your revised driver over the weekend.

Thanks, Martin!

Re: IP Network driver

Posted: Tue Oct 31, 2023 4:12 pm
by FrancoisLanciault
Good news! This was on my wish list.

François

Re: IP Network driver

Posted: Tue Oct 31, 2023 10:24 pm
by Peter
Great job, thanks!

Re: IP Network driver

Posted: Tue Oct 31, 2023 10:36 pm
by XorA
Martin_Head wrote: Tue Oct 31, 2023 9:48 am
martyn_hill wrote: Mon Oct 30, 2023 4:59 pm Hi Martin!

Looks sound to me - your efforts help me test co-existence of the next version of the ND-Q68 driver with your latest (brilliant!) IPNet (did I get confused between project names?)

I do see what appears to be a typo at the end of the line:

Code: Select all

NET_ADD$		INET_ADD$'


Did you intend the extra apostrophe?
No typo.

My main concern was if I was going to clash with any of the names that you are using in your driver development.

I only started testing the new driver yesterday. So far I've just run it as two copies of QPC2 running on the same PC. One copy running the old version of the driver, and the other copy the new version with the alternate names. I found a couple of things I forgot to patch from 'N' to 'I', but otherwise seems to be working.

If you want, I could send you a copy of the new driver for you to play with. Testing the driver alongside a real QL Network may be a bit awkward for me, as I'm not really set up to run a QL Network.
I am very interested in making sure the same driver works on QPC2 as sQLux! (assuming this isnt SMSq/e only) I know you found some bugs before!

Re: IP Network driver

Posted: Tue Oct 31, 2023 11:32 pm
by Derek_Stewart
Hi,

This was on my ToDo list, I think Martin is better to do this.

I have programmed anything in years, so having catch, reading SMSQ/E, Minerva source code and Norm's Assembler eComic is good.