diff --git a/AGC.dev/Program.cs b/AGC.dev/Program.cs index 1c22c01..a3d838f 100644 --- a/AGC.dev/Program.cs +++ b/AGC.dev/Program.cs @@ -13,8 +13,8 @@ static void Main(string[] args) { var computer = new Computer(); - computer.Memory.GetAddress(0x300).Write(0x6301); - computer.Memory.GetAddress(0x301).Write(0x02); + computer.Memory.GetWord(0x300).Write(0x6301); + computer.Memory.GetWord(0x301).Write(0x02); computer.CPU.Z.Write(0x300); computer.CPU.Execute(); diff --git a/AGC/AGC.csproj b/AGC/AGC.csproj index a53d221..907bb7c 100644 --- a/AGC/AGC.csproj +++ b/AGC/AGC.csproj @@ -37,9 +37,14 @@ - + + + + + - + + @@ -48,11 +53,16 @@ + + + + +