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

Operations randomly fail under DCPU Toolchain's dtemu #28

Open
unbibium opened this issue Jun 10, 2016 · 0 comments
Open

Operations randomly fail under DCPU Toolchain's dtemu #28

unbibium opened this issue Jun 10, 2016 · 0 comments

Comments

@unbibium
Copy link
Owner

If you run DCPU-Basic under the emulator supplied with the DCPU Toolchain, then it will come close to working, but fail quickly. The startup screen will probably display slightly wrong, and if you load the directory and list it, one of the lines might display the line number with extra decimal places or something. If you try to load and run a program, it will crash eventually.

As near as I can tell, this must have something to do with interrupt handling. I was able to reduce the symptoms a bit by pushing EX to the stack during interrupts, but that didn't fix everything.

I may end up rewriting the whole kernel, or making it swappable, so that I can isolate this problem.

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