diff level2/modules/kernel/falltsk.asm @ 3170:18306d646f71

mc09: First release of working L2 port to MC09 platform Kernel has conditional code so should build for all targets, but it's been split out into a separate file to avoid polluting the main code. The included system call source code only has minor conditional additions so it is shared.
author Neal Crook <foofoobedoo@gmail.com>
date Thu, 20 Apr 2017 20:15:19 +0100
parents 2d22d31bc74b
children
line wrap: on
line diff
--- a/level2/modules/kernel/falltsk.asm	Mon Apr 17 22:59:28 2017 +0100
+++ b/level2/modules/kernel/falltsk.asm	Thu Apr 20 20:15:19 2017 +0100
@@ -82,7 +82,11 @@
          stu   b,x          save DAT image pointer in task table
          cmpb  #2           is it either system or GrfDrv?
          bhi   L0C9F        no, return
+      IFNE  mc09
+         lda   <D.TINIT
+      ELSE
          ldx   #DAT.Regs    update system DAT image
+      ENDC
          lbsr  L0E93        go bash the hardware
 L0C9F    puls  cc,d,x,u,pc