Re: [Simh] {Spam?} transferring files to and from v6 unix running in pdp11 emulator

2015-12-09 Thread Will Senn



On 12/9/15 10:01 PM, Clem cole wrote:

It should not be a 411 code. It should be a standard 407.  11/34 and 11/60s are 
so called 40 class systems. I used v6tar with them just fine.

Sent from my iPhone


On Dec 9, 2015, at 10:40 PM, Will Senn  wrote:

use its v6tar on v6. It appears to require split I+D,

Clem,

Thanks for persisting. I figured it out - on Keith Bostic's v7, using 
the default makefile for v6tar:

make v6tar
cc -O -c tar.c
cc -c -O /usr/src/libc/v6/access.c
cc -c -O /usr/src/libc/v6/chown.c
cc -c -O /usr/src/libc/v6/execl.c
cc -c -O /usr/src/libc/v6/ftime.c
cc -c -O /usr/src/libc/v6/gtty.c
cc -c -O /usr/src/libc/v6/lseek.c
cc -c -O /usr/src/libc/v6/stat.c
cc -c -O /usr/src/libc/v6/syscall.s
cc -c -O /usr/src/libc/v6/time.s
cc -i -s -O *.o -o v6tar
# dd if=v6tar bs=128 count=1|od
000 000411 037100 004224 027466 00 00 00 01
...
man cc says -i and -s are passed through to linker, so man ld says -i 
creates separate I+D and -s strips symbol table. I compiled the binary 
without these (I thought I would keep the symbol table as an excercise) 
using:

cc -O *.o -o v6tar

The resulting binary is 407, yay!:
dd if=v6tar bs=128 count=1|od
000 000407 037040 004224 027466 020744 00 00 01
...

I copied it over to v6, lo and behold, it works on a PDP11/40 without 
separate I+D!


Thanks,

Will

___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh

Re: [Simh] Graphics Terminals and Graphic System Phototypesetters

2015-12-09 Thread Clem cole
Will 

The quick answer is yes.  Check out vtroff on the BSD tapes.  The Versatec 
plotter was used to simulate a C/A/T typesetter which is what the original 
troff created and before the laser printer was in common use.  

Clem

Sent from my iPhone

> On Dec 9, 2015, at 10:33 PM, Will Senn  wrote:
> 
> Also, is it possible to simulate a graphics system phototypesetter? I get the 
> feeling that this is what TROFF was actually designed for and would be 
> interested in trying it out, as well.
___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh

Re: [Simh] {Spam?} transferring files to and from v6 unix running in pdp11 emulator

2015-12-09 Thread Clem cole
It should not be a 411 code. It should be a standard 407.  11/34 and 11/60s are 
so called 40 class systems. I used v6tar with them just fine. 

Sent from my iPhone

> On Dec 9, 2015, at 10:40 PM, Will Senn  wrote:
> 
> use its v6tar on v6. It appears to require split I+D,
___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh

Re: [Simh] {Spam?} transferring files to and from v6 unix running in pdp11 emulator

2015-12-09 Thread Will Senn


On 11/20/15 1:22 PM, Anders Magnusson wrote:

Den 2015-11-20 kl. 20:12, skrev Will Senn:



On 11/20/15 10:51 AM, Anders Magnusson wrote:

Den 2015-11-20 kl. 17:35, skrev Will Senn:

Hi,

I have searched and searched and have not found a satisfactory 
answer to this question:


How can I efficiently copy files from my host system to unix 
version 6 running in the pdp11 emulator and from unix 6 to my host 
system?

I usually do this by just tar'ing to/from a disk file, something like:

on pdp11: tar cf /dev/rxp0c myfiles
on host: tar xf simh-disk-file

Works both ways :-)

-- Ragge

Hi,

This sounded promising, but as it turns out there appear to be 2 
problems... 1. v6 doesn't have tar, and 2. it looks like v6 doesn't 
have rx device support (floppies). Are you using v6 with tweaks, or 
v7, or some other variant of unix?

Hm, it was some time ago, but I think it was tar.  Otherwise try cpio?
You do not have to use floppies.  rxp is the raw device for rp disks 
(avoids caching).  Just work against that file.


To close the loop on this, I have been able to follow the closing advice 
in "Setting up Unix - Seventh Edition" and use its v6tar on v6. It 
appears to require split I+D, so I had to "upgrade" from the 11/40 to an 
11/45 or 11/70 (both work). It requires the the kernel be recompiled 
with separate I+D support with m45.s and such, but pretty 
straightforward. I haven't done a lot of copying yet, but at least I am 
able to share between v6 and v7. I have also worked out a couple of 
different ways to move files to and from the host that involve the disk 
or tape. I wrote a perl script to read a SimH tape into its constituent 
files that works ok as a way to transfer files as well (clunkier than 
tar and such, but it was a good learning exercise).


Thanks,

Will

___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh

[Simh] Graphics Terminals and Graphic System Phototypesetters

2015-12-09 Thread Will Senn

All,

I am using the SimH PDP 11 simulator to learn about the PDP 11/40/45/70 
architectures with a particular focus on Sixth and Seventh Edition Unix. 
I have written a couple of notes based on my experiences/trials that are 
available at:


v6 - 
http://decuser.blogspot.com/2015/11/installing-and-using-research-unix.html

and
v7 - 
http://decuser.blogspot.com/2015/12/installing-and-using-research-unix.html


I am open to comments, suggestions, and criticisms, I have been getting 
an inordinate amount of help from the folks on the TUHS mailing list 
with respect to the Unix side of things, but now I am looking into the 
SimH side of things and was hoping y'all might help...


Is is possible to simulate a graphics terminal in SimH for the 
PDP-11/40/45/70. So far, I have been able to get a text console working 
(I think it's a Teletype ASR-33) and serial consoles (DCI). I have seen 
some video of real PDP's playing lunar lander and such on graphics 
terminals, and if this is possible in a simulated environment, I would 
like to try it out.


Also, is it possible to simulate a graphics system phototypesetter? I 
get the feeling that this is what TROFF was actually designed for and 
would be interested in trying it out, as well.


I'm a relative newbie to SimH, PDP 11's, and Unix v6/v7, so if I'm 
completely off base in my questions, please let me know.


Thanks,

Will

___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh