1
0
mirror of https://github.com/PDP-10/klh10.git synced 2026-04-04 21:07:36 +00:00

Merge pull request #11 from PDP-10/travis

Build and test in Travis CI
This commit is contained in:
Rhialto The M
2016-12-22 23:08:03 +01:00
committed by GitHub
3 changed files with 24 additions and 2 deletions

12
.travis.yml Normal file
View File

@@ -0,0 +1,12 @@
language: c
dist: trusty
sudo: required
install: true
script:
- ./autogen.sh
- mkdir tmp
- cd tmp
- ../configure
- make base-kl
- cd ../run/dfkfb
- ../../tmp/bld-kl/kn10-kl dfkfb.ini

View File

@@ -15,5 +15,4 @@ set sw=400100,,0
go
; Quit when done
quit
really-quit

View File

@@ -239,6 +239,8 @@ CMDDEF(cd_help, fc_help, CMRF_TOKS, NULL,
"Basic help", "")
CMDDEF(cd_quit, fc_quit, CMRF_NOARG, NULL,
"Quit emulator", "")
CMDDEF(cd_rquit, fc_rquit, CMRF_NOARG, NULL,
"Really quit!", "")
CMDDEF(cd_load, fc_load, CMRF_TOKS, "<file>",
"Load binary into KN10", "")
CMDDEF(cd_dump, fc_dump, CMRF_TOKS, "<file>",
@@ -330,6 +332,7 @@ KEYSBEGIN(fectbkeys)
KEYDEF("help", cd_help)
KEYDEF("exit", cd_quit)
KEYDEF("quit", cd_quit)
KEYDEF("really-quit", cd_rquit)
KEYDEF("load", cd_load)
KEYDEF("dump", cd_dump)
KEYDEF("go", cd_go)
@@ -607,6 +610,14 @@ fc_quit(struct cmd_s *cm)
os_exit(0);
}
void
fc_rquit(struct cmd_s *cm)
{
dev_term();
mem_term();
os_exit(0);
}
/* FE_SHUTDOWN - Attempt to bring down PDP-10 OS and quit emulator as
** gracefully as possible *without* any user interaction.
**