• Please review our updated Terms and Rules here

What are the Steps for getting TU58 Running ??

Hi All;
Don and AnyOne who has the information, I have some questions..
First, think I can assume from this that my Serial Port is working OK.. Not for sure, But pretty sure..
Second, Where does the Code for the ""BootStrap"" live, Is it in the 11xxdp.dsk code or in the TU58em code, Maybe the copy I have on/in my PC is currupt ?? and,
Thirdly, what is the difference between TU58em and TU58ew ??
I have re-loaded both the TU58 Images and the TU58 Zip file.. I have also loaded two additional TU58 Images..
THANK YOU Marty
 
Last edited:
Hi All;
Don and AnyOne who has the information, I have some questions..
First, think I can assume from this that my Serial Port is working OK.. Not for sure, But pretty sure..
It would appear so.

Second, Where does the Code for the ""BootStrap"" live, Is it in the 11xxdp.dsk code or in the TU58em code, Maybe the copy I have on/in my PC is currupt ?? and,
There are two bootstraps. The first one is the one you toggled into memory at location 1000. In most later systems this boot code will be in a PROM in the M9312 (or CPU card) and can be invoked directly from the console as device 'DD'. That is how I do it on my PDP-11/44 and PDP-11/34. The boot card you have however is earlier and does not support this, so you have to toggle it in manually. The purpose of this boot code is to load block zero of the device into memory starting at location zero, and then jump to location zero. This is the operating system boot for that device. There is no boot code in tu58em itself.

Thirdly, what is the difference between TU58em and TU58ew ??
I have re-loaded both the TU58 Images and the TU58 Zip file.. I have also loaded two additional TU58 Images..
THANK YOU Marty
tu58em is the cygwin native command line version. tu58ew is the same code, but compiled to use the windows serial driver operating system calls. With tu58em you need to have the cygwin.dll in the same directory, with tu58ew you don't. Other than that there is no practical difference.

It is somewhat troubling that you see differences in the bootstrap block loaded into your memory, I would not expect to see that. Don't quite know what to make of it however, as the differences don't appear to be significant, and all the rest of the code is loaded correctly per your post.

Don
 
Hi All;
Thank You Don, for your informative response..
I Think I know what MAY be causing the problem and I am working on Verifying my Theory..
The M7800 Board is set for the Terminal Monitor and so its Address is '177560 which is OK or so it seems..
But, the VECTOR is set at '060, and where I see the Funny code is Location '000060, so possibly the 8881's that Drive that are being held High or Low or the circuit that Drives the 8881's has a problem !!!
Will the Terminal Monitor work with NO Vector ??
THANK YOU Marty
 
Hi All;
No that is not the Problem !!! I took out the M7800 all together, and the system still does the same thing.. So, that is not it..
THANK YOU Marty
 
Hi All;
THIS is a Repeat of the Other Post..

I have Tried Diane's Code..
And IT WORKS at getting me past that point And I have NO Errors at '000060 to '000066, Either, Those locations are correct Now..
THANK YOU Diane !!!!!!!!!!!!!

C:\PDP\tu58>tu58em -v -d -p 1 -s 9600 -r 11xxdp.dsk
info: unit 0 r file '11xxdp.dsk'
info: tu58 tape emulator v1.4i
info: (C) 2005-2013 Don North <ak6dn@mindspring.com>, (C) 1984 Dan Ts'o <Rockefe
ller University>
info: serial port 1 at 9600 baud
info: TU58 emulation start
info: R restart, S toggle send init, V toggle verbose, D toggle debug, Q quit
info: emulator started
..................info: flag=0x04 last=0xFF
info: <INIT> seen
info: flag=0x04 last=0x04
info: <INIT> seen
info: <INIT><INIT> seen, sending <CONT>
info: flag=0x08 last=0xFF
info: <BOOT> seen
info: boot unit=0 blk=0x0000 cnt=0x0200

C:\PDP\tu58>


Now I have to Read SMP's Postings to find What to do next, to Load or Run the xxdp code..
I have looked through SMP's postings and I Still Don't Know what to do next..
To ""START"" from there Do I Load in a particular Address and hit the Start Button ??
I am at a loss, at what is the Next Step for me to do..


THANK YOU Marty
 
Last edited:
Hi All;
I wiped out the Code on the PDP 11/45, and So I re-entered it.. No problem, But now I get Funny, as in Not correct code loaded on the PDP 11/45..
So, I am going to Try as RSX11M, Suggested and Try another PC, This one I have does not have all of its correct code for running Comm ports and such, as I have no CD for it that would have come with it.. And even going to the site for it, that site gives me some of what I need, but not all of it..
It work most of the time for what I generally do..
But having a PC that I have everything for it would be much better..
THANK YOU Marty
 
Hi All;
Now I have to Read SMP's Postings to find What to do next, to Load or Run the xxdp code..
I have looked through SMP's postings and I Still Don't Know what to do next..
To ""START"" from there Do I Load in a particular Address and hit the Start Button ??
I am at a loss, at what is the Next Step for me to do..

Hi Marty,

Congratulations once again on all your persistence and accomplishments.

When I booted XXDP from the TU58 tape emulator, the code was loaded and automatically executed, so I watched the code load (on the emulator, because my PDP-11/23 has no real front panel) and then after it finished, there was a bit of a delay, mabe a second or two, and then I got the sign-on message from the XXDP code that I had loaded. I did not have to do anything else to get the code to go.

Sorry that I cannot help you more with this...

smp
 
Hi All;
SMP, Actually that Does Help me, as I now know for sure that there is still a problem..
So, THANK YOU !!
I am setting up another PC to use Just for the PDP 11/45..
THANK YOU Marty
 
Hi All;
I Think I sort of have made some progress..
I got the Dell PC working, and it did the same thing as my other PC..
So I went and got as many of the 400Kb files I could find and Re-coppied them to the Dell..
So, when I ran TU58en with 11xxpd.dsk, It would load correctly but have those funny things at '000060 thru '000066 and just Sit there after Loading..
But, (and I don't know where I downloaded it from I have downloaded alot of files), if I ran xxdp.dsk.. It not only loads but the System is Running Code and there is NOTHING at '000060 thru '000066..
I don't know though If this code is all correct either, since it runs and runs but nothing is coming on the Terminal screen.. I am going to make sure I can print an "A" out to it Just to make sure everything is correct..
Yes, it puts out am "A"..
***** Disregard this Paragraph !!! I just noticed something different between the files that run and the files that don't and that is length..
The ones that don't are listed under a 'Dir command' as 262,144 and the ones that seem to run are 409,600.. Now I know that the TU58 is Only suspossed to be 256K .. But, I am wondering If the files might be too short, missing something, 262 is a little short of 265.. *****
THANK YOU Marty
 
Last edited:
Hi All;
I mostly reject what I said in the last Paragraph of the last posting..
But, it has got me to thinking and I have another Theory --
It is copying everything Ok even '000060 thru '000066.. Somewhere around Location (address) '000200 something happens and it stalls or Traps.. And in doing so it copies from somewhere to those locations ('000060 thru '000066).. Something about possibly why it stopped where it did..
The PDP shows address '000224 when it is halted, and that is why I said that something happens at or about address '000200.. It has halted at '00224 for some reason it just has NOT told me why..
Part of the reason that I am thinking this way is, when I loaded the 400Kb files there is No error at location '000060 thru '000066, which tells me it is not the memory or the Bootloader.. It has to be something else..
Is there a Listing of the Boot Code from '000000 to about '000640 ???? If nothing else I will copy it down on paper and see If I can Dis-assemble it by hand..
I have copied the Code that is in an earlier listing from AK6DN to "NotePad" and I am getting it set for addresses and code..
Such as this --
0000100 001000
0000102 000010
0000104 012706
0000106 060000
0000110 000005
0000112 012703
0000114 000060
0000116 012702
0000120 000003
010123 005721 005302 001374 013746 000004 012737
0000140 000152
000004 005711 010113 000403 016713 177704 022626
0000160 012637
000004 012767 000010 177710 012704 001000 010067
0000200 177672
012746 000010 005003 005277 177650 004767 000350
Etc..
Is there a PDP 11 Dis-assembler ???
And (I asked about this before) when using the jumps like '000777 How do they work or how are they figured ??
Such as the first instruction it is a '000240 so do I go to address '000240 or do I subtract that number from '000777 and that ending number is what I look for as the address to jump to ??
THANK YOU Marty
 
Last edited:
Hi All;
I found in the "PDP11GUI" a Dis-assembler, Thank You to the People who Wrote it !!
I also found that many of the places that I thought were jumps may have not been jumps.. But, I still don't understand about them.. Which one are jumps and which ones are not jumps..
I also, Now think that my Code is getting farther than I previously thought.. It has the following code toward the End of the program..
Address '000576 '110377 Movb R3, @000066, address '000600 has '177264..
Address '000604 '105777 Tstb, '000064, address '000606 has '177254..
Address '000620 '105777 Tstb, '000060, address '000622 has '177234..
Address '000626 '017705 Mov '000062, R5 address '000630 has '177230..

0000560 177400 006201 005201 000207 004717 004717 004717 110377
0000600 177264 000303 105777 177254 100375 000207 005003 004717
0000620 105777 177234 100375 017705 177230 100745 150503 000303
And Those are the Affected Addresses..
Now what I still Don't know is If those addresses are supposed to get cleared before booting or Not..
And "Why" my machine is Halting, or Hanging..

I have copied on Grid Paper from the PDP11GUI Dis-assembler the whole program.. I am Now copying from the Grid paper to my "NotePad" File and correcting minor mistakes, like Mov '000074, R2 to R2 = XCSR @ 177564.. Just to make it more meaningful to Me.. I am not saying that it has this particular instruction, but I am using this for illustration purposes..

I have Finished entering the "NotePad" File.. (A Dis-assembly Of the BOOT Program for the TU58..) To hopefully be checked by others for Mistakes, Just ask me for a copy.. This is a NotePad File Not Hand Written..

I have Found other code that Increments and Decrements Address Locations '000062 and '000064.. It looks like After I make a full listing in "NotePad" that I will need to make a flow Chart of what is happening at those memory Locations and Most likely the whole Boot program..
And Maybe that will point to "Why" the system is hanging.. My Best guess at this point, Is it is incrementing or decrementing to a Bad Register which has ONE bit not able to switch states, I.e. '0 or '1.. Even though I have Traded out the GRA Board, where the Registers are Located..
THANK YOU Marty
 
Last edited:
Hi All;
I want to try something and see If I get the same problems..
What Should I do to get "RT11" Loaded in the TU58em ??
Do I Basically Copy, what (AK6DN) Don has on His site, except for Baud rate and Port settings ??

E:\DEC> tu58em -p 3 -s 38400 -r boot.dsk -i rt11.dsk (( <-- Here..))
info: initialize RT-11 directory on 'rt11.dsk'
info: unit 0 r file 'boot.dsk'
info: unit 1 rwci file 'rt11.dsk'
info: serial port 3 at 38400 baud
info: TU58 emulation start
info: R restart, S toggle send init, V toggle verbose, D toggle debug, Q quit
info: emulator started
info: <INIT><INIT> seen, sending <CONT>
info: read unit=0 sw=0x00 mod=0x00 blk=0x0000 cnt=0x0400
info: read unit=0 sw=0x00 mod=0x00 blk=0x0006 cnt=0x0400
info: read unit=0 sw=0x00 mod=0x00 blk=0x0001 cnt=0x0200
info: read unit=0 sw=0x00 mod=0x00 blk=0x0006 cnt=0x0400
info: read unit=1 sw=0x00 mod=0x00 blk=0x0006 cnt=0x0400
info: read unit=1 sw=0x00 mod=0x00 blk=0x0001 cnt=0x0200
info: read unit=1 sw=0x00 mod=0x00 blk=0x0006 cnt=0x0400
info: write unit=1 sw=0x00 mod=0x00 blk=0x0006 cnt=0x0400
info: write unit=1 sw=0x00 mod=0x00 blk=0x0001 cnt=0x0200
info: write unit=1 sw=0x00 mod=0x00 blk=0x0000 cnt=0x0046
info: read unit=0 sw=0x00 mod=0x00 blk=0x0006 cnt=0x0400
info: write unit=1 sw=0x00 mod=0x00 blk=0x0006 cnt=0x0400
[ Q typed ]
info: TU58 emulation end
E:\DEC>

THANK YOU Marty
 
Hi All;
I thought I might have an Idea, but it came to make no difference.. I thought maybe I needed a "-T" in the script.. But, it made no difference..
I have tried a few things, the first is --

When Loading 11xxdp.dsk and after it stops, I do a Panel Reset, and then do another "Start" following that I get a whole bunch of Info: Putpacket () and Getpacket (), followed by a whole bunch of hex Numbers on the screen, Till I get on my Terminal a "Rd ERR?" Where by it stops and will not continue.. And the Second is --

When Trying the Example above, Do I need a "Boot.dsk" File and where do I get it, since it is not on (AK6DN) Don's Site, Since I get nothing that resembles what is in the Above example from AK6DN..
THANK YOU Marty
 
I want to try something and see If I get the same problems..
What Should I do to get "RT11" Loaded in the TU58em ??
Do I Basically Copy, what (AK6DN) Don has on His site, except for Baud rate and Port settings ??

E:\DEC> tu58em -p 3 -s 38400 -r boot.dsk -i rt11.dsk (( <-- Here..))
info: initialize RT-11 directory on 'rt11.dsk'

Yes, but you need a bootable RT-11 disk image. The '-i xxx.dsk' command option just initializes a blank RT-11 file system on that disk image. It will not be bootable. It was just an example showing that tu58em knows how to create a blank media image in a number of file formats (RT-11 and DOS11/XXDP in particular).

Don
 
If you are not able to boot the '11xxdp.dsk' image that is downloadable from the tu58em web page then something is very wrong with your system. Trying to boot RT-11 is not going to help.

You will probably have to resort to toggling in simple hand written diagnostic tests, using more and more complex tests until you find the issue with your CPU.

Don
 
Hi All;
Don, Thank You for Your Response.. My thinking was If I could boot one or the other, maybe that would lead to where the problem might be, Maybe not..
For the RT11.dsk Image I took (I am not saying that this is correct) I took the Image Rt11-5_5.dsk and copied it and renamed it..
Don, Did you get my PM message ??
I have Run about a half a Dozen Memory Maintance Programs and I have Run the PDP 11/40 / 11/45 Instruction Test, and it Passes that as well.. I have NO other Maintenance Programs, Unless RSX11M Has time to come up with those that He has access to..
And You are Partially Mistaken it will Load the Program OK, its after it loads the program and tries to Run the BootStrap Code that it eventually Hangs..
THANK YOU Marty
 
Last edited:
Hi All;
I thought I might have an Idea, but it came to make no difference.. I thought maybe I needed a "-T" in the script.. But, it made no difference..
I have tried a few things, the first is --

When Loading 11xxdp.dsk and after it stops, I do a Panel Reset, and then do another "Start" following that I get a whole bunch of Info: Putpacket () and Getpacket (), followed by a whole bunch of hex Numbers on the screen, Till I get on my Terminal a "Rd ERR?" Where by it stops and will not continue.. And the Second is --

When Trying the Example above, Do I need a "Boot.dsk" File and where do I get it, since it is not on (AK6DN) Don's Site, Since I get nothing that resembles what is in the Above example from AK6DN..
THANK YOU Marty

Every .dsk file listed here http://ak6dn.dyndns.org/PDP-11/TU58/ should be bootable using TU58EM on your CPU. XXDP is generic enough so that it will boot on any PDP-11 system.

You say 'after loading 11xxdp.dsk and after it stops...'.

Where is the PC when it stops? What are the contents of all the registers? This is all important debugging info.

Don
 
Hi All;
The First Program that I am copying Down on Paper, So I can then enter it, is the Register Test Program.. Once I get it Entered and Loaded, I will Let EveryOne know what the Results are..
Does AnyOne have any Suggestions as to What Program I should Copy Down and use for Testing, next..
THANK YOU Marty
 
Hi All;
Thank You, Don, While you were submitting Your Post I was Writing mine..

""Where is the PC when it stops? What are the contents of all the registers? This is all important debugging info.""
Next Time I Run the TU58em with 11xxdp.dsk.. I will try to get that Information for You.. I know the Front Panel shows '000225.. In the Address Leds.. I can't remember what the Data shows..

And that I can see, In the Above Link, which is where I have copied all of the relevant Files for my System, I do Not see one named "Boot.dsk".. Am I Missing something ??

I am Not Trying to Upset any one, But there are No Instructions for Me , nor for AnyOne Else, And So a Part of What I am Trying to Do here is.. Make a set of Instructions Of where to get the necessary Files to Make and Run the 'TU58em'..
And Also IF they get into any kind of Problems or Trouble where to get the Information to help them find and Fix the problem.. On either side of the aisle, whether on the PDP Side or on the PC side..
THANK YOU Marty
 
Last edited:
Where is the PC when it stops? What are the contents of all the registers? This is all important debugging info.""
Next Time I Run the TU58em with 11xxdp.dsk.. I will try to get that Information for You.. I know the Front Panel shows '000225.. In the Address Leds.. I can't remember what the Data shows..

And that I can see, In the Above Link, which is where I have copied all of the relevant Files for my System, I do Not see one named "Boot.dsk".. Am I Missing something ??

First, 'boot.dsk' was meant to be a generic name in that documentation, it is not the name of a specific disk. 'boot.dsk' could be 11xxdp.dsk, 1123_1.dsk, 1144_1.dsk, etc, or any bootable disk from my TU58EM files web page.

Second, if the address LEDs at halt show '000225' that is a problem, as the PC on the PDP-11 must ALWAYS be even. Something is really wrong if your PC is ODD.

And lastly, all the TU58 info I have is on these two pages: http://ak6dn.dyndns.org/PDP-11/TU58/ and http://ak6dn.dyndns.org/PDP-11/TU58/tu58em/ so I don't know how much more specific I can be.

Don
 
Last edited:
Back
Top