isaac64 on vms

Not tested yet...
This commit is contained in:
PatR
2019-02-10 13:54:16 -08:00
parent f067a3e9ff
commit da1212077d
3 changed files with 11 additions and 7 deletions
+2 -1
View File
@@ -1,4 +1,4 @@
$NHDT-Branch: NetHack-3.6.2-beta01 $:$NHDT-Revision: 1.253 $ $NHDT-Date: 1549757225 2019/02/10 00:07:05 $ $NHDT-Branch: NetHack-3.6.2-beta01 $:$NHDT-Revision: 1.254 $ $NHDT-Date: 1549835645 2019/02/10 21:54:05 $
This fixes36.2 file is here to capture information about updates in the 3.6.x This fixes36.2 file is here to capture information about updates in the 3.6.x
lineage following the release of 3.6.1 in April 2018. Please note, however, lineage following the release of 3.6.1 in April 2018. Please note, however,
@@ -448,6 +448,7 @@ curses: if the interface code ran out of memory, it would crash rather than
curses: when getting multi-character responses from player, support <delete> curses: when getting multi-character responses from player, support <delete>
as well as <backspace> to remove last character entered; also, return as well as <backspace> to remove last character entered; also, return
<escape> to core if ESC is typed when there is no input entered <escape> to core if ESC is typed when there is no input entered
vms: add compile of isaac64.c to Makefile.src and vmsbuild.com
Platform- and/or Interface-Specific Fixes or Features Platform- and/or Interface-Specific Fixes or Features
+7 -5
View File
@@ -1,10 +1,11 @@
# NetHack Makefile (VMS) - for building nethack itself. # NetHack Makefile (VMS) - for building nethack itself.
# NetHack 3.6 Makefile.src $NHDT-Date: 1543545915 2018/11/30 02:45:15 $ $NHDT-Branch: NetHack-3.6.2-beta01 $:$NHDT-Revision: 1.32 $ # NetHack 3.6 Makefile.src $NHDT-Date: 1549835645 2019/02/10 21:54:05 $ $NHDT-Branch: NetHack-3.6.2-beta01 $:$NHDT-Revision: 1.33 $
# Copyright (c) 2011 by Robert Patrick Rankin # Copyright (c) 2011 by Robert Patrick Rankin
# NetHack may be freely redistributed. See license for details. # NetHack may be freely redistributed. See license for details.
# Copy this file to [.src]Makefile. and then edit it as needed. # Copy this file to [.src]Makefile. and then edit it as needed.
# The default configuration is for building with DEC C (aka Compaq C). # The default configuration is for building with DEC C (aka Compaq C,
# then HP C).
# If you change CC or CFLAGS, make similar changes in [.util]Makefile. # If you change CC or CFLAGS, make similar changes in [.util]Makefile.
# #
# Note: modifying this Makefile will cause crtl.opt to be rebuilt, # Note: modifying this Makefile will cause crtl.opt to be rebuilt,
@@ -88,9 +89,9 @@ WINOBJ = $(WINTTYOBJ)
SYSTEM = SysVMS.timestamp; SYSTEM = SysVMS.timestamp;
GAME = $(SRC)nethack.exe; GAME = $(SRC)nethack.exe;
# RANDOM is defined in vmsconf.h # RANDOM is defined in vmsconf.h, USE_ISAAC64 might be defined in config.h;
RANDSRC = random.c RANDSRC = isaac64.c random.c
RANDOBJ = random.obj RANDOBJ = isaac64.obj,random.obj
# ---------------------------------------- # ----------------------------------------
# #
@@ -343,6 +344,7 @@ vmsfiles.obj : $(VMS)vmsfiles.c $(CONFIG_H)
vmsmail.obj : $(VMS)vmsmail.c $(CONFIG_H) $(INC)mail.h \ vmsmail.obj : $(VMS)vmsmail.c $(CONFIG_H) $(INC)mail.h \
$(INC)wintype.h $(INC)winprocs.h $(INC)wintype.h $(INC)winprocs.h
# conditionally used code -- VMS always wants these # conditionally used code -- VMS always wants these
isaac64.obj : isaac64.c
random.obj : random.c $(HACK_H) random.obj : random.c $(HACK_H)
random.c : $(SYSSHR)random.c random.c : $(SYSSHR)random.c
copy $(SYSSHR)random.c random.c copy $(SYSSHR)random.c random.c
+2 -1
View File
@@ -1,6 +1,6 @@
$ ! vms/vmsbuild.com -- compile and link NetHack 3.6.* [pr] $ ! vms/vmsbuild.com -- compile and link NetHack 3.6.* [pr]
$ version_number = "3.6.2" $ version_number = "3.6.2"
$ ! $NHDT-Date: 1542847646 2018/11/22 00:47:26 $ $NHDT-Branch: NetHack-3.6.2-beta01 $:$NHDT-Revision: 1.20 $ $ ! $NHDT-Date: 1549835647 2019/02/10 21:54:07 $ $NHDT-Branch: NetHack-3.6.2-beta01 $:$NHDT-Revision: 1.21 $
$ ! Copyright (c) 2018 by Robert Patrick Rankin $ ! Copyright (c) 2018 by Robert Patrick Rankin
$ ! NetHack may be freely redistributed. See license for details. $ ! NetHack may be freely redistributed. See license for details.
$ ! $ !
@@ -262,6 +262,7 @@ $ set default [-.src]
$! compile most of the source files: $! compile most of the source files:
$ c_list = "decl,version,[-.sys.vms]vmsmain,[-.sys.vms]vmsunix" - $ c_list = "decl,version,[-.sys.vms]vmsmain,[-.sys.vms]vmsunix" -
+ ",[-.sys.vms]vmstty,[-.sys.vms]vmsmail" - + ",[-.sys.vms]vmstty,[-.sys.vms]vmsmail" -
+ ",[]isaac64" - !already in [.src]
+ ",[]random,[]tclib,[]pmatchregex" !copied from [-.sys.share] + ",[]random,[]tclib,[]pmatchregex" !copied from [-.sys.share]
$ gosub compile_list $ gosub compile_list
$ c_list = "[-.win.tty]getline,[-.win.tty]termcap" - $ c_list = "[-.win.tty]getline,[-.win.tty]termcap" -