Skip to content

Commit

Permalink
WriteBank enabled.
Browse files Browse the repository at this point in the history
  • Loading branch information
maziac committed Apr 14, 2020
1 parent 3dc800e commit 5cd4ddc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Commands.cs
Original file line number Diff line number Diff line change
Expand Up @@ -330,13 +330,14 @@ public static void WriteBank()
Int32 physAddress = bankNumber * 0x2000;
// Write memory
var cspect = Main.CSpect;
/* TODO: ENABLE
// TODO: ENABLE
Console.WriteLine("WriteBank: bank={0}", bankNumber);
for (int i=0x2000; i>0; i--)
{
byte value = CSpectSocket.GetDataByte();
cspect.PokePhysical(physAddress++, value);
}
*/

// Respond
CSpectSocket.SendResponse();

Expand Down

0 comments on commit 5cd4ddc

Please sign in to comment.