Jump to reset vector
authorAlyssa Rosenzweig <alyssa@backtick.town>
Tue, 5 Jul 2016 22:02:26 +0000 (15:02 -0700)
committerAlyssa Rosenzweig <alyssa@backtick.town>
Tue, 5 Jul 2016 22:02:26 +0000 (15:02 -0700)
src/CPU/common.tosh

index 1ea2a96..063554e 100644 (file)
@@ -79,7 +79,10 @@ set A to 0
 set X to 0
 set Y to 0
 set S to "0xFD"
-set PC to 49152
+mapper read 65532
+set PC to M
+mapper read 65533
+change PC by M * 256
 delete all of RAM
 repeat 2048
     add "0" to RAM
This page took 0.026264 seconds and 4 git commands to generate.