PDP‐11 - Maverick-Shark/retroGuru GitHub Wiki
PDP2011 Cores
Core (by Rampa)
PDP2011 (CYC1000)
- https://pdp2011.sytse.net/wordpress/download/ pdp11-20250912.tar.gz
- https://github.com/DavidJRichards/pdp2011
Disk image
For convenience, I’m putting up my base image of 2.11BSD here. It’s installed according to the page under the HOWTO section, and patches have been applied up to #469.
PDP2011 (core by Rampa)- HowTo
- rldisk.dsk - Prueba de una imagen RAW multidisco con 4 discos SCSI.
- Instrucciones: Grabar esta imagen en una tarjeta microSD e insertarla en la ranura secundaria de la MiSTer!!
NOTA: Con balena etcher se graba bien!!
Controladora RL11 y PDP-11 Model 70 (o Model 20)
- Arrancad con DB0, DB1, DB2
- Después de cambiar cualquier cosa en el OSD, hacer un RESET !!! (desde el OSD de la MiSTer).
NOTAS:
- Antes de arrancar con el comando boot, en el monitor, prueba el comando "ZZ" que hace un test de CPU y de RAM. Así probamos si la SDRAM (que tiene la MiSTer) es compatible con el Core.
- El core arranca con el hello world en vt100 y deveulve el prompt.
- Ahí se lanza el comando ZZ.
- Si la pantalla muestra la secuencia del End Pass es que detecta la SDRAM.
- Se sale haciendo un RESET (desde el SD de la MiSTer), nunca acaba.
Controladora en RL11 y PDP11 Model 70 (desde el OSD) o model 20.
- Poned DL0 en el prompt.
- Muestra el :boot, y hacer un ENTER.
- Probad también con DL1
NOTA sobre las MiSTer y las microSD no SDHC:
- Estas microSD (pequeñas de 1GB o 2GB) deberían dejar un led encendido diciendo que no son SDHC.
- Los 3 leds son bifuncion.
- El primero te dice si es SDHC y lecturas de disco,
- El segundo si hay SD insertada y escrituras,
- y el tercero una suma de la transmision y recepcion de los dos terminales...
Imagen Basik
- minic_basik_rk.dsk (Basik con gráficos)
- Para controladora rk11, Model 70 y vt105 en el OSD.
- Tostar en una microSD
- Arrancar con DK0 (o DK)
- Y ejecutar rwiki
- También ejecucar: run menu (ahí salen cositas, un menu!!!).
Imagen 211bsp
- 211bsd_rp06.dsk (Unix)
- Para Controladora RH11
- Cuando te deje en RL primer prompt, Ctrl-D para arrancar el multiusuario.
- Arranca con DB0 y devuelve el prompt
- Al darle al un INTRO, hace el boot.
- Muestra alertas de no autoconfig routines.
- Al terminar, devuelve el prompt #
- Cuando saque el #, -> Ctrl+D
- Y hace un fast boot hasta mostrar el login:
- Que es: root (sin password)
Imagen rsx11m6.dsk
- Controladra rh11, disco db0
- Cuando pide fecha, es en el formato "00:00 01-jan-1980"
- Haz hello y entra como system y pwd system
- Así serás administrador
- Luego:
> set term cli=dcl
$ set def sys$login
Imagen games_rl.dsk
- Es un disco RL
RT-11 v4.0 - PDP-11/70 for RK11 Disk Controller (RK03 RT-11 v4.0 Disk)
Boot
- To boot the RK03 “RT-11 v4.0” disk, start PDP2011 core and mount rt11v4_rk11_pdp11-70.dsk file.
- Then, select PDP-11/70 and RK11 disk controller.
- And that's all folks!!! (after reset, of course!!!)
boot from rk:
RT-11SJ V04.00C
.D 56=5015
.TYPE V4USER.TXT
Welcome to RT-11 Version 4. RT-11 V04 provides new hardware support
and some major enhancements over Version 3B.
Please use the HELP command; it describes the new options in many
of the utilities.
If you are using a terminal that requires fill characters,
modify location 56 with a Deposit command before proceeding with
system installation. LA36 DECwriter II and VT52 DECscope terminals
do NOT require such modification.
.D 56=0
.DIR
SWAP .SYS 25 01-Feb-82 RT11BL.SYS 65 01-Feb-82
RT11SJ.SYS 67 01-Feb-82 RT11FB.SYS 80 01-Feb-82
TT .SYS 2 01-Feb-82 DT .SYS 3 01-Feb-82
DP .SYS 3 01-Feb-82 DX .SYS 3 01-Feb-82
DY .SYS ...
...
NOTE: Any RK11 disk drive (RK0-RK7) can be used. RK0 was selected for demonstration purposes.
Unix v5 - PDP-11/70 for RK11 Disk Controller
Boot
- To boot the RK03 “Unix v5” disk, start PDP2011 core and mount unixv5_pdp11-70_rk11.dsk file.
- Then, select PDP-11/70 and RK11 disk controller.
- And wait for the message:
boot from rk:
@
At the prompt, type “unix” at the “@” prompt, followed by “root” for the login:
@unix
login: root
# ls -l
total 60
drwxr-xr-x 2 bin 944 Nov 26 18:13 bin
drwxr-xr-x 2 bin 80 Nov 26 18:13 dev
drwxr-xr-x 2 bin 240 Mar 21 12:07 etc
drwxr-xr-x 2 bin 224 Nov 26 18:13 lib
drwxr-xr-x 2 bin 32 Nov 26 18:13 mnt
drwxrwxrwx 2 bin 32 Nov 26 18:13 tmp
-rwxrwxrwx 1 bin 25802 Mar 21 12:07 unix
drwxr-xr-x 14 bin 224 Nov 26 18:13 usr
#
Hello, world [t44]: cpu 11/70
boot from rk:
@unix
login: root
# chdir /etc
# ls -als
total 40
drwxr-xr-x 2 bin 240 Mar 21 12:07 .
drwxr-xr-x 9 bin 224 Mar 21 12:51 ..
-rwxr--r-- 1 bin 474 Nov 26 18:13 getty
-rwxr-xr-x 1 bin 1446 Nov 26 18:13 glob
-rwxr--r-- 1 bin 1972 Nov 26 18:13 init
-rwxr-xr-x 1 bin 814 Nov 26 18:13 lpd
-rwxr--r-- 1 bin 4136 Nov 26 18:13 mkfs
-rwxr--r-- 1 bin 1800 Nov 26 18:13 mknod
-rwsr-xr-x 1 root 2078 Nov 26 18:13 mount
-rw-r--r-- 1 bin 49 Nov 26 18:13 passwd
-rw-r--r-- 1 bin 70 Nov 26 18:13 rc
-rw-r--r-- 1 bin 56 Nov 26 18:13 ttys
-rwsr-xr-x 1 root 1990 Nov 26 18:13 umount
-rwxr-xr-x 1 bin 32 Nov 26 18:13 update
-rw-r--r-- 1 root 144 Mar 21 12:52 utmp
# cat passwd
root::0:1::/:
daemon::1:1::/bin:
bin::3:1::/bin:
# pwd
../etc
# chdir /
# pwd
..
# date
Fri Mar 21 12:53:06 EST 1975
# cal 2 2014
Feb 2014
S M Tu W Th F S
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28
# ed hello.c
?
a
main()
{
printf("Hello, worldn");
}
?
w
39
q
# cc hello.c
# ./a.out
Hello, world
# chdir /usr/sys/conf
# cat conf.c
/*
* Copyright 1974 Bell Telephone Laboratories Inc
*/
int (*bdevsw[])()
{
&nulldev, &nulldev, &rkstrategy, &rktab,
0
};
int (*cdevsw[])()
{
&klopen, &klclose, &klread, &klwrite, &klsgtty,
&nulldev, &nulldev, &mmread, &mmwrite, &nodev,
&nulldev, &nulldev, &rkread, &rkwrite, &nodev,
&pcopen, &pcclose, &pcread, &pcwrite, &nodev,
&dcopen, &dcclose, &dcread, &dcwrite, &dcsgtty,
0
};
int rootdev {(0<<8)|0};
int swapdev {(0<<8)|0};
int swplo 4000;
int nswap 872;
# mv . x
values of B will give rise to dom!
#
Some old russian games for PDP11
Game disk image #1 for RT11 system
- Run the games under SJ/BL kernel, because they're writing directly to console port (017756x).
- For playing most of them you'll have to use a VT52-compatible terminal or switch your VT100+ to VT52 mode I have no sources, so can't make an english translation, if you interested, we can try to patch them.
- game.dsk.gz (420kb)
Crear un disco de arranque
How to Make a Bootable Volume
- The preceding command file shows you one way of making a bootable VM device.
- You can modify that command file to make any volume bootable.
- To make a bootable volume, copy the files listed in Table 1–1 to that volume and then copy the boot code to the boot blocks on the volume.
Files Needed to Make a Bootable Volume
- RT11xx.SYS One monitor—Can be any RT–11 monitor except the RT11AI (Automatic Installation) or RT11MT (Magnetic Tape for use with MDUP) monitors
- SWAP.SYS External monitor swap blocks
- ddx.SYS Device handler for your working system volume
- ddx.SYS Device handler for your auxiliary volume (the volume you want to boot), if your auxiliary volume is not of the same type as your working system volume.
- SLx.SYS Command line editor (optional)
- LDx.SYS Logical disk handler, if you intend to use logical disks (optional)
- PIP.SAV File maintenance utility
- DUP.SAV Disk maintenance utility
- DIR.SAV Directory utility
- RESORC.SAV System resource display utility, handles mostly SHOW commands (optional)
- The following example procedure creates a bootable RX50 diskette:
- Initialize a diskette that has no file you want to save.
INIT DU1:
- Copy needed SYS files onto the diskette.
COPY SY:(RT11FB,SWAP,DU,SL,LD).SYS DU1:
- Copy needed SAV files onto the diskette.
COPY SY:(PIP,DUP,DIR,RESORC).SAV DU1:
- Copy the boot procedure to the boot blocks of the diskette.
COPY/BOOT DU1:RT11FB.SYS DU1:
Links
- https://t.me/pdp11_az
- Maxiol Forum
- Web BKGAMES
- PDP11-GUI - https://github.com/j-hoppe/PDP11GUI/releases
Tools
- FSX (FSX-master)
- File System Exchange, a utility to access data stored in disk images
- simh (emulador) - http://decuser.blogspot.com/2015/12/tutorial-setting-up-rt-11-v53-on-simh.html
Building a RK disk with simh
https://pdp2011.sytse.net/wordpress/building-a-rk-minc-disk/
Installing RT-11 5.3 in simh (PDP-11)
- Installing RT-11 5.3 on SIMH [Wiki] https://gunkies.org/wiki/Installing_RT-11_5.3_on_SIMH
https://www.youtube.com/watch?v=WpNRDaiI8EY
Install DOS v9.20c (PDP-11)
-
Using SIMH to Install PDP-11 DOS Onto a RK05 Disk Using Installation Media
-
Install Procedure (all user input is in bold)
BASIC-RT (simh)
RL02 image that contains:
- RT11 basic V01 (a bit old but OK) as R BASIC and a copy of BASIC-RT as R GBASIC.
- The RT version contains drivers for the VT11 display system.
- See DEC-11-LBACA-D-D_basicRTlangRef_Oct74.pdf. (At archive.org)
- NB This is a lifesaver.
- If you happen to type ^C in Basic, you will return to the monitor ie a full stop .
- Don't panic and immediately type REENTER to recover your valuable programme!
- File for Simh:
set cpu 11/35
set cpu 64k
set RL0 RL02
att rl0 rt11V.dsk
set dz disable
set vt crt=vr14
set vt scale=2
set vt alias=on
set vt enable
boot rl0