mirror of
https://github.com/cc65/cc65.git
synced 2024-10-01 00:57:11 +00:00
Clear high byte of returned value
git-svn-id: svn://svn.cc65.org/cc65/trunk@2689 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
614d23b53a
commit
d7cbbc6f46
@ -14,6 +14,7 @@
|
|||||||
|
|
||||||
.proc _get_ostype
|
.proc _get_ostype
|
||||||
|
|
||||||
|
ldx #$00 ; Clear high byte
|
||||||
lda $ff80
|
lda $ff80
|
||||||
rts
|
rts
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user