QDOS TCP/IP programming in Assembler
Posted: Tue Oct 06, 2015 10:59 am
Has anyone done any programming of the QDOS TCP/IP device driver in assembler, or know where I can get some sample assembly code that works, so I can try to figure out exactly how to call the system Traps.
I really don't know anything about programming TCP/IP ports, So I am learning as I go.
I've got some information written by Richard Zidlicky which gives the names of the system Traps and information on the register usage when calling them. But it is all very 'C' orientated (which I don't speak).
I can find lots on TCP/IP and socket programming on the Internet, but it's all in 'C' and nothing in assembler . I've managed to figure out what most of the QDOS Traps should do, but when I try to use them, they either don't do what I expect, give errors (but I don't know what went wrong, or what I did wrong), or they seem inconsistent in their operation.
Every time I think I'm starting to understand how the driver works, it all seems to fall apart. And at the moment all I seem to be doing is taking one step forward, and two steps back.
Thanks in advance
Martin
I really don't know anything about programming TCP/IP ports, So I am learning as I go.
I've got some information written by Richard Zidlicky which gives the names of the system Traps and information on the register usage when calling them. But it is all very 'C' orientated (which I don't speak).
I can find lots on TCP/IP and socket programming on the Internet, but it's all in 'C' and nothing in assembler . I've managed to figure out what most of the QDOS Traps should do, but when I try to use them, they either don't do what I expect, give errors (but I don't know what went wrong, or what I did wrong), or they seem inconsistent in their operation.
Every time I think I'm starting to understand how the driver works, it all seems to fall apart. And at the moment all I seem to be doing is taking one step forward, and two steps back.
Thanks in advance
Martin