Commit Graph
5 Commits
Author SHA1 Message Date
Aleksandar Andrejevic 931a83808f [FAST486]
The FPU function number is actually just the REG component of a mod-reg-r/m byte.


svn path=/branches/ntvdm/; revision=62346
2014-02-27 06:11:05 +00:00
Aleksandar Andrejevic 2d9fbc6954 [FAST486]
Fix the previous commit. FPU_CHECK should be called after the fetch.


svn path=/branches/ntvdm/; revision=62345
2014-02-27 03:57:20 +00:00
Aleksandar Andrejevic 935289b5bc [FAST486]
All of the FPU opcodes fetch another byte which is the function number.
This is done by the CPU and it occurs even if there is no FPU attached.


svn path=/branches/ntvdm/; revision=62344
2014-02-27 03:54:43 +00:00
Aleksandar Andrejevic 9c6b9c9bab [FAST486]
FPU instructions never generate #UD. If CR0.EM is set, they generate #NM.
If there is no FPU and CR0.EM is cleared, they do nothing.
Add a helper macro FPU_ST for accessing FPU registers.
Add a compile-time option to disable the FPU.


svn path=/branches/ntvdm/; revision=61150
2013-11-30 02:03:51 +00:00
Aleksandar Andrejevic 81c27b5b19 [FAST486]
Start implementing the FPU. Stubplement the FPU opcode handlers.


svn path=/branches/ntvdm/; revision=61141
2013-11-29 03:00:59 +00:00