aboutsummaryrefslogtreecommitdiff
path: root/unix/boot/spp/rpp/ratlibf/dsinit.f
diff options
context:
space:
mode:
Diffstat (limited to 'unix/boot/spp/rpp/ratlibf/dsinit.f')
-rw-r--r--unix/boot/spp/rpp/ratlibf/dsinit.f17
1 files changed, 17 insertions, 0 deletions
diff --git a/unix/boot/spp/rpp/ratlibf/dsinit.f b/unix/boot/spp/rpp/ratlibf/dsinit.f
new file mode 100644
index 00000000..9eb0ebad
--- /dev/null
+++ b/unix/boot/spp/rpp/ratlibf/dsinit.f
@@ -0,0 +1,17 @@
+ subroutine dsinit (w)
+ integer w
+ integer mem( 1)
+ common/cdsmem/mem
+ integer t
+ if (.not.(w .lt. 2 * 2 + 2))goto 23000
+ call error (42Hin dsinit: unreasonably small memory size.)
+23000 continue
+ t = 2
+ mem (t + 0) = 0
+ mem (t + 1) = 2 + 2
+ t = 2 + 2
+ mem (t + 0) = w - 2 - 1
+ mem (t + 1) = 0
+ mem (1) = w
+ return
+ end