From d7cbbc6f46c8c89fd7752ee1a37875ec34fb3eae Mon Sep 17 00:00:00 2001 From: cuz Date: Fri, 28 Nov 2003 15:53:24 +0000 Subject: [PATCH] Clear high byte of returned value git-svn-id: svn://svn.cc65.org/cc65/trunk@2689 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/c64/get_ostype.s | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.5