chiark / gitweb /
Initial revision
[ssr] / StraySrc / Hammer / sh / hammer
1 ;
2 ; hammer.sh
3 ;
4 ; Main definitions for Sledgehammer
5 ;
6 ; © 1994-1998 Straylight
7 ;
8
9 ;----- Licensing note -------------------------------------------------------
10 ;
11 ; This file is part of Straylight's Sledgehammer debugger.
12 ;
13 ; Sledgehammer is free software; you can redistribute it and/or modify
14 ; it under the terms of the GNU General Public License as published by
15 ; the Free Software Foundation; either version 2, or (at your option)
16 ; any later version.
17 ;
18 ; Sledgehammer is distributed in the hope that it will be useful,
19 ; but WITHOUT ANY WARRANTY; without even the implied warranty of
20 ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21 ; GNU General Public License for more details.
22 ;
23 ; You should have received a copy of the GNU General Public License
24 ; along with Sledgehammer.  If not, write to the Free Software Foundation,
25 ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
26
27 ;----- Overview -------------------------------------------------------------
28 ;
29 ; Functions provided:
30 ;
31 ;   hammer_confirm
32 ;   hammer_getStack
33
34 ; --- hammer_confirm ---
35 ;
36 ; On entry:     R0 == pointer to confirmation message
37 ;
38 ; On exit:      C set to proceed with whatever it was you wanted to confirm
39 ;
40 ; Use:          Displays a message with a confirmation prompt and waits
41 ;               for a response from the user.
42
43                 IMPORT  hammer_confirm
44
45 ; --- hammer_getStack ---
46 ;
47 ; On entry:     --
48 ;
49 ; On exit       R13 == pointer to the sledghammer stack
50 ;
51 ; Use:          Returns a pointer to the sledgehammer stack!
52
53                 IMPORT  hammer_getStack
54
55 ;----- That's all folks -----------------------------------------------------
56
57                 END