Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!decwrl!fernwood!portal!atari!apratt From: apratt@atari.UUCP (Allan Pratt) Newsgroups: comp.sys.atari.st Subject: Re: TOS 2.05 bugfix Message-ID: <2903@atari.UUCP> Date: 12 Apr 91 00:21:17 GMT References: Organization: Atari Corp., Sunnyvale CA Lines: 44 larserio@IFI.UIO.NO (LarsErikOsterud) writes: >While testing out my new MEGA STE i discovered a nasty bug in one >of the Xbios routines (I can't understand why no beta-tester has). Maybe because it's not a bug. >The XBIOS 5 call setscreen(logadr,physadr,resolution) >is used to set screen adresses and change screen resolution. >The routine does NOT wait for vertical blank as it i supposed to >but resets the video in the middle of the screen, causing the >picture to wrap around the left edge of the screen in 50% of >the cases. This does not look good (you get the edge of the >grapic screen in the middle of the monitor screen :-) Thank you for starting a panic. I think it is not a bug but a problem with your Mega STe. I can not reproduce the "bug" you report. It might have occurred to you that your Mega STe is to blame, not TOS. Your lack of understanding of the reasons for the protection code in the ROM has led you to a false conclusion. To nip this in the bud, I'll explain. The shifter mode must not be changed during a critical moment around vertical blanking. Previously that was avoided by waiting for the vblank interrupt, which ensures that the critical moment has passed. The new code uses another method: it checks to be sure that you are in the middle of the screen someplace, not in vblank. The upshot is the same: you avoid the window of vulnerability. If you had named the programs that caused trouble this would have been a more useful bug report. It is possible that there is an interaction between those programs and the new code. Please post or mail me the names of those programs. If this turns out to be a real live software bug, I will eat my words. (Lars-Erik has responded to me in mail about the programs (e.g. Degas Elite) and I have suggested that he return the machine to his dealer. This posting is for everybody else, so you don't think we're totally out to lunch when it comes to testing software.) ============================================ Opinions expressed above do not necessarily -- Allan Pratt, Atari Corp. reflect those of Atari Corp. or anyone else. ...ames!atari!apratt