view 3rdparty/p2mods/noice/calldbg.asm @ 3169:1ff3d7673e36

mc09 l2: bring sys/makefile in line with latest organisation for other platforms Revise bootfiles/makefile to remove sysgo from bootfile - it can be found on the root of the disk.
author Neal Crook <foofoobedoo@gmail.com>
date Mon, 17 Apr 2017 22:59:28 +0100
parents a293c4ba6084
children
line wrap: on
line source

********************************************************************
* CallDBG - Calls the debugger
*
* $Id$
*
* Edt/Rev  YYYY/MM/DD  Modified by
* Comment
* ------------------------------------------------------------------
*   1      2005/04/04  Boisy G. Pitre
* Created.

         nam   CallDBG
         ttl   Calls the debugger

         ifp1
         use   defsfile
         endc

tylg     set   Prgrm+Objct   
atrv     set   ReEnt+rev
rev      set   $00
edition  set   1

         mod   eom,name,tylg,atrv,start,size

         org   0
         rmb   450
size     equ   .

name     fcs   /CallDBG/
         fcb   edition

message1 fcc   /Execution halted/
         fcb   C$CR
message2 fcc   /Execution resumed/
         fcb   C$CR
start
         lda   #$01
         ldy   #200
         leax  message1,pcr
         os9   I$WritLn

         os9   F$Debug		call debugger

         ldy   #200
         leax  message2,pcr
         os9   I$WritLn

exit     clrb
         os9   F$Exit   

         emod
eom      equ   *
         end