From 304dcda66cd3c574de0fe4828b11e92fc640f3b3 Mon Sep 17 00:00:00 2001 From: Kelvin Sherlock Date: Thu, 18 Dec 2014 14:39:48 -0500 Subject: [PATCH] BlockMoveData --- toolbox/mm.cpp | 3 +++ toolbox/toolbox.cpp | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/toolbox/mm.cpp b/toolbox/mm.cpp index 4069dd5..ba86594 100644 --- a/toolbox/mm.cpp +++ b/toolbox/mm.cpp @@ -562,6 +562,9 @@ namespace MM uint16_t BlockMove(uint16_t trap) { + // also implements BlockMoveData. + // BlockMove will flush caches, BlockMoveData will not. + /* * on entry: * A0 Pointer to source diff --git a/toolbox/toolbox.cpp b/toolbox/toolbox.cpp index 33aa27a..51bc531 100644 --- a/toolbox/toolbox.cpp +++ b/toolbox/toolbox.cpp @@ -223,7 +223,8 @@ namespace ToolBox { break; // BlockMove (sourcePtr,destPtr: Ptr; byteCount: Size); - case 0xa02e: + case 0xa02e: // BlockMove + case 0xa22e: // BlockMoveData d0 = MM::BlockMove(trap); break;