mirror of
https://github.com/wfjm/w11.git
synced 2026-01-26 04:21:05 +00:00
Added Unix 7th Edition oskit; rename 5th Edition kit
- u5ed_rk: renamed from unix-v5_rk - u7ed_rp: added, very preliminary, boots on CmodA7, further testing be be done
This commit is contained in:
@@ -18,6 +18,9 @@ The full set of tests is only run for tagged releases.
|
||||
|
||||
### Summary
|
||||
|
||||
- Added Unix 7th Edition oskit; rename 5th Edition kit
|
||||
- u5ed_rk: renamed from unix-v5_rk
|
||||
- u7ed_rp: added, very preliminary, boots on CmodA7, further testing be be done
|
||||
- Add Digilent Cmod A7 (35 die size) support
|
||||
- general board support
|
||||
- c7_sram_memctl: SRAM memory controller (incl tb)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
## Notes on oskit: Unix V5 system on RK05 volumes
|
||||
## Notes on oskit: Unix 5th Edition system on RK05 volumes
|
||||
|
||||
### General remarks
|
||||
See notes in [w11a_os_guide.md](../../../doc/w11a_os_guide.md) on
|
||||
@@ -9,14 +9,14 @@ See notes in [w11a_os_guide.md](../../../doc/w11a_os_guide.md) on
|
||||
|
||||
### Installation
|
||||
A disk set is available from
|
||||
http://www.retro11.de/data/oc_w11/oskits/unix_v5_rkset.tgz
|
||||
http://www.retro11.de/data/oc_w11/oskits/u5ed_rkset.tgz
|
||||
|
||||
Download, unpack and copy the disk images (*.dsk), e.g.
|
||||
```bash
|
||||
|
||||
cd $RETROBASE/tools/oskit/unix-v5_rk
|
||||
wget http://www.retro11.de/data/oc_w11/oskits/unix_v5_rkset.tgz
|
||||
tar -xzf unix_v5_rkset.tgz
|
||||
cd $RETROBASE/tools/oskit/u5ed_rk
|
||||
wget http://www.retro11.de/data/oc_w11/oskits/u5ed_rkset.tgz
|
||||
tar -xzf u5ed_rkset.tgz
|
||||
```
|
||||
|
||||
### Usage
|
||||
@@ -25,7 +25,7 @@ Download, unpack and copy the disk images (*.dsk), e.g.
|
||||
(see section Rlink in [w11a_os_guide.md](../../../doc/w11a_os_guide.md))
|
||||
```
|
||||
boot script: uv5_rk_boot.tcl
|
||||
example: ti_w11 <opt> @uv5_rk_boot.tcl
|
||||
example: ti_w11 <opt> @u5ed_rk_boot.tcl
|
||||
where <opt> is the proper option set for the board.
|
||||
```
|
||||
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
; $Id: uv5_rk_boot.scmd 519 2013-05-12 20:44:16Z mueller $
|
||||
; $Id: u5ed_rk_boot.scmd 922 2017-07-02 12:13:36Z mueller $
|
||||
;
|
||||
; Setup file for Unix V5 RK05 based system
|
||||
; Setup file for Unix 5th Edition RK05 based system
|
||||
;
|
||||
; Usage:
|
||||
;
|
||||
; pdp11 uv5_rk_boot.scmd
|
||||
; pdp11 u5ed_rk_boot.scmd
|
||||
;
|
||||
do ../../simh/setup_w11a_min.scmd
|
||||
set tto 7b
|
||||
set dlo0 7b
|
||||
;
|
||||
att rk0 unix_v5_rk.dsk
|
||||
att rk0 u5ed_rk.dsk
|
||||
;
|
||||
boo rk0
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
# $Id: uv5_rk_boot.tcl 835 2016-12-31 10:00:14Z mueller $
|
||||
# $Id: u5ed_rk_boot.tcl 922 2017-07-02 12:13:36Z mueller $
|
||||
#
|
||||
# Setup file for Unix V5 RK05 based system
|
||||
# Setup file for Unix 5th Edition RK05 based system
|
||||
#
|
||||
# Usage:
|
||||
#
|
||||
# console_starter -d DL0 &
|
||||
# ti_w11 -xxx @uv5_boot.tcl ( -xxx depends on sim or fpga connect)
|
||||
# ti_w11 -xxx @u5ed_rk_boot.tcl ( -xxx depends on sim or fpga connect)
|
||||
|
||||
# setup w11 cpu
|
||||
rutil::dohook "preinithook"
|
||||
@@ -16,7 +16,7 @@ rw11::setup_tt "cpu0" ndl 1 to7bit 1
|
||||
rw11::setup_lp
|
||||
|
||||
# mount disks
|
||||
cpu0rka0 att unix_v5_rk.dsk
|
||||
cpu0rka0 att u5ed_rk.dsk
|
||||
|
||||
# and boot
|
||||
rutil::dohook "preboothook"
|
||||
|
||||
4
tools/oskit/u7ed_rp/.gitignore
vendored
Normal file
4
tools/oskit/u7ed_rp/.gitignore
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
*.dat
|
||||
*hook.tcl
|
||||
*license.txt
|
||||
*license.pdf
|
||||
112
tools/oskit/u7ed_rp/README.md
Normal file
112
tools/oskit/u7ed_rp/README.md
Normal file
@@ -0,0 +1,112 @@
|
||||
## Notes on oskit: Unix 7th Edition system on RP04 volumes
|
||||
|
||||
### Proviso
|
||||
|
||||
The current disk image is the plain 'Keith_Bostic' distribution
|
||||
**without any adoptions of further configurations**.
|
||||
Especially no program was rebuild to use the floating point simulator.
|
||||
|
||||
**All programs using floating point arithmetic will core dump !!**
|
||||
|
||||
Most in fact work fine because floating point is rarely used, but a simple
|
||||
```
|
||||
awk "BEGIN { print 1/100 }" /dev/null
|
||||
```
|
||||
|
||||
will generate a `core` because awk for example does use floating point
|
||||
arithmetic.
|
||||
|
||||
**So far only minimal testing on the CmodA7 system (672 kB memory) done.**
|
||||
|
||||
### General remarks
|
||||
See notes in [w11a_os_guide.md](../../../doc/w11a_os_guide.md) on
|
||||
1. I/O emulation setup
|
||||
2. FPGA Board setup
|
||||
3. Rlink and Backend Server setup
|
||||
4. Legal terms
|
||||
|
||||
### Installation
|
||||
A disk set is available from
|
||||
http://www.retro11.de/data/oc_w11/oskits/u7ed_rpset.tgz
|
||||
|
||||
Download, unpack and copy the disk images (*.dsk), e.g.
|
||||
```bash
|
||||
|
||||
cd $RETROBASE/tools/oskit/u7ed_rp
|
||||
wget http://www.retro11.de/data/oc_w11/oskits/u7ed_rpset.tgz
|
||||
tar -xzf u7ed_rpset.tgz
|
||||
```
|
||||
|
||||
### Usage
|
||||
|
||||
- Start backend server and boot system
|
||||
(see section Rlink in [w11a_os_guide.md](../../../doc/w11a_os_guide.md))
|
||||
```
|
||||
boot script: u7ed_rp_boot.tcl
|
||||
example: ti_w11 <opt> @u7ed_rp_boot.tcl
|
||||
where <opt> is the proper option set for the board.
|
||||
```
|
||||
|
||||
- Hit `<ENTER>` in the xterm window to connect to backend server.
|
||||
The boot dialog in the console `xterm` window will look like
|
||||
(required input is in `{..}`, with `{<CR>}` denoting a carriage return:
|
||||
```
|
||||
{boot}
|
||||
Boot
|
||||
: {hp(0,0)unix}
|
||||
mem = 611520
|
||||
# {^D}
|
||||
RESTRICTED RIGHTS: USE, DUPLICATION, OR DISCLOSURE
|
||||
IS SUBJECT TO RESTRICTIONS STATED IN YOUR CONTRACT WITH
|
||||
WESTERN ELECTRIC COMPANY, INC.
|
||||
WED DEC 31 19:02:00 EST 1969
|
||||
login: {root}
|
||||
Password: {root}
|
||||
```
|
||||
|
||||
**Note**: one has to type `boot` to start the 1st level boot loader. There
|
||||
is no initial prompt ! Just type `boot` followed by an enter to get going.
|
||||
|
||||
Now you are at the shell prompt and can exercise the system, e.g.
|
||||
```
|
||||
# {ls -al}
|
||||
total 542
|
||||
drwxr-xr-x 8 root 288 Dec 31 19:01 .
|
||||
drwxr-xr-x 8 root 288 Dec 31 19:01 ..
|
||||
drwxrwxr-x 2 bin 2480 May 5 05:59 bin
|
||||
-rwxrwxr-x 1 bin 6900 May 16 01:33 boot
|
||||
drwxr-xr-x 2 root 304 Dec 31 19:01 dev
|
||||
drwxr-xr-x 2 root 336 Dec 31 19:03 etc
|
||||
-rwxrwxr-x 1 sys 53302 Jun 8 16:56 hphtunix
|
||||
-rwxrwxr-x 1 sys 52850 Jun 8 16:56 hptmunix
|
||||
drwxrwxr-x 2 bin 336 Jan 22 19:58 lib
|
||||
-rwxrwxr-x 1 sys 51790 Jun 8 16:56 rphtunix
|
||||
-rwxrwxr-x 1 sys 51274 Jun 8 16:56 rptmunix
|
||||
drwxrwxrwx 2 bin 304 Jun 8 16:52 tmp
|
||||
-rwxrwxr-x 1 root 52850 Dec 31 19:01 unix
|
||||
drwxr-xr-x 15 bin 304 May 17 01:02 usr
|
||||
|
||||
# {ps aux}
|
||||
PID TTY TIME CMD
|
||||
16 co 0:00 -sh
|
||||
17 co 0:00 ps aux
|
||||
15 ? 0:00 /etc/cron
|
||||
# {df}
|
||||
/dev/rp0 5311
|
||||
/dev/rp3 130595
|
||||
```
|
||||
|
||||
There is no `halt` or `shutdown` command, the proper way to shutdown
|
||||
is to do a few `sync`
|
||||
```
|
||||
{sync}
|
||||
{sync}
|
||||
{sync}
|
||||
```
|
||||
|
||||
and just terminate the server session with a
|
||||
```
|
||||
.qq
|
||||
```
|
||||
|
||||
command.
|
||||
20
tools/oskit/u7ed_rp/u7ed_rp_boot.scmd
Normal file
20
tools/oskit/u7ed_rp/u7ed_rp_boot.scmd
Normal file
@@ -0,0 +1,20 @@
|
||||
; $Id: u7ed_rp_boot.scmd 921 2017-07-02 11:55:14Z mueller $
|
||||
;
|
||||
; Setup file for Unix 7th Edition RP04 based system
|
||||
;
|
||||
; Usage:
|
||||
;
|
||||
; pdp11 u7ed_rp_boot.scmd
|
||||
;
|
||||
;;;do ../../simh/setup_w11a_max.scmd
|
||||
set cpu 11/70 nofpp
|
||||
set cpu idle
|
||||
;
|
||||
set tto 7b
|
||||
set dlo0 7b
|
||||
;
|
||||
set rp0 rp04
|
||||
;
|
||||
att rp0 u7ed_rp.dsk
|
||||
;
|
||||
boo rp0
|
||||
24
tools/oskit/u7ed_rp/u7ed_rp_boot.tcl
Normal file
24
tools/oskit/u7ed_rp/u7ed_rp_boot.tcl
Normal file
@@ -0,0 +1,24 @@
|
||||
# $Id: u7ed_rp_boot.tcl 921 2017-07-02 11:55:14Z mueller $
|
||||
#
|
||||
# Setup file for Unix 7th Edition RP04 based system
|
||||
#
|
||||
# Usage:
|
||||
#
|
||||
# console_starter -d DL0 &
|
||||
# ti_w11 -xxx @u7ed_rp_boot.tcl ( -xxx depends on sim or fpga connect)
|
||||
|
||||
# setup w11 cpu
|
||||
rutil::dohook "preinithook"
|
||||
puts [rlw]
|
||||
|
||||
# setup tt,lp (uses only 1 console; uses parity -> use 7 bit mode)
|
||||
rw11::setup_tt "cpu0" ndl 1 to7bit 1
|
||||
rw11::setup_lp
|
||||
|
||||
# mount disks
|
||||
cpu0rpa0 set type rp04
|
||||
cpu0rpa0 att u7ed_rp.dsk
|
||||
|
||||
# and boot
|
||||
rutil::dohook "preboothook"
|
||||
cpu0 boot rpa0
|
||||
Reference in New Issue
Block a user