changeset 2933:f3179a938345

boot_d64.asm: Preserve CC on stack /before/ modifying it Thanks to Darren A for this. http://five.pairlist.net/pipermail/coco/2014-January/075732.html
author Tormod Volden <debian.tormod@gmail.com>
date Tue, 21 Jan 2014 20:46:52 +0100
parents 69c2fc49b5fb
children 0bd529f1d860
files level1/modules/boot_d64.asm
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/level1/modules/boot_d64.asm	Sat Jan 18 23:45:12 2014 +0100
+++ b/level1/modules/boot_d64.asm	Tue Jan 21 20:46:52 2014 +0100
@@ -274,8 +274,8 @@
         bcs   	ReadDataExit	; Error : exit
         
 	ldx   	blockloc,u	; Set X=Data load address
+        pshs  	y,dp,cc
         orcc  	#$50		; Enable FIRQ=DRQ from WD
-        pshs  	y,dp,cc
         lda   	#$FF		; Make DP=$FF, so access to WD regs faster
         tfr   	a,dp