summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Program.cs4
-rw-r--r--ibm.ch8bin0 -> 132 bytes
-rw-r--r--tetris.ch8bin0 -> 494 bytes
3 files changed, 2 insertions, 2 deletions
diff --git a/Program.cs b/Program.cs
index 800ee12..31f5e1b 100644
--- a/Program.cs
+++ b/Program.cs
@@ -14,7 +14,7 @@ class Program
Program.Reset();
CreateScreen();
- WriteRom("/Users/melodidey/Source/csharp/pgch8/test_opcode.ch8");
+ WriteRom("tetris.ch8");
WriteFont([
0xF0, 0x90, 0x90, 0x90, 0xF0, // 0
0x20, 0x60, 0x20, 0x20, 0x70, // 1
@@ -184,7 +184,7 @@ class Screen
StringBuilder sb = new();
for (int i = 0; i < Pixels.Length; i++)
{
- sb.Append(Pixels[i] ? "#" : " ");
+ sb.Append(Pixels[i] ? "█" : " ");
if ((i + 1) % Width == 0)
sb.AppendLine();
}
diff --git a/ibm.ch8 b/ibm.ch8
new file mode 100644
index 0000000..113338e
--- /dev/null
+++ b/ibm.ch8
Binary files differ
diff --git a/tetris.ch8 b/tetris.ch8
new file mode 100644
index 0000000..9f5e087
--- /dev/null
+++ b/tetris.ch8
Binary files differ