• Please review our updated Terms and Rules here

MSCP Controller with SD-Card, need some help

Wonderful news! No hurry. I have so many other projects to attend to.

I have an official ATF15xx programmer already which I have been using for other projects. I also have a bunch of those cheap Chinese AVR programmers so I think I should be able to handle that part.
 
And to @Terri - no I did not test it with RSTS/E if you can prepare a disk image then I will give it y try. I'm a total beginner to RSTS/E though, never used it.
Ok. Here is an RD54 image (or at least what SIMH thinks is an RD54, and the zip file also contains a boot.ini for SIMH):

If you want the full documentation set:
 
Gave it a try. But no success. It does something but after some time the only thing RSTS does is a Get Unit Status and a Set Controller Characteristics. Looking at the INI file this seems to be configured for a Unibus machine. Should it as well boot on a 11/73 CPU? Unibus makes use of unibus mapping (UDA50 has no massbus interface as far as I know).

Dump question of course it does, just tried it in SIMH. Or in other words, no success so far, need to find out the root cause of the boot failure. Hmm..
 
Last edited:
Ok, not sure what happens. But according to what I see RSTS is sending a command message with connection ID 1, which is declared as reserved, and I have no clue what to do with it. So my POLL job just croaks and dies. Someone an idea what RSTS wants to do with a command with connection ID 1? Seems a bit strange however, perhaps making some trace and log in simh will give me a hint. Might very as well be a programming error in my MSCP transport routines, which was not hit by the other boot processes? More debugging sessions ahead I suppose ..
 
Last edited:
Code:
Fatal RSTS/E system initialization error!
Disk DU0: is hung

 PC=120400 PS=034344 OV=000006 M5=004000 M6=004200 SP=041236
 R0=000000 R1=000026 R2=042125 R3=000016 R4=000000 R5=041350

SP-> 021364 000026 000000 000040 000016 040474

Very interesting but not what I expected. However together with the log from my MSCP controller I have some suspicion.
 
There were really some major errors in my code proccessing the command "get unit status" with the modfiier bit "md_nxu" set. RSTS/E is a first using this bit, actually surprising as it allows you to detect how many disks are attached to the MSCP controller and how many units are potentially supported. This explains why the error did go unnoticed. So I straightened this and now the output from the trace in simh and the output of the logging produced by my MSCP controller are identical but only to a certain point. The boot process will eventually reach a point where it scans the MSCP controller for all units after having checked other hardware, the memory, etc. From this point on the boot process using simh RSTS/E will initialize the MSCP controller and set new parameters. Something very common during the boot process. But in my test system RSTS/E does not initialize the MSCP controller, i.e. it does not perform a write to the IP register and then continue with the initialisation process. It just reads the IP register which triggers a POLL and apparently the parameters for DMA are no longer valid. I attached the LA to the Q-Bus and indeed after the last get unit status there is no DATO to the IOPage, just a DATI to the SA register to check for errors and then a DATI to the IP. But why is it different? My MSCP controller cannot detect this situation as there is no DATO to the IP on the Q-Bus. So either one of the reads before failed without noticing, writing bad values perhaps? Or is it a problem with my system. Except for my MSCP controller the system consists only of genuine Q-Bus cards, a M8192, a DLV11J and 1Mbyte Card CI-1123+ from Chrislin. How picky is RSTS/E? Any suggestions what I should check?
 
Have you run the ZRQA diagnostics? https://www.bitsavers.org/pdf/dec/p...X50_EXERCISER__AH-T399H-MC__JAN_1986_gray.pdf

https://retrocmp.com/images/stories/joerg/pdp11_diagnostic_database///resourcefiles/set0/ZRQAH0.BIN

There is also the ZRQD and ZRQE diagnostics mentioned. Not sure if these are relevant.

Also thinking that your device should be similar to the KDA50 so those diags could also be of interest. ZUDH and ZUDJ.

https://www.bitsavers.org/pdf/dec/p...A50-Q_BSC_SUB__AH-T929A-MC__FEB_1985_gray.pdf

Perhaps certain tests are not applicable since they relate to the disk resident diag functions.
 
Completely forgot about this option. Of course. Just added a RLV12 emulator to my system and booted the XXDP2.5 RL02 image from Jörg. Let's see what the diagnostics tell. But first is RTFM time. It's been too long since I used them. Thanks for mentioning.
 
Completely forgot about this option. Of course. Just added a RLV12 emulator to my system and booted the XXDP2.5 RL02 image from Jörg. Let's see what the diagnostics tell. But first is RTFM time. It's been too long since I used them. Thanks for mentioning.
Hi - I have spent a couple of weeks starting upgrading my emulator from 11/23 to 11/73 - it's now passing the diags ZKDJ/K/L which is good - I think I'm just behind you, adding "GET UNIT STATUS" as I also have this from RSTS:
1780853543231.png

as I have not finished filling in all the fields yet...

If you're booting XXDP from RL02 (as I do) you can do a DIR DU0: and see it scan the MSCP drives - bit mine seems to do a get status on unit 1 even when I do "DIR DU0:"...

I'll have a look at how RSTS initialises when I get a bit further...

Robin
 
Back
Top