mirror of
https://github.com/danbulant/Cosmos
synced 2026-06-11 02:31:22 +00:00
fixed?
This commit is contained in:
parent
11cf066fd2
commit
7f48cfaca9
3 changed files with 7 additions and 5 deletions
|
|
@ -43,6 +43,7 @@ namespace Cosmos.Kernel.Staging {
|
|||
_current = (StageBase)_initialize.Dequeue();
|
||||
|
||||
Console.Write("Entering stage ");
|
||||
System.Diagnostics.Debugger.Break();
|
||||
Console.Write(Current.Name);
|
||||
Console.WriteLine(".");
|
||||
|
||||
|
|
|
|||
|
|
@ -6,8 +6,8 @@ using Cosmos.Hardware;
|
|||
|
||||
namespace Cosmos.Shell.Console {
|
||||
public class MyClass {
|
||||
public MyClass(int aParam1, int aParam2) {
|
||||
System.Console.WriteLine("MyClass..ctor");
|
||||
public virtual void Bladibla() {
|
||||
System.Console.WriteLine("Bladibla!");
|
||||
}
|
||||
}
|
||||
public class Program {
|
||||
|
|
@ -39,7 +39,8 @@ namespace Cosmos.Shell.Console {
|
|||
System.Console.Write(" ");
|
||||
System.Console.WriteLine(E.Message);
|
||||
}
|
||||
|
||||
MyClass x = new MyClass();
|
||||
x.Bladibla();
|
||||
System.Console.WriteLine("Halting system now..");
|
||||
|
||||
// Halt system.
|
||||
|
|
|
|||
|
|
@ -124,6 +124,8 @@ namespace Indy.IL2CPU {
|
|||
//Console.Write(", Method = ");
|
||||
//Console.WriteLine(aMethodIndex.ToString());
|
||||
do {
|
||||
//Console.Write("Checking type ");
|
||||
//Console.WriteLine(aType.ToString());
|
||||
for (int i = 0; i < mTypes[aType].MethodIndexes.Length; i++) {
|
||||
//Console.Write(" ");
|
||||
//Console.WriteLine(mTypes[aType].MethodIndexes[i].ToString());
|
||||
|
|
@ -133,8 +135,6 @@ namespace Indy.IL2CPU {
|
|||
}
|
||||
}
|
||||
aType = mTypes[aType].BaseTypeIdentifier;
|
||||
//Console.Write("Switching to basetype ");
|
||||
//Console.WriteLine(GetTypeName(aType));
|
||||
} while (aType != 0);
|
||||
}
|
||||
throw new Exception("Cannot find virtual method!");
|
||||
|
|
|
|||
Loading…
Reference in a new issue