1
0
mirror of https://github.com/prirun/p50em.git synced 2026-02-27 08:49:17 +00:00

Commit Graph

  • aaba33931c Add hg/git ignore files. Dennis Boone 2020-03-10 23:36:47 +00:00
  • 87705809db merge Jim 2020-03-10 15:10:12 -04:00
  • 2575313ca7 Add license and readme (Thanks Dennis!) Jim 2020-03-10 15:09:48 -04:00
  • 38840b710d util: new directory for "Prime on Unix" utility programs Jim 2020-03-10 14:49:22 -04:00
  • 45086db988 makefile: remove utilities from makefile, now in util Jim 2020-03-10 14:48:24 -04:00
  • 1624437939 em: move #define to force inline to start of code Jim 2020-03-09 22:36:26 -04:00
  • 364792c169 Remove stopwatch-related calls and stopwatch.h stub Jim 2020-03-09 22:30:09 -04:00
  • d544395fbc stopwatch.h: add stub file for Linux version. Older versions of the emulator will also need this stub to compile. Jim 2020-03-09 22:26:06 -04:00
  • 4fb9acdc77 makefile: add emwarn target to get crazy with compiler errors and warnings Jim 2020-03-09 16:38:26 -04:00
  • 4a6a3aff5d em: add macro to force gcc to obey inline keyword Jim 2020-03-09 01:12:45 -04:00
  • 9054d69446 em.c, etc: use gv.xxx instead of gvp->xxx for 13% speed increase, from 37.5 Prime MIPS on Linode VM to 42.5 MIPS. gvp-> was faster on the PowerPC architecture when gvp was kept in a dedicated register, but that does not apply to Intel. Jim 2020-03-08 23:46:14 -04:00
  • 35adf0905a devpnc.h: moved xmit setup code from OTA to pncxmit; move loopback handling to pncxmit1 so it is used for broadcasts; added reason to disconnects for better logging; change some traces to prints for better logging; my node is always authenticated Jim 2020-03-08 23:25:44 -04:00
  • c18704894f merge -naddr changes Jim 2020-03-01 22:06:56 -05:00
  • 06a848a464 devpnc.h: don't send broadcasts to myself. Not sure if this is right Jim 2020-03-01 22:04:47 -05:00
  • 73d2479dba em: comment cleanups Jim 2020-03-01 22:02:47 -05:00
  • 83f130aba5 devpnc.h: use global bindaddr variable instead of hardcoded INADDR_ANY. em.c: command line option -naddr to set bind address for pnc socket. Dennis Boone 2020-03-01 04:35:23 +00:00
  • 9d656255a5 devpnc: only broadcast to nodes in ring.cfg Jim 2020-02-29 14:02:52 -05:00
  • df00f2c7e6 devpnc.h: # in ring.cfg is a comment, like amlc.cfg; map all unprintable characters to _ Jim 2020-02-29 13:21:45 -05:00
  • cd351506ea devpnc.h: drive connections from PNC xmit requests rather than ring.cfg, for faster start times of large rings Jim 2020-02-27 20:00:58 -05:00
  • 120079666f devpnc.h: expand listen backlog for big rings, use TCP_DEFER_ACCEPT so Linux holds onto connections until the uid is sent. Otherwise, the delay between making a connection and sending the uid will be larger than MAXACCCEPTTIME, causing large rings to fail Jim 2020-02-27 11:53:07 -05:00
  • bf3c1a3df2 devpnc: after accept, make fd non-blocking to avoid deadlock when multiple emulators make connect requests, then accept(), then block reading uid that never comes. Jim 2020-02-26 21:39:21 -05:00
  • 9de65ca516 em: decode keys and modals in fatal error message Jim 2020-02-25 20:11:15 -05:00
  • 00205c830b add lights (Dennis) Jim 2020-02-25 14:15:03 -05:00
  • aac96b62c2 devpnc.h: disable Nagle to decrease latency Jim 2020-02-25 13:46:44 -05:00
  • a4cc429fad Linux cleanup to remove demo/dongle code, remove PowerPC stuff, fix slow PNC I/O, fix a nasty devmt bug Jim 2020-02-24 23:55:03 -05:00
  • 4061b6adc9 Changes to allow emulator to run on Linux for hosting at Linode Jim 2019-09-25 10:56:48 -04:00
  • 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 Jim 2019-07-04 12:56:36 -04:00
  • 5bf0eb8362 typo Jim 2019-07-04 11:53:04 -04:00
  • 58071510f6 typo Jim 2019-07-04 11:52:52 -04:00
  • 3dbd7630fb allow demo emulator to access 2 drives Jim 2019-07-04 11:47:24 -04:00
  • 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() Jim 2012-07-25 09:25:02 -04:00
  • 233ef630d4 Don't install signals with dedicated registers Jim 2012-07-24 15:41:56 -04:00
  • 3dce2cef47 secure: better security checking, plus many other changes Jim 2012-07-24 15:30:51 -04:00
  • a0b8f60449 emdev: disable ^C, include gettimeofday override test Jim 2012-07-18 23:57:51 -04:00
  • 371c051d16 em: save pid and boot file inode for security checks Jim 2012-07-18 23:56:49 -04:00
  • b68b4ea92b secure: don't compare previous dongle data for KEYID=0 (public emulators) Jim 2012-07-10 11:22:20 -04:00
  • 441a3f5845 Updates after testing on PPC G4 Tiger machine (makefile changes), and tighten secure.h a bit Jim 2012-07-09 22:13:25 -04:00
  • fce85ba28e secure: update dongle handling: Jim 2012-07-02 17:45:45 -04:00
  • 021ed5443a makefile: add Intel lmserver, remove .o before builds, etc. Jim 2012-07-02 17:18:29 -04:00
  • 75a4b59312 em: don't use localhost if license server DNS fails; update copyright Jim 2012-07-02 17:15:42 -04:00
  • e42d7cee37 devamlc: fix byte-order bugs with dedicated outbound lines on Intel Jim 2012-06-10 09:46:50 -04:00
  • 147b28e84e misc edits Jim 2012-06-09 17:56:11 -04:00
  • 2b0bb15902 em: if instpermsec starts at 15000, CPU.TIMER.SAVE diag fails in case 4 Jim 2012-06-09 17:55:54 -04:00
  • 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. Jim 2012-06-06 14:22:36 -04:00
  • 1f09a815b5 fp.h: always needs to return a result now (bs changes) Jim 2012-06-04 14:36:02 -04:00
  • e60628f2d1 Fix trace format Jim 2011-12-14 16:50:54 -05:00
  • 4c2594beb4 Change long to int for instruction counts Jim 2011-12-04 11:01:14 -05:00
  • 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. Jim 2011-12-04 11:00:32 -05:00
  • 0f4af04275 devamlc: increase max buffer size for large AMLIBL buffers Jim 2011-11-26 13:37:40 -05:00
  • 2e5674013a devpnc: add ENOTCONN as known error when connect fails Jim 2011-11-26 13:36:56 -05:00
  • 49a81258ae devamlc: remove some prints, add some comments, moved an if Jim 2011-11-26 11:47:31 -05:00
  • ae7a089a5d devpnc: remove DEMO debugs, don't print error for nodeid = 0 Jim 2011-11-26 10:45:05 -05:00
  • 44f35153c7 devamlc: start working on passing ^O through AMLC / telnet Jim 2011-11-26 09:48:29 -05:00
  • 9be11b1a57 magsav: add to makefile, make binary magsav work (Unix text magsav not done) Jim 2011-11-26 09:47:25 -05:00
  • 51072065e9 devpnc: check node id, add ring.cfg checks for DEMO builds Jim 2011-11-26 09:45:15 -05:00
  • f1a7e6f501 -cpuid takes model numbers too, STPM stores emulator version Jim 2011-11-24 00:10:12 -05:00
  • 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. Jim 2011-11-23 15:07:45 -05:00
  • ad35ffb6f7 Fixed SSSN byte-swap problem Jim 2011-11-18 15:06:47 -05:00
  • da09d83222 magsav: add magsav to makefile - doesn't compile though :( Jim 2011-11-18 10:18:06 -05:00
  • 0f5c6eebdf devpnc: improve pkt dump, test my node id against limit, DEMO changes Jim 2011-11-18 10:17:48 -05:00
  • cc9a40c2ad devpnc: incoming-only connections if host is -, fix select bug Jim 2011-11-15 18:30:53 -05:00
  • d30cef0848 Add -mmacosx-version-min=10.4 to PPC builds; fix trace printf's Jim 2011-11-15 18:28:41 -05:00
  • def51f2641 devasr: full-duplex test was backwards for console logging Jim 2011-11-15 14:31:30 -05:00
  • 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 Jim 2011-11-15 14:01:58 -05:00
  • 4b75d003bd devpnc: handle case -2 (shutdown) to avoid "bad func in devpnc" error Jim 2011-11-09 14:49:21 -05:00
  • 6f8555e3f5 Move dongle subdir to src Jim 2011-11-07 15:52:46 -05:00
  • c6d4fd1724 emdev.h: mt backspace at EOT kept returning EOT Jim 2011-11-03 17:03:25 -04:00
  • 6198e38d70 makefile: add targets for broken dongle tests Jim 2011-11-03 14:56:23 -04:00
  • 33a4b7a459 devpnc: bs problems fixed, corrected rcv pkt hdr update Jim 2011-10-25 20:48:01 -04:00
  • 77471613b2 makefile: make Intel the default, p suffix for PowerPC Jim 2011-10-25 17:10:11 -04:00
  • 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. Jim 2011-10-24 22:59:04 -04:00
  • 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 Jim 2011-10-24 16:47:10 -04:00
  • d829b0efd9 Hey, it runs Primos again! This time on Intel. :) Jim 2011-10-21 18:55:43 -04:00
  • 53893d85ae bs: more changes, functions for symbolic register access, incl DMX Jim 2011-10-20 17:23:15 -04:00
  • e43a2167f0 bs: flt.pt. fixes, fix ecb copy in PCL Jim 2011-10-20 10:44:04 -04:00
  • 7075729d8c lrs: don't try to shift 32 bits: works on PPC, fails on Intel Jim 2011-10-20 09:42:33 -04:00
  • ff791c1b9c Remove bogus var from ea64v.h, add quit handler to flush trace buffers Jim 2011-10-19 11:02:23 -04:00
  • ec9496ec75 bs: change add32 to a function, use get/put in callers Jim 2011-10-18 10:43:00 -04:00
  • 3ed4d26624 bs: change tch and tcr to functions, change callers to use get/put Jim 2011-10-17 22:45:33 -04:00
  • f77c58a69b bs: remove remaining crs[] references: BI/DX/Y, I/DRX, ... Jim 2011-10-17 22:39:30 -04:00
  • 8b5d47c733 bs: change add16 to a function, change all callers to use get/put Jim 2011-10-17 22:30:28 -04:00
  • fa097d21fc BS rvec, memory accesses; order of RPH/RPL is byte-order dependent, fix bug in get32 when -DFAST isn't used Jim 2011-10-17 22:14:55 -04:00
  • 7b150eed02 bs: replace pmep C pointer with Prime physical address Jim 2011-10-17 15:15:35 -04:00
  • 5790718ed7 Add swap calls to get/put functions & macros, add tracei target for Intel Jim 2011-10-17 15:06:55 -04:00
  • 2a89fb6ab8 First set of byte-swap changes; should compile equal to version 194 Jim 2011-10-17 10:53:58 -04:00
  • 69a37aef55 Remove crs[] and crsl[] references in trace output, add vfy target to makefile to allow comparing emulator binaries Jim 2011-10-17 10:53:12 -04:00
  • aad6c9f94c Don't delay on first BDX * to avoid Prime bug in SCHED.PMA causing backstop process to delay on the first cycle Jim 2011-10-11 17:39:32 -04:00
  • b9980bfe30 devamlc: add outbound dedicated lines, programmable clock line, move local vars to the block that uses them Jim 2011-10-10 00:07:51 -04:00
  • 77ee732144 Changes to get rev 18 to boot Jim 2011-10-01 22:42:59 -04:00
  • d1596b5e82 devamlc: fix ttymsg bug Jim 2011-09-17 15:21:13 -04:00
  • ff48e0c07a fatal: display message on nested call Jim 2011-09-17 12:00:56 -04:00
  • 3a64f463f0 devamlc: minor edits Jim 2011-09-16 09:46:51 -04:00
  • f912f5dcc5 devamlc: major revision to interrupt only on the clock line board, and in general, optimize operation of the AMLC subsystem. Jim 2011-09-15 18:27:33 -04:00
  • efada91773 Fixed several AMLC issues: Jim 2011-09-13 14:02:28 -04:00
  • 88d7a3fba6 Add a way for device to be polled when CPU is idle. Maybe this can be used to interleave user processes with device & DIM processes, for example, during a file upload. Jim 2011-09-05 16:20:26 -04:00
  • 023edffb04 Remove "room left in input buffer" concept, remove DMT support Jim 2011-09-05 16:17:48 -04:00
  • 20e43665bd Add mtread/mtwrite: read/write .tap files from/to physical tape Jim 2011-08-31 13:40:22 -04:00
  • 5d43e41c12 Revert #139 (eafa); emacs, esc75* inserted garbage, not 75 *'s Jim 2011-08-31 12:46:53 -04:00
  • 871568778f Re-add broken Kermit negotiation, but now telnet works again! Jim 2011-08-27 20:51:19 -04:00
  • 4e59c7728b Re-add Kermit telnet negotiation, but leave it disabled Jim 2011-08-27 20:35:12 -04:00