Initial revision
[ssr] / StraySrc / Libraries / Sapphire / s / bnrStub
1 ;
2 ; bnrStub.s
3 ;
4 ; Stub for banner
5 ;
6 ; © 1994-1998 Straylight
7 ;
8
9 ;----- Licensing note -------------------------------------------------------
10 ;
11 ; This file is part of Straylight's Sapphire library.
12 ;
13 ; Sapphire 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 ; Sapphire 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 Sapphire. If not, write to the Free Software Foundation,
25 ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
26
27 ;----- Standard header ------------------------------------------------------
28
29 GET libs:header
30 GET libs:swis
31
32 GET libs:stream
33
34 ;----- External dependencies ------------------------------------------------
35
36 IMPORT bnr_doBanner
37
38 IMPORT |Image$$RW$$Limit|,WEAK
39
40 IMPORT |Sapphire$$LibData$$Base|,WEAK
41 IMPORT |Sapphire$$LibData$$Limit|,WEAK
42 IMPORT |Sapphire$$ClientData$$Base|,WEAK
43 IMPORT |Sapphire$$ClientData$$Limit|,WEAK
44 IMPORT |Sapphire$$ExtTable$$Base|,WEAK
45 IMPORT |Sapphire$$ExtTable$$Limit|,WEAK
46
47 ;----- Main code ------------------------------------------------------------
48
49 AREA |Sapphire$$Code|,CODE,READONLY
50
51 EXPORT banner
52 banner ROUT
53
54 STMFD R13!,{R2,R14}
55 ADR R2,bnr__initTable
56 BL bnr_doBanner
57 LDMFD R13!,{R2,PC}^
58
59 bnr__initTable DCD |Image$$RW$$Limit|
60 DCD |Sapphire$$LibData$$Base|
61 DCD |Sapphire$$LibData$$Limit|
62 DCD |Sapphire$$ClientData$$Base|
63 DCD |Sapphire$$ClientData$$Limit|
64 DCD -1
65 DCD |Sapphire$$ExtTable$$Base|
66 DCD |Sapphire$$ExtTable$$Limit|
67
68 LTORG
69
70 ;----- That's all, folks ----------------------------------------------------
71
72 END