🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: floating point math in interrupt routine

#2315
From: Walter Bright
Date: Fri, 21 Sep 1990 20:23
10 lines
1041 bytes
In article <25941@fmsrl7.UUCP> probert@fires1 () writes:
<Does anybody have any nice floating point tricks up their sleeve.
<I have an interrupt routine which does floating point work, while the main
<program also does floating point.  I have put inline assembly into the
<interrupt routine to save and restore the floating point chip, but some
<of the math still goes awry for the main routine.
<Anybody out there who can help?

The floating point in Zortech C/C++ is reentrant, and works fine
at interrupt level.
Technical Details
Message-ID: <2727@dataio.Data-IO.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!pilchuck!dataio!bright
References: <25941@fmsrl7.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!pilchuck!dataio!bright
From: bright@Data-IO.COM (Walter Bright)
Newsgroups: comp.os.msdos.programmer,comp.sys.ibm.pc.hardware
Subject: Re: floating point math in interrupt routine
Keywords: interrupt 287 387 floating point
Message-ID: <2727@dataio.Data-IO.COM>
Date: 21 Sep 90 20:23:48 GMT
References: <25941@fmsrl7.UUCP>
Followup-To: comp.os.msdos.programmer
Distribution: na
Organization: Data I/O Corporation; Redmond, WA
Lines: 10