Search found 608 matches

by Martin_Head
Thu Feb 04, 2016 11:04 am
Forum: Software & Programming
Topic: IP Network driver
Replies: 29
Views: 7555

Re: IP Network driver

What you normally should be able to do from your driver is calling the below device driver directly instead of trap - ing into the OS to make that call. You'd need to find the open , close and I/O entry points from the device driver linkage block, set up the registers according to their specific re...
by Martin_Head
Mon Feb 01, 2016 1:58 pm
Forum: Software & Programming
Topic: IP Network driver
Replies: 29
Views: 7555

Re: IP Network driver

Can you check the channel ID in your I/O routine? In my own tests of how to possibly "stack" a device driver, I have experienced the odd case that trying to read (using an I/O trap within the I/O routine of the "upper" driver) from the "bottom" end channel actually end...
by Martin_Head
Sat Jan 30, 2016 10:54 am
Forum: Software & Programming
Topic: IP Network driver
Replies: 29
Views: 7555

Re: IP Network driver

However, even if the underlying "device" - in your case a socket, obviously - Is not able to deliver the data requested, it shouldn't crash. The driver routines should come back with the number of bytes read (0) and a "not complete" in d0. This, in turn, should cause QDOS to com...
by Martin_Head
Thu Jan 28, 2016 10:26 am
Forum: Software & Programming
Topic: IP Network driver
Replies: 29
Views: 7555

Re: IP Network driver

A quick update to the above post, for anyone interested. I tried to reduce the load on the system stack, but it did not help. I then tried adding some "Print" statements in the driver to track how far the code got before it fell over. LBYTES neti_x suddenly started to work! So I then start...
by Martin_Head
Wed Jan 27, 2016 10:52 am
Forum: Software & Programming
Topic: IP Network driver
Replies: 29
Views: 7555

Re: IP Network driver

Firstly, In case of any possible confusion, I am not writing this driver from scratch, I am adapting the Network driver from the SMSQ/E source code. So it should interface with the operating system correctly. Martin - what were the first 15 bytes of your test file? Did you get around to testing SBYT...
by Martin_Head
Tue Jan 26, 2016 11:15 am
Forum: Software & Programming
Topic: IP Network driver
Replies: 29
Views: 7555

Re: IP Network driver

what you seem to be doing is implementing a stacked device driver (i.e. calling the OS while in an OS trap, thus in a reentrant way). SMSQ/E is not made for that, it can get into all sorts of troubles, most of them relating to supervisor stack issues. Yes, The operating system gets confused if you ...
by Martin_Head
Mon Jan 25, 2016 4:22 pm
Forum: Software & Programming
Topic: IP Network driver
Replies: 29
Views: 7555

IP Network driver

Hi, I was wondering if I could pick the brains of anyone who understands the inner workings of SMSQ/E. I'm trying to get the network working in QPC2, using the the IP device drivers. So far I've just tried to implement the basic NETI/O commands of the standard QL. Which just about seem to be working...
by Martin_Head
Fri Jan 15, 2016 11:03 am
Forum: General QL Chat
Topic: WIN extensions
Replies: 44
Views: 13430

Re: WIN extensions

I've no experience of the new QubIDE clones, so I may not be able to help much more. This is new QubIDE from José Lenardo (not pass-through version). With Toolkit 2.20, it shown no ->. As it is not pass-through version of QubIDE, I can't connect it directly to SGC machine. Possibly the QubIDE/Rebel ...
by Martin_Head
Thu Jan 14, 2016 11:09 am
Forum: General QL Chat
Topic: WIN extensions
Replies: 44
Views: 13430

Re: WIN extensions

I have not used a QubIDE for many years. But a bit more information might help. Is this something that worked before, but has now stopped? Or is this a new set up? Is this one of the original QubIDE's, or a newer one? (There was a Partition & Utility disk for the original one, have you got that?...
by Martin_Head
Wed Jan 13, 2016 10:28 am
Forum: Software & Programming
Topic: QDOS TCP/IP programming in Assembler
Replies: 37
Views: 10333

Re: QDOS TCP/IP programming in Assembler

This is an update to my IP manual (see above post). It's been tidied up a bit, and I've tried to make the descriptions of the commander clearer. I have also included some observations I have made on what IP ports will, and will not open. I have still not been able to get the UDP, sendto and recvfrom...