Re: FPEmulator
Posted: Mon Jun 10, 2013
In that case, we don't need FPEmulator and I'll remove it. Although ZLib specifies it requires FPEmulator 4.19, it appears to get along fine without it.
The Archimedes Software Preservation Project
https://forums.jaspp.org.uk:443/forum/
NiceJonAbbott wrote:In that case, we don't need FPEmulator and I'll remove it. Although ZLib specifies it requires FPEmulator 4.19, it appears to get along fine without it.
I haven't checked myself, but I suspect the "bad vector release" error when trying to softload FPEmulator on the Pi (or a BeagleBoard/Pandaboard) will be due to a limitation in OS_ClaimProcessorVector/OS_ReleaseProcessorVector. On ARMv6+ machines there'll be two things claiming the undefined instruction vector on startup - FPEmulator and VFPSupport, with FPEmulator being the one that gets in first. Trouble is, once VFPSupport has claimed the vector, VFPSupport is the only one that's allowed to release it - so to replace FPEmulator you need to kill VFPSupport (which will then restore FPEmulator's handler as the current claimant), then kill FPEmulator, and then restart them in whatever order you desire.steve3000 wrote:The old version, v4.31, doesn't seem to quit properly (*RMKill FPEmulator gives 'Bad vector release')
Yes, there are several different builds, each optimised for different OS/CPU versions. The build variants are primarily identified by their suffixes - see coresrc.s.main for a description: http://www.riscosopen.org/viewer/view/m ... v=1.2#l302JonAbbott wrote:Ive just rechecked PlingSystem.zip - there are three different binary versions of FPEmulator:
Yes. I think FPEmulator has been kept out of the RO5 hard disc image so far because (a) it's a bit tricky/dangerous to softload, and (b) it rarely changes. This is the first bug fix for the past three and a half years.JonAbbott wrote:There will be a fourth for RO5, which we don't have. It's not in HardDisc4, so will require a ROM update.
Really? Assuming it's the version I made for ROOL, it should only need FPEmulator 4.03 (as that's a pre-requisite for the CLib version it requires).JonAbbott wrote:Although ZLib specifies it requires FPEmulator 4.19, it appears to get along fine without it.
Although CLib may require it, it doesn't look like any of the functions I'm using in ZLib actually invoke the FPU...or if they do, they work okay on the original ROM based FPEmulator.Phlamethrower wrote:Really? Assuming it's the version I made for ROOL, it should only need FPEmulator 4.03 (as that's a pre-requisite for the CLib version it requires).JonAbbott wrote:Although ZLib specifies it requires FPEmulator 4.19, it appears to get along fine without it.
Yes, that'll be it - I knew I'd seen that error before, but it's amazing what you forget in the space of 12 years...Phlamethrower wrote:I haven't checked myself, but I suspect the "bad vector release" error when trying to softload FPEmulator on the Pi (or a BeagleBoard/Pandaboard) will be due to a limitation in OS_ClaimProcessorVector/OS_ReleaseProcessorVector.