]> git.sur5r.net Git - cc65/commitdiff
Clear high byte of returned value
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 28 Nov 2003 15:53:24 +0000 (15:53 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 28 Nov 2003 15:53:24 +0000 (15:53 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2689 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/c64/get_ostype.s

index b04c98576c02171b7c4577c1bd8558c69c6c4f02..e2db72ae2cf35f29c4fbc0efea1ef9790133fc81 100644 (file)
@@ -14,6 +14,7 @@
 
 .proc  _get_ostype
 
+        ldx     #$00            ; Clear high byte
        lda     $ff80
        rts