From: ol.sc 
Date: Tue, 2 Oct 2012 16:41:40 +0000 (+0000)
Subject: Turned the 'ST' status byte into a symbol resolved by the linker in order to allow... 
X-Git-Tag: V2.14~237
X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=72f456536fe665fc9ac65f4e6c3d927d79d5a122;p=cc65
Turned the 'ST' status byte into a symbol resolved by the linker in order to allow to use it from code living in the 'cbm' directory.
Moved getdevice.s from 'c64'/'c128' to 'cbm' making use of the new 'ST' setup.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5837 b7a2c559-68d2-44c3-8de9-860c34a00d81
---
diff --git a/asminc/c128.inc b/asminc/c128.inc
index e9cbe2862..079c4b4da 100644
--- a/asminc/c128.inc
+++ b/asminc/c128.inc
@@ -6,8 +6,6 @@
 ; ---------------------------------------------------------------------------
 ; Zero page, Commodore stuff
 
-ST     	       	:= $90          ; IEC status byte
-
 TIME            := $A0          ; 60HZ clock
 FNAM_LEN       	:= $B7          ; Length of filename
 SECADR 	       	:= $B9          ; Secondary address
diff --git a/asminc/c64.inc b/asminc/c64.inc
index 715e11d81..710c5b273 100644
--- a/asminc/c64.inc
+++ b/asminc/c64.inc
@@ -6,8 +6,6 @@
 ; ---------------------------------------------------------------------------
 ; Zero page, Commodore stuff
 
-ST     	       	:= $90		; IEC status byte
-
 TIME            := $A0          ; 60 HZ clock
 FNAM_LEN       	:= $B7		; Length of filename
 SECADR 	       	:= $B9		; Secondary address
diff --git a/asminc/pet.inc b/asminc/pet.inc
index a07d6b37d..1950046cc 100644
--- a/asminc/pet.inc
+++ b/asminc/pet.inc
@@ -8,7 +8,6 @@
 
 MEMSIZE	       	:= $34          ; Size of memory installed
 TIME            := $8D          ; 60HZ clock
-ST     	       	:= $96          ; IEC status byte
 KEY_COUNT      	:= $9E          ; Number of keys in input buffer
 RVS		:= $9F          ; Reverse flag
 CURS_FLAG	:= $A7          ; 1 = cursor off
diff --git a/asminc/plus4.inc b/asminc/plus4.inc
index 79d242e61..8d07731b2 100644
--- a/asminc/plus4.inc
+++ b/asminc/plus4.inc
@@ -7,7 +7,6 @@
 ; Zero page, Commodore stuff
 
 TMPPTR          := $22          ; Temporary ptr used by BASIC
-ST     	       	:= $90 	    	; IEC status byte
 TIME            := $A3          ; 60HZ clock
 FNAM_LEN       	:= $AB 	    	; Length of filename
 LFN             := $AC          ; Logical file number
diff --git a/asminc/vic20.inc b/asminc/vic20.inc
index 401762577..3331b95f6 100644
--- a/asminc/vic20.inc
+++ b/asminc/vic20.inc
@@ -6,8 +6,6 @@
 ; ---------------------------------------------------------------------------
 ; Zero page, Commodore stuff
 
-ST     	       	:= $90 	        ; IEC status byte
-
 TIME            := $A0          ; 60HZ clock
 FNAM_LEN       	:= $B7 	        ; Length of filename
 SECADR 	       	:= $B9 	        ; Secondary address