From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fdd80,5cdb0c1dbaceb85b X-Google-NewGroupId: yes X-Google-Thread: 1164f8,5cdb0c1dbaceb85b X-Google-NewGroupId: yes X-Google-Attributes: gide311f70d09,gidd180ab3bd8,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.223.136 with SMTP id qu8mr2908679pbc.3.1327233556237; Sun, 22 Jan 2012 03:59:16 -0800 (PST) Path: lh20ni210985pbb.0!nntp.google.com!news1.google.com!goblin2!goblin.stu.neva.ru!news.stack.nl!newsfeed.Update.UU.SE!news.Update.UU.SE!not-for-mail From: Johnny Billquist Newsgroups: alt.sys.pdp11,vmsnet.pdp-11,comp.sys.dec Subject: Re: PDP11 Values from MFPT Date: Sun, 22 Jan 2012 12:59:14 +0100 Organization: Update Computer Club Message-ID: References: <4f12e49d$0$295$14726298@news.sunsite.dk> <4f175c07.15409279@nntp.aioe.org> <4f17edcc.11901487@nntp.aioe.org> <4f19229f.41848032@nntp.aioe.org> <4f2121a1.31333128@nntp.aioe.org> <4f1cbaba.24725004@nntp.aioe.org> NNTP-Posting-Host: 178-83-31-172.dynamic.hispeed.ch Mime-Version: 1.0 X-Trace: Iltempo.Update.UU.SE 1327233555 32564 178.83.31.172 (22 Jan 2012 11:59:15 GMT) X-Complaints-To: newsmaster@Update.UU.SE NNTP-Posting-Date: Sun, 22 Jan 2012 11:59:15 +0000 (UTC) User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 In-Reply-To: <4f1cbaba.24725004@nntp.aioe.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit By the way, a reflection here. I note that the coding style in RT-11 is rather different than in RSX. They seem much more "hackish" in RT-11. Making use of all kind of shortcuts and tricky solutions. Lots of mixing of data and code everywhere. Interesting, and rather different from what I'm used to. But it also makes it hopeless to ever have split I/D space. Did anything in RT-11 ever used split I/D space? Johnny On 2012-01-21 14.16, paramucho wrote: > Here's the routine you were looking for, preceded by the quotes AntonC > added when he wrote the FB monitor. Effectively it uses a counter. > Below the lights routine is the patch point (..NULKJ:) where a WAIT > could be patched in. However, as stated variously, the patch point was > never used by the standard distributions or described. The patch point > is used by a performance monitor. The alternate code is for the RT-11 > emulator running under RSX, RTEM. > > ;+ > ; "A source of innocent merriment!" > ; - W.S. Gilbert, "Mikado" > ; "Did nothing in particular, and did it very well" > ; - W.S. Gilbert, "Iolanthe" > ; "To be idle is the ultimate purpose of the busy" > ; - Samuel Johnson, "The Idler" > ; "I got plenty of nothin', and nothin's plenty fo' me!" > ; - George and Ira Gershwin, "Porgy and Bess" > ;- > 30$: > .IF NE LIGH$T > DEC (PC)+ ;The RT-11 lights routine! > LITECT: .WORD 1 > BNE ..NULJ ;Not too often > ADD #<512.>,LITECT ;Reset count, clear carry > 40$: ROL 70$ ;Juggle the lights > BNE 50$ ;Not clear yet > COM 70$ ;Turn on lights, set Carry > 50$: BCC 60$ ;Nothing fell off, keep moving > ADD #<100>,40$ ;Reverse direction > BIC #<200>,40$ ;ROL/ROR flip > 60$: BIT #,CONFG2 ;Does CPU have a light register? > BEQ ..NULJ ;No > MOV (PC)+,@(PC)+ ;Put in lights (for 11/45) > 70$: .WORD 0, SR > .ENDC ;NE LIGH$T > > ..NULJ:: > .IF EQ RTE$M > ;;; WAIT ;Nothin' to do, so don't > NOP ;Nothin' to do, so don't > .IFF ;EQ RTE$M > NOP ;Let the host do the waiting > .ENDC ;EQ RTE$M > NOP ;Second pad instruction > .BR SCNALL ;Drop into ready job scan loop setup > ............ > > ;+ > ; SCNALL (*** RTEM-11 HOOK ***) > ; The RTEM-11 bootstrap hooks this location as: > ; > ; MOVB #,-(SP) ; Job number on top of stack > ; CALLR $IDLP ; Enter the RTEM idle loop > ; > ; The $IDLP routine is located in the RTEM-11 linkage > ; routines. This hook allows RTEM-11 to correctly > ; become idle, by waiting on the idle loop event flag. > ;- > > SCNALL:: ;(*** RTEM-11 HOOK ***) > MOVB #,INTACT ;Do a complete scan > BR EXUSLK ;Back into LOOKFOR loop > ............ > > .DSABL LSB > >