Autor Thema: MSDOS compatibility FPU Exception  (Gelesen 3431 mal)

scales of justice

  • Beiträge: 228
    • Profil anzeigen
Gespeichert
« am: 06. June 2006, 18:57 »
immer wenn ich mein Programm, das die FPU benutzt, mit Bochs starten will,
bekomme ich eine "MSDOS compatibility FPU Exception",
weis jemand was die bedeutet?
ich konnte keine Infos drüber finden

bitmaster

  • Troll
  • Beiträge: 1 138
    • Profil anzeigen
    • OS-64 = 64 Bit Operating System
Gespeichert
« Antwort #1 am: 06. June 2006, 23:10 »
Das habe ich gefunden. KA ob es dir weiter hilft:

253 // values of signal:
254 //   SIGILL  : opcodes which are illegal
255 //   SIGFPE  : unmasked FP exception before WAIT or non-control instruction
256 //   SIGSEGV : access data beyond segment violation
257   switch (signal) {
258     case SIGFPE:
259       if (fpu_cpu_ptr->cr0.ne == 0) {
260         // MSDOS compatibility external interrupt (IRQ13)
261         BX_INFO (("math_abort: MSDOS compatibility FPU exception"));
262
263         DEV_pic_raise_irq(13);
264         return;
265         }
266       fpu_cpu_ptr->exception(BX_MF_EXCEPTION, 0, 0);
267       // execution does not reach here


bitmaster
In the Future everyone will need OS-64!!!

scales of justice

  • Beiträge: 228
    • Profil anzeigen
Gespeichert
« Antwort #2 am: 07. June 2006, 12:19 »
das hab ich auch gefunden, das ist aus dem Bochs Sourcecode,
weis aber nicht was ich da falsch machen soll,
immerhin lass ich das alles Turbo C machen

vielleicht gehts nur mit Bochs nicht...

bitmaster

  • Troll
  • Beiträge: 1 138
    • Profil anzeigen
    • OS-64 = 64 Bit Operating System
Gespeichert
« Antwort #3 am: 07. June 2006, 16:24 »
Zitat
unmasked FP exception before WAIT or non-control instruction


bitmaster
In the Future everyone will need OS-64!!!

scales of justice

  • Beiträge: 228
    • Profil anzeigen
Gespeichert
« Antwort #4 am: 08. June 2006, 19:10 »
sowas in der Richtung hab ich auch schon gelesen, aber was genau heist das nun?
was mach ich konkret falsch?

 

Einloggen