From e86a7db18b2a46dcc0c6a2ddfb4ad1f323a7b1c9 Mon Sep 17 00:00:00 2001
From: Oliver Schmidt
Date: Thu, 26 Jul 2018 14:35:26 +0200
Subject: [PATCH] Some minor cleanups.
---
libsrc/atari/dio_stc.s | 4 ++--
libsrc/atari/siocall.s | 2 +-
libsrc/runtime/popptr1.s | 8 ++------
3 files changed, 5 insertions(+), 9 deletions(-)
diff --git a/libsrc/atari/dio_stc.s b/libsrc/atari/dio_stc.s
index 70dd16088..768aca085 100644
--- a/libsrc/atari/dio_stc.s
+++ b/libsrc/atari/dio_stc.s
@@ -17,14 +17,14 @@
.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
diff --git a/libsrc/atari/siocall.s b/libsrc/atari/siocall.s
index 0465a6a3e..e4fc505e3 100644
--- a/libsrc/atari/siocall.s
+++ b/libsrc/atari/siocall.s
@@ -16,7 +16,7 @@
.export __sio_call
.include "atari.inc"
- .import popa, popax, popptr1
+ .import popa,popax,popptr1
.import sectsizetab,__oserror
.importzp ptr1
diff --git a/libsrc/runtime/popptr1.s b/libsrc/runtime/popptr1.s
index 48725efa3..1d04330ab 100644
--- a/libsrc/runtime/popptr1.s
+++ b/libsrc/runtime/popptr1.s
@@ -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
-
-
--
2.39.5