Closed ARMmaster17 closed 9 years ago
Based on the text of the error, it looks like you are using a release that is 5 or more years old which is absolutely not supported.
But I'm using the latest version from GitHub located here: https://github.com/CosmosOS/Cosmos/releases/tag/v0.20150130
@mterwoord - Why are we seeing this old message here instead of the newer one with URL?
Here's the full dump from VS: https://gist.github.com/ARMmaster17/943106a53422a6226248
Also, I did switch the reference from this:
using Cosmos.Hardware;
to this:
using Cosmos.HAL;
All this on Visual Studio Professional 32-bit 2013 on Win 8.1 Industry Pro (32-bit). Compiled using default settings included in the template with the build option set for VMware.
@czhower This is a recent release.
@ARMmaster17 Would you be able to make a pull request? The bug is in our IL interpreter. See https://github.com/CosmosOS/Cosmos/issues/72 for the accompanying stobj bug..
@mterwoord Sure, I think I can figure it out. What exactly do I have to do?
@ARMmaster17 Have you read issue #72? It's pretty much the same bug, but for a different (but very similar) instruction.
If you want, you can add me to skype. same id..
@mterwoord So if I understand this correctly, I just have to redo commit 77f741a1272823419b3f756ea3c16648f7209a1b, but with ldobj instead of stobj? (Except in the VGAscreen file, not PCspeaker.cs)
Only the OpType change. One thing though: GetNumberOfStackPops should return 1 instead of 2, and GetNumberOfStackPushes should return 1 instead of 0
Ok, pull request has been opened with the changes as PR #81.
I'll try to review it soon, or maybe someone else will.. Thanks!
Trying to write to a VGAscreen throws an error at compile-time:
Here are some excerpts from my code that may be helpful:
I apologize if I am missing some new feature. I just upgraded from the Codeplex version to the latest release (not source) on GitHub. That's when my code stopped working.