• Programming DEQNAs and DELQAs on the bare metal

    From Lee Gleason@lee.gleason@comcast.net to alt.sys.pdp11 on Sat Apr 3 21:20:45 2021
    From Newsgroup: alt.sys.pdp11


    As a hobby project, I'm experimenting with programming MicroVAXes on
    the bare metal - no OS.

    I'd like to be able to communicate via DEQNA or DELQA while doing
    this. The manuals for both of these cards are a trifle...recondite (the
    DELQA manual is better than the DEQNA manual, but it's still no
    pushover). I've puzzled out how to make them cough up their boot rom
    code, but nothing else so far.

    Does anyone have any examples of doing card Setup, and packet Send and Receive for either of these two cards, sans OS (on PDP11s or
    MicroVAXes)? Failing examples, any tips for getting them to go that the manuals gloss over?
    --
    Lee K. Gleason N5ZMR
    Control-G Consultants
    lee.gleason@comcast.net
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Ian Hammond@paramucho@gmail.com to alt.sys.pdp11 on Sun Apr 4 01:14:32 2021
    From Newsgroup: alt.sys.pdp11

    On Sunday, April 4, 2021 at 12:20:46 PM UTC+10, lee.g...@gmail.com wrote:
    As a hobby project, I'm experimenting with programming MicroVAXes on
    the bare metal - no OS.

    I'd like to be able to communicate via DEQNA or DELQA while doing
    this. The manuals for both of these cards are a trifle...recondite (the DELQA manual is better than the DEQNA manual, but it's still no
    pushover). I've puzzled out how to make them cough up their boot rom
    code, but nothing else so far.

    Does anyone have any examples of doing card Setup, and packet Send and Receive for either of these two cards, sans OS (on PDP11s or
    MicroVAXes)? Failing examples, any tips for getting them to go that the manuals gloss over?

    --
    Lee K. Gleason N5ZMR
    Control-G Consultants
    lee.g...@comcast.net


    I could never get the ethernet cards to work per the information
    in the manuals (which wasn't all that unusual back in the 1980s).
    Instead I found my own solutions via experimentation (aka hacking).
    That said, these days I find it equally difficult to comprehend
    my own ethernet code, however, for what its worth I've copied
    some potentially useful sources to:

    https://github.com/rust11/rust/tree/master/kit/ether



    NP.MAC - Bootstrap MOP Setup/Send/Receive
    NP.MAC is a skeleton RT-11 driver with an ethernet MOP bootstrap.
    The trick here was to fit an ethernet boot into the less-than-256
    words available for boots.


    EG.MAC - DEQNA Setup/Send/Receive driver
    Buried beneath all the conditionals is an interrupt-driven RT-11
    driver that slots into the NP.MAC skeleton driver.

    EQ.MAC - Conditionals
    LDE.MAC - Structure definitions
    Definitions for some of the structures used in EG.MAC and NP.MAC.
    LDE is a source file extract from a generic macro library found
    at RUST\P\SMS\.

    NF.R
    This is the Windows end of the NP.MAC MOP boot. I couldn't find
    the documentation for this back in the 1980's. NF.R is written
    in my own language, Rider/C, however it has only one degree of
    separation from plain C (including DECUS C). The source has
    debug code because WinPCap stopped working for me at some point.

    QNB.MAC
    This was my small app to read and store the DEQNA boot.


    \EVS\*.MAR
    Apropos nothing-in-particular here are the sources from a vastly
    incomplete VAX project from many years ago which might have this
    or that of interest. There's a debugger and reverse assembler of
    sorts (BUG.MAR, REV.MAR). The definition files are located in RUST\P\SMS\ED%.MAR.


    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Lee Gleason@lee.gleason@comcast.net to alt.sys.pdp11 on Sun Apr 4 14:44:10 2021
    From Newsgroup: alt.sys.pdp11

    On 4/4/2021 3:14 AM, Ian Hammond wrote:
    On Sunday, April 4, 2021 at 12:20:46 PM UTC+10, lee.g...@gmail.com wrote:
    As a hobby project, I'm experimenting with programming MicroVAXes on
    the bare metal - no OS.

    I'd like to be able to communicate via DEQNA or DELQA while doing
    this. The manuals for both of these cards are a trifle...recondite (the
    DELQA manual is better than the DEQNA manual, but it's still no
    pushover). I've puzzled out how to make them cough up their boot rom
    code, but nothing else so far.

    Does anyone have any examples of doing card Setup, and packet Send and
    Receive for either of these two cards, sans OS (on PDP11s or
    MicroVAXes)? Failing examples, any tips for getting them to go that the
    manuals gloss over?

    --
    Lee K. Gleason N5ZMR
    Control-G Consultants
    lee.g...@comcast.net


    I could never get the ethernet cards to work per the information
    in the manuals (which wasn't all that unusual back in the 1980s).
    Instead I found my own solutions via experimentation (aka hacking).
    That said, these days I find it equally difficult to comprehend
    my own ethernet code, however, for what its worth I've copied
    some potentially useful sources to:

    https://github.com/rust11/rust/tree/master/kit/ether



    Thanks for the info! These are great examples.

    --
    Lee K. Gleason N5ZMR
    Control-G Consultants
    lee.gleason@comcast.net

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Three Jeeps@jjhudak4@gmail.com to alt.sys.pdp11 on Mon Apr 5 11:37:38 2021
    From Newsgroup: alt.sys.pdp11

    On Saturday, April 3, 2021 at 10:20:46 PM UTC-4, lee.g...@gmail.com wrote:
    As a hobby project, I'm experimenting with programming MicroVAXes on
    the bare metal - no OS.

    I'd like to be able to communicate via DEQNA or DELQA while doing
    this. The manuals for both of these cards are a trifle...recondite (the DELQA manual is better than the DEQNA manual, but it's still no
    pushover). I've puzzled out how to make them cough up their boot rom
    code, but nothing else so far.

    Does anyone have any examples of doing card Setup, and packet Send and Receive for either of these two cards, sans OS (on PDP11s or
    MicroVAXes)? Failing examples, any tips for getting them to go that the manuals gloss over?

    --
    Lee K. Gleason N5ZMR
    Control-G Consultants
    lee.g...@comcast.net

    I don't have any personal examples. As a suggestion - depending on the depth of your Linux/Unix chops, you may want to look at Net BSD sources or Unix BSD V7 sources to see how they deal with a DELQA or DEQNA on a microVAX.
    Good luck.
    J
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Bob Eager@news0073@eager.cx to alt.sys.pdp11 on Tue Apr 6 08:21:14 2021
    From Newsgroup: alt.sys.pdp11

    On Mon, 05 Apr 2021 11:37:38 -0700, Three Jeeps wrote:

    I don't have any personal examples. As a suggestion - depending on the
    depth of your Linux/Unix chops, you may want to look at Net BSD sources
    or Unix BSD V7 sources to see how they deal with a DELQA or DEQNA on a microVAX.

    I think V7 is PDP-11. But that would do.
    --
    Using UNIX since v6 (1975)...

    Use the BIG mirror service in the UK:
    http://www.mirrorservice.org
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Andy Valencia@vandys@vsta.org to alt.sys.pdp11 on Tue Apr 6 14:47:06 2021
    From Newsgroup: alt.sys.pdp11

    Bob Eager <news0073@eager.cx> writes:
    I don't have any personal examples. As a suggestion - depending on the depth of your Linux/Unix chops, you may want to look at Net BSD sources
    or Unix BSD V7 sources to see how they deal with a DELQA or DEQNA on a microVAX.
    I think V7 is PDP-11. But that would do.

    FWIW, I just looked at 2.11BSD, and the if_qe.c driver appears to be
    for a DEQNA. Under /usr/src/sys/vaxif.

    Andy Valencia
    Home page: https://www.vsta.org/andy/
    To contact me: https://www.vsta.org/contact/andy.html
    --- Synchronet 3.21d-Linux NewsLink 1.2