🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #5547

Re: Info on Changing Stacks in protected mode

#5547
From: Bob Eager
Date: Sat, 30 Mar 1991 16:00
13 lines
1335 bytes
In article <1991Mar29.155840.2626@netcom.COM>, resnicks@netcom.COM (Steve Resnick) writes:
> OS/2 will not let me clear interrupts while changing SS:SP.  My question:
> Is it necessary to disable interrupts while switching stacks in protected 
> mode?

Unless you have a very early (buggy) 8088 chip (unlikely on OS/2) you
don't need to disable interrupts anyway. I quote from the 80286
Programmer's Reference Manual: "Any move into SS will disable interrupts
until after the execution of the next instruction".
-------------------------+-------------------------------------------------
Bob Eager                | University of Kent at Canterbury
                         | +44 227 764000 ext 7589
-------------------------+-------------------------------------------------
Technical Details
Message-ID: <22176.27f4b613@cluster@ukc.ac.uk>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!think.com!mintaka!bloom-beacon!eru!hagbard!sunic!mcsun!ukc!harrier.ukc.ac.uk!zodiac.ukc.ac.uk!cur022
References: <1991Mar29.155840.2626@netcom.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!think.com!mintaka!bloom-beacon!eru!hagbard!sunic!mcsun!ukc!harrier.ukc.ac.uk!zodiac.ukc.ac.uk!cur022
From: cur022%cluster@ukc.ac.uk (Bob Eager)
Newsgroups: comp.os.msdos.programmer,comp.os.os2.programmer
Subject: Re: Info on Changing Stacks in protected mode
Message-ID: <22176.27f4b613@cluster@ukc.ac.uk>
Date: 30 Mar 91 16:00:19 GMT
References: <1991Mar29.155840.2626@netcom.COM>
Organization: Computing Lab, University of Kent at Canterbury, UK.
Lines: 13