]> git.sur5r.net Git - cc65/commitdiff
Some minor cleanups.
authorOliver Schmidt <ol.sc@web.de>
Thu, 26 Jul 2018 12:35:26 +0000 (14:35 +0200)
committerOliver Schmidt <ol.sc@web.de>
Thu, 26 Jul 2018 12:35:26 +0000 (14:35 +0200)
libsrc/atari/dio_stc.s
libsrc/atari/siocall.s
libsrc/runtime/popptr1.s

index 70dd16088dfcd3988e5e9417d056f0790e9e00d3..768aca08564a96324bcae757e3ad15bb8e574505 100644 (file)
         .export         _dio_log_to_phys
         .include        "atari.inc"
         .importzp       ptr1,ptr2,ptr3
-        .import         popax, popptr1, __oserror
+        .import         popax,popptr1,__oserror
 
 .proc   _dio_log_to_phys
 
         sta     ptr2
         stx     ptr2+1          ; pointer to output structure
 
-        jsr     popptr1         ; save pointer to input data      
+        jsr     popptr1         ; save pointer to input data
 
         jsr     popax
         sta     ptr3
index 0465a6a3e89704afa28a34f0338875e16f8d1cf7..e4fc505e35ddd278e48235cc13e1db7c2d2533db 100644 (file)
@@ -16,7 +16,7 @@
 
         .export         __sio_call
         .include        "atari.inc"
-        .import         popa, popax, popptr1
+        .import         popa,popax,popptr1
         .import         sectsizetab,__oserror
         .importzp       ptr1
 
index 48725efa3b4de9bf31d4310f8a2e63cfceeae8d8..1d04330ab41ff860e265f67aa1234f9f9b6763cb 100644 (file)
@@ -8,16 +8,12 @@
         .import         incsp2
         .importzp       sp, ptr1
 
-        .macpack        cpu
-
-.proc   popptr1                 ; 14 bytes (four usages = at least 2 bytes saved) 
+.proc   popptr1                 ; 14 bytes (four usages = at least 2 bytes saved)
         ldy     #1
         lda     (sp),y          ; get hi byte
         sta     ptr1+1          ; into ptr hi
-        dey                     ; no optimization for 65C02 here to have Y=0 at exit! 
+        dey                     ; no optimization for 65C02 here to have Y=0 at exit!
         lda     (sp),y          ; get lo byte
         sta     ptr1            ; to ptr lo
         jmp     incsp2
 .endproc
-
-