hexed: support PicoDrive savestate loading (only VDP+VRAM for now)
[megadrive.git] / hexed / transfer.h
index b5a9817..7db1e5e 100644 (file)
@@ -5,7 +5,8 @@
 #define CMD_MD_RECV    0xc2    /* recv from MD: addr[3], len[3], data[] */
 #define CMD_JUMP       0xc3    /* jump to addr: addr[3] */
 #define CMD_IOSEQ      0xc4    /* perform i/o ops: count[2], [type[1], addr[3], data[{0,1,2,4}]]* */
-#define CMD_TEST       0xc5    /* test code */
+#define CMD_LOADSTATE  0xc5    /* load PD state: vram[64k], cram[128], vsram[128], vdp[32] */
+#define CMD_TEST       0xc6    /* test code */
 
 #define CMD_FIRST      CMD_MD_SEND
 #define CMD_LAST       CMD_TEST