mirror of
https://github.com/reactos/reactos.git
synced 2024-07-23 20:58:16 +00:00
04dc5e3fce
- Patch by Carlo Bramini reviewed by lassy: The CF must be tested when reading time because the legacy DS12x87 chip shows a condition where it's updating its time registers and if it's the case then the call should be retried later. Now the time is valid when both CF flags for date and time are good at the same time. It's better to send the correct value of CF with the proper field to the REGS structure instead of hoping that the flag won't be changed by compiled code. In the Int386() function I did the fix for acquiring the status flags to send to the software interrupt. I also think it is also a good idea to always clear the direction flag before doing movsb/movsw/movsd in this function. Since we are working with DOS stuff, the state of the direction register could be unknown, who knows what happens after those INT opcodes. Afterall I don't think that adding these two "cld" would be a big problem. See issue #2786 for more details. svn path=/trunk/; revision=48383 |
||
---|---|---|
irc | ||
reactos | ||
rosapps | ||
rostests | ||
wallpaper |