about summary refs log tree commit diff stats
path: root/subx_opcodes
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-12-26 19:13:23 -0800
committerKartik Agaram <vc@akkartik.com>2020-12-26 19:13:23 -0800
commit73728ec665e8b128b63c6c633f7c1dd7cfcae2f4 (patch)
treeb09e704fad0fb64642f7fcb9d7fbb68da0c22d83 /subx_opcodes
parent4b26c93e69e13462b7397f860b4f52b12aae2897 (diff)
downloadmu-73728ec665e8b128b63c6c633f7c1dd7cfcae2f4.tar.gz
7412 - drawing pixels to screen
This works, but colors are unexpected. 0xff isn't white. Lots of colors
are black. Perhaps I need to initialize a palette.
Diffstat (limited to 'subx_opcodes')
-rw-r--r--subx_opcodes2
1 files changed, 1 insertions, 1 deletions
diff --git a/subx_opcodes b/subx_opcodes
index 273c2a88..f8bdc045 100644
--- a/subx_opcodes
+++ b/subx_opcodes
@@ -80,7 +80,7 @@ Opcodes currently supported by SubX:
   bf: copy imm32 to EDI (mov)
   c1: shift rm32 by imm8 bits depending on subop (sal/sar/shl/shr)
   c3: return from most recent unfinished call (ret)
-  c6: copy imm8 to r8/m8-at-r32 (mov)
+  c6: copy imm8 to r8/m8-at-r32 with subop 0 (mov)
   c7: copy imm32 to rm32 with subop 0 (mov)
   cd: software interrupt (int)
   d3: shift rm32 by CL bits depending on subop (sal/sar/shl/shr)