# HG changeset patch # User boisy # Date 1141390624 0 # Node ID 21ddb4118b6c077f3338fc4020849cd6218effb3 # Parent 66b12ff36bb23b446470dc794a780aa78e07a61a Edition 3 - now copes well in user and system state diff -r 66b12ff36bb2 -r 21ddb4118b6c 3rdparty/p2mods/noice/defsfile --- a/3rdparty/p2mods/noice/defsfile Wed Mar 01 16:40:00 2006 +0000 +++ b/3rdparty/p2mods/noice/defsfile Fri Mar 03 12:57:04 2006 +0000 @@ -1,3 +1,2 @@ -Level equ 2 use os9defs use scfdefs diff -r 66b12ff36bb2 -r 21ddb4118b6c 3rdparty/p2mods/noice/makefile --- a/3rdparty/p2mods/noice/makefile Wed Mar 01 16:40:00 2006 +0000 +++ b/3rdparty/p2mods/noice/makefile Fri Mar 03 12:57:04 2006 +0000 @@ -7,22 +7,31 @@ BD = ../../booters -all: calldbg krnp3_6309 krnp3_6809 krnp3_6309_mpi krnp3_6809_mpi +all: calldbg_l1 calldbg_l2 krnp3_6309 krnp3_6809 krnp3_6309_mpi krnp3_6809_mpi noice noice_mpi -calldbg: calldbg.asm -# $(AS) $(ASOUT)$@ $< +calldbg_l2: calldbg.asm + $(AS) $(ASOUT)$@ $< -aLevel=2 $(AFLAGS) + +calldbg_l1: calldbg.asm + $(AS) $(ASOUT)$@ $< -aLevel=1 $(AFLAGS) krnp3_6309: noice.asm - $(AS) $(ASOUT)$@ $< -aKRNMOD -aH6309 -e $(AFLAGS) + $(AS) $(ASOUT)$@ $< -aLevel=2 -aH6309 -e $(AFLAGS) krnp3_6309_mpi: noice.asm - $(AS) $(ASOUT)$@ $< -aKRNMOD -aH6309 -e $(AFLAGS) -aMPI=1 + $(AS) $(ASOUT)$@ $< -aLevel=2 -aH6309 -e $(AFLAGS) -aMPI=1 krnp3_6809: noice.asm - $(AS) $(ASOUT)$@ $< -aKRNMOD $(AFLAGS) + $(AS) $(ASOUT)$@ $< -aLevel=2 $(AFLAGS) krnp3_6809_mpi: noice.asm - $(AS) $(ASOUT)$@ $< -aKRNMOD $(AFLAGS) -aMPI=1 + $(AS) $(ASOUT)$@ $< -aLevel=2 $(AFLAGS) -aMPI=1 + +noice: noice.asm + $(AS) $(ASOUT)$@ $< -aLevel=1 $(AFLAGS) + +noice_mpi: noice.asm + $(AS) $(ASOUT)$@ $< -aLevel=1 $(AFLAGS) -aMPI=1 clean: - $(RM) calldbg krnp3_6309 krnp3_6809 krnp3_6309_mpi krnp3_6809_mpi + $(RM) calldbg_l1 calldbg_l2 krnp3_6309 krnp3_6809 krnp3_6309_mpi krnp3_6809_mpi noice noice_mpi diff -r 66b12ff36bb2 -r 21ddb4118b6c 3rdparty/p2mods/noice/noice.asm --- a/3rdparty/p2mods/noice/noice.asm Wed Mar 01 16:40:00 2006 +0000 +++ b/3rdparty/p2mods/noice/noice.asm Fri Mar 03 12:57:04 2006 +0000 @@ -30,6 +30,10 @@ * 2 2006/02/02 Boisy G. Pitre * Added USERSTATE flag to allow module to debug current process or * system. +* +* 3 2006/03/02 Boisy G. Pitre +* NoICE now displays user or system information in Level 2 with the +* addition of a system state system call and the ssflag variable. NAM KrnP3 TTL NoICE Serial Debugger for 6809/6309 @@ -38,14 +42,14 @@ USE defsfile ENDC - IFNE KRNMOD + IFGT Level-1 tylg SET Systm+Objct ELSE tylg SET Prgrm+Objct ENDC atrv SET ReEnt+rev rev SET $00 -edition SET 1 +edition SET 3 * If an MPI is being used, set RS232SLOT to slot value - 1 and set MPI to 1 MPICTRL EQU $FF7F @@ -73,6 +77,9 @@ ORG 0 callregs RMB 2 firsttime RMB 1 + IFGT Level-1 +ssflag RMB 1 + ENDC IFNE MPI slot RMB 1 ENDC @@ -83,23 +90,33 @@ L0000 MOD eom,name,tylg,atrv,start,size name EQU * - IFNE KRNMOD + IFGT Level-1 FCS /KrnP3/ ELSE FCS /noice/ ENDC FCB edition + IFGT Level-1 nextname FCC /krnp4/ next module name to link to FCB C$CR + ENDC svctabl FCB F$Debug FDB dbgent-*-2 + IFGT Level-1 + FCB F$Debug+$80 + FDB dbgentss-*-2 + ENDC FCB $80 start - IFNE KRNMOD - leay 1: get next KrnP module going lda #tylg get next module type (same as this one!) leax