]> git.sur5r.net Git - cc65/commitdiff
Merge pull request #89 from groessler/something_to_pull
authorOliver Schmidt <ol.sc@web.de>
Sat, 8 Mar 2014 20:15:58 +0000 (21:15 +0100)
committerOliver Schmidt <ol.sc@web.de>
Sat, 8 Mar 2014 20:15:58 +0000 (21:15 +0100)
fix typo and add a comment

include/c128.h
libsrc/atari/crt0.s

index 2ca559d49a317e77dc200febac73799db62f73f5..b1ef88fa3a37ccf65ccfca5b8ae857682d23747a 100644 (file)
@@ -129,7 +129,7 @@ extern void c128_reu_emd[];
 extern void c128_vdc_emd[];
 extern void c128_ptvjoy_joy[];
 extern void c128_stdjoy_joy[];  /* Referred to by joy_static_stddrv[] */
-extern void c128_1351_mous[];   /* Referred to by mouse_static_stddrv[] */
+extern void c128_1351_mou[];    /* Referred to by mouse_static_stddrv[] */
 extern void c128_joy_mou[];
 extern void c128_inkwell_mou[];
 extern void c128_pot_mou[];
index fb434b5deb087b6e7643a7a7130445d96a648f0b..ec41565b5778ed5245555a8196dd356e78c74c3c 100644 (file)
@@ -100,8 +100,8 @@ start:
 
 ; Initialize conio stuff
 
-        dey                             ; Set X to $FF
-        sty     CH
+        dey                     ; Set Y to $FF
+        sty     CH              ; remove keypress which might be in the input buffer
 
 ; Push arguments and call main