IP Network driver

Anything QL Software or Programming Related.
Martin_Head
Aurora
Posts: 854
Joined: Tue Dec 17, 2013 1:17 pm

IP Network driver

Post 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.


martyn_hill
Aurora
Posts: 933
Joined: Sat Oct 25, 2014 9:53 am

Re: IP Network driver

Post 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?


Martin_Head
Aurora
Posts: 854
Joined: Tue Dec 17, 2013 1:17 pm

Re: IP Network driver

Post 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.


martyn_hill
Aurora
Posts: 933
Joined: Sat Oct 25, 2014 9:53 am

Re: IP Network driver

Post 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.


Martin_Head
Aurora
Posts: 854
Joined: Tue Dec 17, 2013 1:17 pm

Re: IP Network driver

Post 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$'


martyn_hill
Aurora
Posts: 933
Joined: Sat Oct 25, 2014 9:53 am

Re: IP Network driver

Post by martyn_hill »

Ah, OK :-)

Looking forward to testing your revised driver over the weekend.

Thanks, Martin!


FrancoisLanciault
Trump Card
Posts: 169
Joined: Mon Aug 08, 2011 11:08 pm

Re: IP Network driver

Post by FrancoisLanciault »

Good news! This was on my wish list.

François


User avatar
Peter
Font of All Knowledge
Posts: 2011
Joined: Sat Jan 22, 2011 8:47 am

Re: IP Network driver

Post by Peter »

Great job, thanks!


User avatar
XorA
Site Admin
Posts: 1368
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: IP Network driver

Post 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!


Derek_Stewart
Font of All Knowledge
Posts: 3975
Joined: Mon Dec 20, 2010 11:40 am
Location: Sunny Runcorn, Cheshire, UK

Re: IP Network driver

Post 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.


Regards,

Derek
Post Reply