From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: 1164f8,4e4d1258889edc61 X-Google-NewGroupId: yes X-Google-Attributes: gidd180ab3bd8,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.posted.isomediainc!news.posted.isomediainc.POSTED!not-for-mail NNTP-Posting-Date: Wed, 22 Dec 2010 17:19:46 -0600 Newsgroups: comp.sys.dec,alt.sys.pdp10 Date: Wed, 22 Dec 2010 15:19:45 -0800 From: Mark Crispin Subject: Re: Does anyone still use (real) DEC line printers? In-Reply-To: Message-ID: References: <1kep212GYavx@eisner.encompasserve.org> <1kep212GYavx@eisner.encompasserve.org> <1kep212GYavx@eisner.encompasserve.org> User-Agent: Alpine 2.00 (OSX 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 206.124.149.116 X-Trace: sv3-xokYAu/uxCY3eCoXuDkH3vXVz25pgNAABH+RgTItmDGXP/VqFKL+uuMiMkS6E84ydZZvtqVIJ32zoJ5!nZpUsq5VwwtIltYWkxkPQ4gfQO2lS/C9KPDp5WiLRoRCJCaktEnQ9p7BV2kqM9WqoVHeAyvPMb3o!8URUYYOZd5oytQkVNrGGO4aXGlkR X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 3135 Xref: g2news2.google.com comp.sys.dec:2646 alt.sys.pdp10:7154 On Wed, 22 Dec 2010, Bob, K1BC posted: > The bug was that the TTY code assumed DEVIOS(DEVDAT) was being > handled safely by existing monitor routines. But SETIOD (not in > the TTY code) was not interrupt safe, so it was clobbering a bit > that the TTY code used (safely) at both interrupt and non-interrupt > levels. I thought that SETIOD was only called at interrupt level, and didn't mangle the DEVIOS (or anything else in the DDB)? You called it by first doing MOVE IOS,DEVIOS(DEVDAT) and IOS was only looked at. At least that's the way it was on WAITS. Hmm. I see that 3.19 works as in WAITS. However, 7.02 does a MOVEM S,DEVIOS(F) after first possibly turning off IOW. In the main flow, that's just to turn off IOW. So the obvious fix is just MOVEI S,IOW ANDCAB S,DEVIOS(F) But then there's this STPIOD entry point, which is called from SWPINT in SWPSER, which is called by DONE in VMSER, and somewhere way back there S got set up with who-knows-what. Yuck. -- Mark -- http://panda.com/mrc Democracy is two wolves and a sheep deciding what to eat for lunch. Liberty is a well-armed sheep contesting the vote.