-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Labels
CPURelated to the CPURelated to the CPUDOSRelated to DOSRelated to DOSMusicMusic emulation related. Can be any form of Music (FM Synth, MT-32, or General MIDI, ...)Music emulation related. Can be any form of Music (FM Synth, MT-32, or General MIDI, ...)XMSRelated to XMS memoryRelated to XMS memorybugSomething isn't workingSomething isn't workingcompatibilityEmulator compatibility with DOS appsEmulator compatibility with DOS apps
Description
Describe the bug
I tried to run Spice86 -e <path/to>/ROE2MAIN.EXE
to run the main executable for Rules of Engagement II and it immediately shows an error - does that mean it's not a real-mode DOS binary?
To Reproduce
Steps to reproduce the behavior:
- Run
Spice86 -e <path/to>/ROE2MAIN.EXE
- See error message that says:
{"TargetSite":"Void Grp5()","Message":"An error occurred while machine was in this state: Cycles=6770 CS:IP=0x1:0xEE2/0xEF2 EAX=0x7F06 EBX=0x5 ECX=0xE50 EDX=0x0 ESI=0x0 EDI=0x0 EBP=0xD9A8 ESP=0xD978 SS=0x0 DS=0xA ES=0xA FS=0x0 GS=0x0 flags=0x7016 ( AP ).\nError is: Invalid group index 0x7","StackTrace":" at Spice86.Core.Emulator.CPU.InstructionsImpl.Instructions16Or32.Grp5() in /home/sardaukar/Code/FOREIGN/Spice86/src/Spice86.Core/Emulator/CPU/InstructionsImpl/Instructions16Or32.cs:line 96\n at Spice86.Core.Emulator.CPU.Cpu.ExecOpcode(Byte opcode) in /home/sardaukar/Code/FOREIGN/Spice86/src/Spice86.Core/Emulator/CPU/CPU.cs:line 1076\n at Spice86.Core.Emulator.CPU.Cpu.ExecuteNext() in /home/sardaukar/Code/FOREIGN/Spice86/src/Spice86.Core/Emulator/CPU/CPU.cs:line 127\n at Spice86.Core.Emulator.VM.EmulationLoop.RunLoop() in /home/sardaukar/Code/FOREIGN/Spice86/src/Spice86.Core/Emulator/VM/EmulationLoop.cs:line 103\n at Spice86.Core.Emulator.VM.EmulationLoop.StartRunLoop(FunctionHandler functionHandler) in /home/sardaukar/Code/FOREIGN/Spice86/src/Spice86.Core/Emulator/VM/EmulationLoop.cs:line 92\n at Spice86.Core.Emulator.VM.EmulationLoop.Run() in /home/sardaukar/Code/FOREIGN/Spice86/src/Spice86.Core/Emulator/VM/EmulationLoop.cs:line 68\n at Spice86.Core.Emulator.ProgramExecutor.Run() in /home/sardaukar/Code/FOREIGN/Spice86/src/Spice86.Core/Emulator/ProgramExecutor.cs:line 108\n at Spice86.ViewModels.MainWindowViewModel.EmulatorThread() in /home/sardaukar/Code/FOREIGN/Spice86/src/Spice86/ViewModels/MainWindowViewModel.cs:line 387"}
Expected behavior
Game should start...?
Screenshots
Desktop (please complete the following information):
- OS: EndeavourOS (Linux)
- Version: rolling releases, doesn't have a version
Additional context
Is this not supported in Linux? I can try Windows too
Metadata
Metadata
Assignees
Labels
CPURelated to the CPURelated to the CPUDOSRelated to DOSRelated to DOSMusicMusic emulation related. Can be any form of Music (FM Synth, MT-32, or General MIDI, ...)Music emulation related. Can be any form of Music (FM Synth, MT-32, or General MIDI, ...)XMSRelated to XMS memoryRelated to XMS memorybugSomething isn't workingSomething isn't workingcompatibilityEmulator compatibility with DOS appsEmulator compatibility with DOS apps