diff src/isr.inc @ 623:c40025d8e750

3.03 beta released
author heinrichsweikamp
date Mon, 03 Jun 2019 14:01:48 +0200
parents ca4556fb60b9
children 75e90cd0c2c3
line wrap: on
line diff
--- a/src/isr.inc	Wed Apr 10 10:51:07 2019 +0200
+++ b/src/isr.inc	Mon Jun 03 14:01:48 2019 +0200
@@ -1,6 +1,6 @@
 ;=============================================================================
 ;
-;   File isr.inc
+;   File isr.inc                               combined next generation V3.0.1
 ;
 ;
 ;   Copyright (c) 2011, JD Gascuel, HeinrichsWeikamp, all right reserved.
@@ -8,13 +8,6 @@
 ; HISTORY
 ;  2011-08-06 : [mH] moving from OSTC code
 
-SAFE_2BYTE_COPY MACRO from,to
-	local	retry
-retry:
-	movff	from+1,WREG				; high byte in WREG, ...
-	movff	WREG,to+1				; ... and destination
-	movff	from+0,to+0				; copy low byte
-	movff	from+1,TABLAT			; another bank-safe read
-	xorwf	TABLAT,W				; did the high byte changed?
-	bnz		retry					; YES - retry
-	ENDM
+
+; the macro for safe copying of ISR-modified data has moved
+; to hwos.inc and now works in some different way.