changeset 1784:be93c36931ad

Some comment additions and changes to the kernel as I learn more about it.
author boisy
date Fri, 08 Apr 2005 00:34:27 +0000
parents 884c56f17214
children 9d95e3246a61
files level2/modules/kernel/krn.asm
diffstat 1 files changed, 8 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/level2/modules/kernel/krn.asm	Thu Apr 07 17:41:21 2005 +0000
+++ b/level2/modules/kernel/krn.asm	Fri Apr 08 00:34:27 2005 +0000
@@ -46,7 +46,7 @@
          IFNE  H6309
          fcc   /www.katvixen.com/
          fcc   /www.katvixen.com/
-         fcc   /www.katvixen.c/
+         fcc   /www.katvixen./
          ELSE
          fcc   /www.katvixen.com/
          fcc   /01/
@@ -972,11 +972,16 @@
 * saves about 200 cycles (calls to I.LDABX and L029E) on grfdrv-system,
 *  or user-system calls.
 SWICall  ldb   [R$PC,s]   --- get callcode of the system call
-         clr   >DAT.Task  go to map type 1
+* NOTE: Alan DeKok claims that this is BAD.  It crashed Colin McKay's
+* CoCo 3.  Instead, we should do a clra/sta >DAT.Task.
+*         clr   >DAT.Task  go to map type 1
+	clra
+	sta	>DAT.Task
          IFNE  H6309
          tfr   0,dp       set DP to zero
          ELSE
-         clra
+* 6809 version: we don't need to clra anymore since we're doing it above now
+*         clra
          tfr   a,dp
          ENDC