Jim
00205c830b
add lights (Dennis)
2020-02-25 14:15:03 -05:00
Jim
aac96b62c2
devpnc.h: disable Nagle to decrease latency
2020-02-25 13:46:44 -05:00
Jim
a4cc429fad
Linux cleanup to remove demo/dongle code, remove PowerPC stuff, fix slow PNC I/O, fix a nasty devmt bug
2020-02-24 23:55:03 -05:00
Jim
4061b6adc9
Changes to allow emulator to run on Linux for hosting at Linode
2019-09-25 10:56:48 -04:00
Jim
a5d156c679
devamlc: only print ttymsg on socket connections, not dedicated; b)
...
only accept incoming connections from dedicated host if the port in
amlc config file is zero
2019-07-04 12:56:36 -04:00
Jim
5bf0eb8362
typo
2019-07-04 11:53:04 -04:00
Jim
58071510f6
typo
2019-07-04 11:52:52 -04:00
Jim
3dbd7630fb
allow demo emulator to access 2 drives
2019-07-04 11:47:24 -04:00
Jim
ebd8a8a3fa
secure: muck up RP instead of keys if secure() is bypassed, because
...
bad keys give an emulator error about a bad generic, while a bad RP
('7777/0) is a failure mechanism already in secure()
2012-07-25 09:25:02 -04:00
Jim
233ef630d4
Don't install signals with dedicated registers
2012-07-24 15:41:56 -04:00
Jim
3dce2cef47
secure: better security checking, plus many other changes
2012-07-24 15:30:51 -04:00
Jim
a0b8f60449
emdev: disable ^C, include gettimeofday override test
2012-07-18 23:57:51 -04:00
Jim
371c051d16
em: save pid and boot file inode for security checks
2012-07-18 23:56:49 -04:00
Jim
b68b4ea92b
secure: don't compare previous dongle data for KEYID=0 (public emulators)
2012-07-10 11:22:20 -04:00
Jim
441a3f5845
Updates after testing on PPC G4 Tiger machine (makefile changes), and
...
tighten secure.h a bit
2012-07-09 22:13:25 -04:00
Jim
fce85ba28e
secure: update dongle handling:
...
- decrement hoursleft on each boot to prevent running very short Prime
sessions that don't update the dongle; this allows removing of
dongle_dtime (the last time the dongle was updated)
- only uses 1 dongle location (for hoursleft)
- maintain a checksum on dongle values to detect tampering
- encrypt hoursleft and the dongle checksum
- write random values in all other dongle locations
- validate dongle by asking it to encrypt random values; this requires
that a copy of the dongle key is stored in the executable
- don't fail immediately: just set a status and keep going
- caller sets bad Prime keys and hands us the correct keys; we reset
Prime keys before returning. This makes it harder to bypass
security by not calling it at all.
2012-07-02 17:45:45 -04:00
Jim
021ed5443a
makefile: add Intel lmserver, remove .o before builds, etc.
2012-07-02 17:18:29 -04:00
Jim
75a4b59312
em: don't use localhost if license server DNS fails; update copyright
2012-07-02 17:15:42 -04:00
Jim
e42d7cee37
devamlc: fix byte-order bugs with dedicated outbound lines on Intel
2012-06-10 09:46:50 -04:00
Jim
147b28e84e
misc edits
2012-06-09 17:56:11 -04:00
Jim
2b0bb15902
em: if instpermsec starts at 15000, CPU.TIMER.SAVE diag fails in case 4
2012-06-09 17:55:54 -04:00
Jim
1dd6b39ef3
devamlc: don't print disconnect msg on dedicated lines, don't try to
...
connect on dedicated *inbound* lines; connection request has to come
from the device in this case.
2012-06-06 14:22:36 -04:00
Jim
1f09a815b5
fp.h: always needs to return a result now (bs changes)
2012-06-04 14:36:02 -04:00
Jim
e60628f2d1
Fix trace format
2011-12-14 16:50:54 -05:00
Jim
4c2594beb4
Change long to int for instruction counts
2011-12-04 11:01:14 -05:00
Jim
326c136dc2
makefile: don't compile with registers for PPC; it's a lot faster, but
...
disables async PNC I/O, which makes remote disk access VERY slow.
2011-12-04 11:00:32 -05:00
Jim
0f4af04275
devamlc: increase max buffer size for large AMLIBL buffers
2011-11-26 13:37:40 -05:00
Jim
2e5674013a
devpnc: add ENOTCONN as known error when connect fails
2011-11-26 13:36:56 -05:00
Jim
49a81258ae
devamlc: remove some prints, add some comments, moved an if
2011-11-26 11:47:31 -05:00
Jim
ae7a089a5d
devpnc: remove DEMO debugs, don't print error for nodeid = 0
2011-11-26 10:45:05 -05:00
Jim
44f35153c7
devamlc: start working on passing ^O through AMLC / telnet
2011-11-26 09:48:29 -05:00
Jim
9be11b1a57
magsav: add to makefile, make binary magsav work (Unix text magsav not done)
2011-11-26 09:47:25 -05:00
Jim
51072065e9
devpnc: check node id, add ring.cfg checks for DEMO builds
2011-11-26 09:45:15 -05:00
Jim
f1a7e6f501
-cpuid takes model numbers too, STPM stores emulator version
2011-11-24 00:10:12 -05:00
Jim
dc24f26eb1
Use registers on PPC for demo/production build, don't install sigquit,
...
don't use async I/O for PNC. Signals don't work with registers enabled.
2011-11-23 15:07:45 -05:00
Jim
ad35ffb6f7
Fixed SSSN byte-swap problem
2011-11-18 15:06:47 -05:00
Jim
da09d83222
magsav: add magsav to makefile - doesn't compile though :(
2011-11-18 10:18:06 -05:00
Jim
0f5c6eebdf
devpnc: improve pkt dump, test my node id against limit, DEMO changes
2011-11-18 10:17:48 -05:00
Jim
cc9a40c2ad
devpnc: incoming-only connections if host is -, fix select bug
2011-11-15 18:30:53 -05:00
Jim
d30cef0848
Add -mmacosx-version-min=10.4 to PPC builds; fix trace printf's
2011-11-15 18:28:41 -05:00
Jim
def51f2641
devasr: full-duplex test was backwards for console logging
2011-11-15 14:31:30 -05:00
Jim
83e05663cb
- Replace HOBBY #ifdef with DEMO,
...
- Remove long integers so x86_64, where long is 8 bytes, is like i686
compile, where long is 4 bytes.
- Dont' handle xon/xoff on sys console in full duplex
- Add geom hash for DEMO emulator
- Add -mmacosx-version-min=10.4 option for DEMO emulator
- Add 1-line AMLC and 2-node PNC to DEMO emulator
2011-11-15 14:01:58 -05:00
Jim
4b75d003bd
devpnc: handle case -2 (shutdown) to avoid "bad func in devpnc" error
2011-11-09 14:49:21 -05:00
Jim
6f8555e3f5
Move dongle subdir to src
2011-11-07 15:52:46 -05:00
Jim
c6d4fd1724
emdev.h: mt backspace at EOT kept returning EOT
2011-11-03 17:03:25 -04:00
Jim
6198e38d70
makefile: add targets for broken dongle tests
2011-11-03 14:56:23 -04:00
Jim
33a4b7a459
devpnc: bs problems fixed, corrected rcv pkt hdr update
2011-10-25 20:48:01 -04:00
Jim
77471613b2
makefile: make Intel the default, p suffix for PowerPC
2011-10-25 17:10:11 -04:00
Jim
7b2ea3828b
Don't print memory contents on a fatal error. Diag CPU.TIMER causes a
...
fatal error in get16trap, and printing the memory contents causes a
nested fatal error.
2011-10-24 22:59:04 -04:00
Jim
5ae86cca58
bs: fix major bug in get64r: plp jimmy>date_af would fail, l command
...
(ld -packed -sort_name) would fail after running jimmy>lines>lines.run
2011-10-24 16:47:10 -04:00