Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!math.lsa.umich.edu!math.lsa.umich.edu!hyc From: hyc@math.lsa.umich.edu (Howard Chu) Newsgroups: comp.sys.atari.st.tech Subject: TOS 1.4 question Message-ID: <1990Aug30.031207.396@math.lsa.umich.edu> Date: 30 Aug 90 03:12:07 GMT Sender: usenet@math.lsa.umich.edu Reply-To: hyc@math.lsa.umich.edu (Howard Chu) Organization: University of Michigan Math Dept., Ann Arbor Lines: 20 Uucp-Path: {mailrus,umix}!um-math!hyc I've discovered part of the reason for SwitchBack not working on my system now... SwitchBack is activated by the Centronics busy interrupt, which worked fine on TOS 1.2, but it seems that TOS 1.4 likes to keep masking this interrupt off. Every time a program is Pexec'd the interrupt is masked off again. I've done a little snooping but haven't found the culprit just yet. Anyone out there recognize the feature? One other problem I've had is due to Turbo16. The SwitchBack interrupt handler uses two delay loops to validate its invocation. (Load register with counter value, dbra to itself. Wait for port bit to raise, wait longer for it to reset again.) The loop doesn't wait long enough for the bit to reset, so the handler always returns without doing anything. I doubled the counter value, and things are closer to working now. But, more often than not, after typing a command key I get bombs and a total lockup. -- -- Howard Chu @ University of Michigan one million data bits stored on a chip, one million bits per chip if one of those data bits happens to flip, one million data bits stored on the chip...