Hi All;
I had a scare today, I turned it on and it didn't work right.. Even after a long time of warming it up, which it sometimes needs..
It was the GRA Board, or so it seems..
So now back to getting States Test 6 to Pass, upon examination of the Ram from PDPGUI Dump it look like it may be the same kind of problem..
So, I will look at the code and see if I can figure out what is needed to make it pass..
No it doesn't make sense to me as to where it gets the information from and so why the compare fails.. It fails at '001742..
Where is R0 being written into for the compare to work ?? Or is it further back in the code than this ??
252 001646 010701 T6: SCOPE
253 001650 012737 001720 000030 MOV #T6A,@#EMTVEC ;SET EMT TRAP VECTOR
254 001656 012737 040000 000032 MOV #SM,@#EMTVEC+2 ;SUPER MODE AFTER EMT
255 001664 012737 044000 177776 MOV #SM+REG,@#PSW ;SUPER MODE
256 001672 012706 000600 MOV #SPTR,SSP ;SET SUPER STACK POINTER
257 001676 012737 144000 177776 MOV #UM+REG,@#PSW ;USER MODE
258 001704 012706 000700 MOV #UPTR,USP ;SET USER STACK POINTER
259 001710 104000 EMT ;TRAP USER TO SUPERVISOR
260 001712 005037 177776 T6AA: CLR @#PSW ;
261 001716 000000 HLT
262 001720 013700 177776 T6A: MOV @#PSW,R0 ;SAVE STATUS AFTER EMT TRAP
263 001724 010602 MOV SSP,R2 ;SAVE SUPER STACK POINTER
264 001726 005037 177776 CLR @#PSW ;KERNEL MODE
265 001732 022700 070000 CMP #SM+PUM,R0 ;CHECK STATUS AFTER EMT TRAP
266 001736 001401 BEQ .+4
267 001740 000000 HLT ;ERROR! INCORRECT STATUS AFTER EMT TRAP
268 001742 022767 001712 000574' CMP #T6AA,SPTR-4 ;CHECK RETURN PC ON SUPER STACK
269 001750 001401 BEQ .+4
270 001752 000000 HLT ;ERROR ! INCORRECT RETURN PC ON SUPER STACK AFTER EMT
271 001754 022767 144000 000576' CMP #UM+REG,SPTR-2 ;CHECK STATUS SAVED ON SUPER STACK
272 001762 001401 BEQ .+4
273 001764 000000 HLT ;ERROR! INCORRECT STATUS SAVED ON STACK HALT
274 001766 022702 000600 CMP #SPTR,R2 ;CHECK SUPER STACK POINTER AFTER EMT
275 001772 001401 BEQ .+4
276 001774 000000 HLT ;ERROR! INCORRECT SSP AFTER EMT TRAP
277 001776 012737 140000 177776 MOV #UM,@#PSW ;USER MODE
278 002004 010600 MOV USP,R0 ;SAVE USER STACK POINTER
279 002006 005037 177776 CLR @#PSW ;KERNEL MODE
280 002012 022700 000700 CMP #UPTR,R0 ;CHECK THAT USP WAS NOT CHANGED ON TRAP
281 002016 001401 BEQ .+4
282 002020 000000 HLT ;ERROR! INCORRECT USP AFTER EMT TRAP
283
Right after running the Program, I checked R0 and it had a '050000 in it.. So, if I change the code at '1732 to CMP #SM+PSM,R0, it should pass..
It Now Stops at '001776, I found another typo, CMP #SPTR,R2 ;CHECK SUPER STACK POINTER AFTER EMT,
should be #SPTR-4,R2..
By changing the code I got it to Pass..
But, this GRA Board, now doesn't work, either Temperature problem.. So, I can go back to the other one, since it has sat on the shelf, and see if it is any better.. Otherwise I have two Bad GRA Boards..
OK, I went to the previous GRA board and it is running just fine, now..
I changed the code with PDPGUI at the two locations, I changed address '001734 from 070000 to '050000, and I changed address 001770 from '000600 to '000574 and it now Runs with Eight Stars, before the machine Quit Again..
Well, I have started to wire up My MACT (Manually Actuated Component Tester), since I do Not have one of Don's ACT's.. Except for Power and Ground, it will have an Led (thru a Driver) and a Switch to each Line in a DEC Hex Board, for Testing Purposes..
I got my first Led wired up, which is a power Led, but I check it and Everything is in the right direction, so I can continue with the Signal Led's and switches..
I just Realized, DUH, I have Only half of the Switches and Led's that I need.. Good thing I realized this sort of Early, before I had the whole board wired up..
I just got a reprint of John Lions Book "Lions' Commentary on Unix 6th Edition".
I figured this would be a good addition for my 11/45, Now I just need to get the 11/45 running good enough to put what is in this Book in the Machine..
THANK YOU Marty