From: cuz Date: Fri, 28 Nov 2003 15:53:24 +0000 (+0000) Subject: Clear high byte of returned value X-Git-Tag: V2.12.0~1112 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d7cbbc6f46c8c89fd7752ee1a37875ec34fb3eae;p=cc65 Clear high byte of returned value git-svn-id: svn://svn.cc65.org/cc65/trunk@2689 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/libsrc/c64/get_ostype.s b/libsrc/c64/get_ostype.s index b04c98576..e2db72ae2 100644 --- a/libsrc/c64/get_ostype.s +++ b/libsrc/c64/get_ostype.s @@ -14,6 +14,7 @@ .proc _get_ostype + ldx #$00 ; Clear high byte lda $ff80 rts