Browse code

Updated debugger with latest device offsets and vectors

Andrew Alderwick authored on 29/04/2021 19:11:50
Showing 1 changed files
... ...
@@ -86,10 +86,6 @@ start(Uxn *u)
86 86
 	if(!evaluxn(u, PAGE_PROGRAM))
87 87
 		return error("Reset", "Failed");
88 88
 	printstack(&u->wst);
89
-	printf("FRAME --------\n");
90
-	if(!evaluxn(u, PAGE_PROGRAM + 0x08))
91
-		return error("Frame", "Failed");
92
-	printstack(&u->wst);
93 89
 	return 1;
94 90
 }
95 91
 
... ...
@@ -105,13 +101,22 @@ main(int argc, char **argv)
105 101
 	if(!loaduxn(&u, argv[1]))
106 102
 		return error("Load", "Failed");
107 103
 
108
-	portuxn(&u, 0x00, "console", console_talk);
109
-	portuxn(&u, 0x01, "empty", nil_talk);
104
+	portuxn(&u, 0x00, "empty", nil_talk);
105
+	portuxn(&u, 0x01, "console", console_talk);
110 106
 	portuxn(&u, 0x02, "empty", nil_talk);
111 107
 	portuxn(&u, 0x03, "empty", nil_talk);
112 108
 	portuxn(&u, 0x04, "empty", nil_talk);
113 109
 	portuxn(&u, 0x05, "empty", nil_talk);
114
-	portuxn(&u, 0x06, "file", file_talk);
110
+	portuxn(&u, 0x06, "empty", nil_talk);
111
+	portuxn(&u, 0x07, "empty", nil_talk);
112
+	portuxn(&u, 0x08, "empty", nil_talk);
113
+	portuxn(&u, 0x09, "empty", nil_talk);
114
+	portuxn(&u, 0x0a, "file", file_talk);
115
+	portuxn(&u, 0x0b, "empty", nil_talk);
116
+	portuxn(&u, 0x0c, "empty", nil_talk);
117
+	portuxn(&u, 0x0d, "empty", nil_talk);
118
+	portuxn(&u, 0x0e, "empty", nil_talk);
119
+	portuxn(&u, 0x0f, "empty", nil_talk);
115 120
 	start(&u);
116 121
 
117 122
 	return 0;