home *** CD-ROM | disk | FTP | other *** search
- ; this is an example Snoopy scriptfile that emulates some of the SnoopDos behaviour
-
- ; the workbench is a good choice for hiding, because there's really not much
- ; sense in being bored by these calls, is there ?!
- hide=Workbench
-
- ; skip problems resulting from stack arguments
- pri=3
-
- ; a library is opened for snooping by calling
- ; base=<alias>,<complete name>
-
- base=dos,dos.library
-
- ; a function can be monitored by calling
- ; watch=<base>,<offset>,<regs>,<template>
-
- watch=dos,-30,D1L/D2L/RBD0L,Open( "%s", $%lx ) = %s
- watch=dos,-36,D1L/RBD0W,Close( $%lx ) = %s
- watch=dos,-84,D1L/D2L/RBD0L,Lock( "%s", $%lx ) = %s
- watch=dos,-90,D1L,UnLock( $%lx )
- ; note that of course you can show both BOOLEAN and REGULAR style output for the
- ; same register.... its magic, isn't it ...
- watch=dos,-150,D1L/RBD0L/RD0L,LoadSeg( %s ) = %s ($%lx)
- watch=dos,-126,D1L/RBD0L,CurrentDir( $%lx ) = %s
- watch=dos,-72,D1L/RBD0L,DeleteFile( "%s" ) = %s
- watch=dos,-222,D1L/D2L/D3L/RBD0L,Execute( "%s", $%lx, $%lx ) = %s
-