Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SeaBIOS won't execute (unimplemented opcode that should exist) #5

Open
ghost opened this issue Jul 12, 2017 · 3 comments
Open

SeaBIOS won't execute (unimplemented opcode that should exist) #5

ghost opened this issue Jul 12, 2017 · 3 comments

Comments

@ghost
Copy link

ghost commented Jul 12, 2017

The opcodes sgdt and pause are unimplemented, so JPC fails when starting SeaBIOS Git or 1.10.2 with an UnimplementedOpcodeException. However, I do see code for sgdt at least.

I was able to workaround pause by changing it in code to nop, but what is wrong with sgdt?

@ianopolous
Copy link
Owner

It is probably sgdt in a different operating mode? I'm happy to accept prs if you get it working. The opcode implementations are generated from an xml meta description.

@ghost
Copy link
Author

ghost commented Jul 15, 2017 via email

@ianopolous
Copy link
Owner

That's correct. I haven't looked at this in a while so I don't remember in which modes it is implemented. sgdt might be a little involved, but you can check the intel documentation and also the equivalent source code in Bochs and Qemu for comparison after implementing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant