# HG changeset patch # User boisy # Date 1112920467 0 # Node ID be93c36931ade2af71c472bdc19b66b510f0c947 # Parent 884c56f17214607ea16412affaed8146e399c946 Some comment additions and changes to the kernel as I learn more about it. diff -r 884c56f17214 -r be93c36931ad level2/modules/kernel/krn.asm --- 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