1
0
mirror of https://github.com/prirun/p50em.git synced 2026-01-22 18:21:22 +00:00

225 Commits

Author SHA1 Message Date
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
Jim
d829b0efd9 Hey, it runs Primos again! This time on Intel. :) 2011-10-21 18:55:43 -04:00
Jim
53893d85ae bs: more changes, functions for symbolic register access, incl DMX 2011-10-20 17:23:15 -04:00
Jim
e43a2167f0 bs: flt.pt. fixes, fix ecb copy in PCL 2011-10-20 10:44:04 -04:00
Jim
7075729d8c lrs: don't try to shift 32 bits: works on PPC, fails on Intel 2011-10-20 09:42:33 -04:00
Jim
ff791c1b9c Remove bogus var from ea64v.h, add quit handler to flush trace buffers 2011-10-19 11:02:23 -04:00
Jim
ec9496ec75 bs: change add32 to a function, use get/put in callers 2011-10-18 10:43:00 -04:00
Jim
3ed4d26624 bs: change tch and tcr to functions, change callers to use get/put 2011-10-17 22:45:33 -04:00
Jim
f77c58a69b bs: remove remaining crs[] references: BI/DX/Y, I/DRX, ... 2011-10-17 22:39:30 -04:00
Jim
8b5d47c733 bs: change add16 to a function, change all callers to use get/put 2011-10-17 22:30:28 -04:00
Jim
fa097d21fc BS rvec, memory accesses; order of RPH/RPL is byte-order dependent,
fix bug in get32 when -DFAST isn't used
2011-10-17 22:14:55 -04:00
Jim
7b150eed02 bs: replace pmep C pointer with Prime physical address 2011-10-17 15:15:35 -04:00
Jim
5790718ed7 Add swap calls to get/put functions & macros, add tracei target for Intel 2011-10-17 15:06:55 -04:00
Jim
2a89fb6ab8 First set of byte-swap changes; should compile equal to version 194 2011-10-17 10:53:58 -04:00
Jim
69a37aef55 Remove crs[] and crsl[] references in trace output, add vfy target to
makefile to allow comparing emulator binaries
2011-10-17 10:53:12 -04:00
Jim
aad6c9f94c Don't delay on first BDX * to avoid Prime bug in SCHED.PMA causing
backstop process to delay on the first cycle
2011-10-11 17:39:32 -04:00
Jim
b9980bfe30 devamlc: add outbound dedicated lines, programmable clock line,
move local vars to the block that uses them
2011-10-10 00:07:51 -04:00
Jim
77ee732144 Changes to get rev 18 to boot 2011-10-01 22:42:59 -04:00
Jim
d1596b5e82 devamlc: fix ttymsg bug 2011-09-17 15:21:13 -04:00
Jim
ff48e0c07a fatal: display message on nested call 2011-09-17 12:00:56 -04:00
Jim
3a64f463f0 devamlc: minor edits 2011-09-16 09:46:51 -04:00
Jim
f912f5dcc5 devamlc: major revision to interrupt only on the clock line board,
and in general, optimize operation of the AMLC subsystem.
2011-09-15 18:27:33 -04:00
Jim
efada91773 Fixed several AMLC issues:
- Kermit/telnet negotiations work now: fd var was not being set, so
write() was not actually working

- with many controllers, Primos would halt with tumble table overflow:
you can't do read processing until lines are enabled

- only look for new connections when handling the clock line
controller; there is no sense doing this more than 10x per second, and
it probably should still have a timer in case polls are being sped up

- use buf[] for tty message, not another static buf

- when a new connection occurs, set devpoll for the controller.  The
first connection to a controller was taking 5 seconds when more than 1
controller was present

- when status is read and an eor occurred, do read processing again
rather than waiting for the next poll

- divide tumble table space up by # of connected lines.  The old way
read MAXREAD (64) chars from each line until the tumble table was
full.  But with 8 AMLC boards configured, there is only 53 words of TT
space in each double buffer.  A select() on connected fd's would be
better.

- allow # as first character of amlc.cfg for comment lines

- turn on TCP/IP NODELAY (disable Nagle) to improve character echo
2011-09-13 14:02:28 -04:00
Jim
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.
2011-09-05 16:20:26 -04:00
Jim
023edffb04 Remove "room left in input buffer" concept, remove DMT support 2011-09-05 16:17:48 -04:00
Jim
20e43665bd Add mtread/mtwrite: read/write .tap files from/to physical tape 2011-08-31 13:40:22 -04:00