msx2: fix crash on outchar debug
authorAlan Cox <alan@etchedpixels.co.uk>
Thu, 6 Nov 2014 21:47:47 +0000 (21:47 +0000)
committerAlan Cox <alan@etchedpixels.co.uk>
Thu, 6 Nov 2014 21:47:47 +0000 (21:47 +0000)
Kernel/platform-msx2/msx2.s

index 556c958..b42a506 100644 (file)
@@ -309,7 +309,7 @@ map_kernel_data:
 ; emulator debug port for now
 outchar:
            push af
-outcharw:
            out (0x2F), a
+           pop af
             ret