# HG changeset patch # User boisy # Date 1141571480 0 # Node ID a293c4ba60842d19dfa75d23092eeb54f2324044 # Parent 826227be45a1e07df04658df42cee1469cbffc28 Updated for Level 1 diff -r 826227be45a1 -r a293c4ba6084 3rdparty/p2mods/noice/calldbg.asm --- a/3rdparty/p2mods/noice/calldbg.asm Sun Mar 05 15:09:20 2006 +0000 +++ b/3rdparty/p2mods/noice/calldbg.asm Sun Mar 05 15:11:20 2006 +0000 @@ -42,6 +42,7 @@ os9 F$Debug call debugger + ldy #200 leax message2,pcr os9 I$WritLn diff -r 826227be45a1 -r a293c4ba6084 3rdparty/p2mods/noice/noice.asm --- a/3rdparty/p2mods/noice/noice.asm Sun Mar 05 15:09:20 2006 +0000 +++ b/3rdparty/p2mods/noice/noice.asm Sun Mar 05 15:11:20 2006 +0000 @@ -34,6 +34,10 @@ * 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. +* +* 4 2006/03/04 Boisy G. Pitre +* Memory now allocated upon first encounter of system call (for Level 1) +* Now has been verified to work under Level 1. NAM KrnP3 TTL NoICE Serial Debugger for 6809/6309 @@ -49,7 +53,7 @@ ENDC atrv SET ReEnt+rev rev SET $00 -edition SET 3 +edition SET 4 * If an MPI is being used, set DEVICESLOT to slot value - 1 and set MPI to 1 DEVICESLOT EQU 1 slot 2 @@ -113,44 +117,64 @@ IFEQ Level-1 leax 1: get next KrnP module going +* Set the firsttime flag so that the first time we get +* called at dbgent, we DON'T subtract the SWI from the PC. + sta firsttime,u A > $00 lda #tylg get next module type (same as this one!) leax $00 + tfr u,x + puls u +gotmem + ELSE +* Level 2 must make distinction between user and system state +dbgent ldx