From: Subject: 1 Date: Sat, 12 Aug 2006 19:38:36 -0700 MIME-Version: 1.0 Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Content-Location: http://www.jkearney.com/sbc6120/building%20IDE%20images.htm X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 1
1) Edit your copies of the VM01.PA and ID01.PA files to ensure that = the=20 line which reads

/SYS=3D1

is commented out.  The "/" = is the=20 comment character in PAL8, so if the line appears as you see it above = then it is=20 already commented out.  If it appears this = way:

SYS=3D1

then=20 you need to add the slash.

2) Create a copy of the OS8V3Q system = disk and=20 use FLX8 to copy the ID01.PA and VM01.PA files to it.  = Unfortunately there=20 isn't enough room on the original OS8v3Q diskette, so we'll have to = delete some=20 files that we won't be using.  [If you're a brave soul you can = actually do=20 this step under OS/8 using
TECO, but for now there's no need to make = our=20 lives more complicated.]

C:\>COPY OS8V3Q.RX1 SBC6120.RX1 /B = [Be SURE=20 to use /B!!]
1 file(s) copied.
C:\>FLX8
FLX8>mount=20 sbc6120.rx1/virtual/rx01
%FLX8-I, mounted virtual diskette on file=20 sbc6120.rx1
FLX8>delete basic.*, bload.sv, brts.sv, bcomp.sv,=20 eabrts.bn
%FLX8-I, deleted file BASIC.AF
%FLX8-I, deleted file=20 BASIC.FF
%FLX8-I, deleted file BASIC.SF
%FLX8-I, deleted file=20 BASIC.SV
%FLX8-I, deleted file BASIC.UF
%FLX8-I, deleted file=20 BLOAD.SV
%FLX8-I, deleted file BRTS.SV
%FLX8-I, deleted file=20 BCOMP.SV
%FLX8-I, deleted file EABRTS.BN
FLX8>delete pt8e.bn, = reseq.ba,=20 rklfmt.sv, ids.sv
%FLX8-I, deleted file PT8E.BN
%FLX8-I, deleted = file=20 RESEQ.BA
%FLX8-I, deleted file RKLFMT.SV
%FLX8-I, deleted file=20 IDS.SV
FLX8>write/ascii id01.pa
%FLX8-I, wrote ID01.PA to=20 ID01.PA
FLX8>write/ascii vm01.pa
%FLX8-I, wrote VM01.PA to=20 VM01.PA
FLX8>dir

Directory of=20 sbc6120.rx1
BUILD.SV    33   =20 (none)    (0070)
ABSLDR.SV   =20 5    1-JUN-93  (0131)
BITMAP.SV    = 5    (none)   =20 (0136)
BOOT.SV      5   =20 (none)    (0143)
CCL.SV     =20 18    (none)   =20 (0150)
CREF.SV     13   =20 (none)    (0172)
DIRECT.SV   =20 7    (none)   =20 (0207)
EDIT.SV     10    = 9-JUN-89 =20 (0216)
EPIC.SV     14   =20 (none)    (0230)
FBOOT.SV    =20 2   28-MAR-92  = (0246)
FOTP.SV     =20 8    (none)   =20 (0250)
HELP.HL     55   =20 (none)    (0260)
HELP.SV      = 8    (none)   =20 (0347)
PAL8.SV     19   =20 (none)    (0357)
PIP.SV     =20 11    (none)    = (0402)
RESORC.SV  =20 10    (none)   =20 (0416)
RXCOPY.SV    6   =20 (none)    (0430)
SABR.SV    =20 24    (none)   =20 (0436)
TECO.SV     22   =20 (none)    (0466)
ID01.PA    =20 33    4-DEC-86  = (0514)
VM01.PA    =20 35    4-DEC-86 =20 (0555)
ECHO.SV      2   =20 (none)    (0653)
SET.SV     =20 14    (none)   =20 (0666)
BATCH.SV    10   =20 (none)    (0704)
FUTIL.SV    = 26  =20 15-FEB-87  (0716)

Total of 395 blocks in 25=20 files.
FLX8>exit
%FLX8-I, dismounting diskette = sbc6120.rx1

3)=20 Now run WinEight, boot the SBC6120 disk, assemble the ID01 and VM01 = handlers,=20 and install them into OS/8.

[Run WinEight]
[File >> Boot = and=20 select the SBC6120.RX1 file]
.PAL ID01
ERRORS DETECTED: 0
LINKS = GENERATED: 0

.PAL VM01
ERRORS DETECTED: 0
LINKS GENERATED:=20 0

.RUN SYS BUILD [NEVER SAY "R BUILD" !!!]

$LO VM01
$LO = ID01
$DE PTR
$DE RKA0-1
$DE RKB0-1
$IN VM01:VMA0-3
$IN=20 ID01:IDA0-3
$PR

PT8E:  PTP   PTR 
RX8E: = *SYS 
RX01: *RXA0 *RXA1
RK8E:  SYS   = RKA0 =20 RKB0
RK05:  RKA0  RKB0  RKA1  RKB1  = RKA2 =20 RKB2  RKA3  RKB3
KL8E: *TTY 
LS8E: = *LPT 
VM01:=20 *VMA0 *VMA1 *VMA2 *VMA3
ID01: *IDA0 *IDA1 *IDA2 *IDA3  = IDA4 =20 IDA5  IDA6  IDA7

DSK=3DRX8E:SYS
$BO
SYS BUILT =
 =20

.SAVE SYS BUILD


.RESOURCES/E

27 FILES IN 397 BLOCKS
41 FREE BLOCKS (4 = EMPTIES)

#  NAME TYPE MODE SIZ BLK KIND U V ENT USER
01 = SYS =20 RX8E RWF  494 SYS      0 E  07
02=20 DSK  RX8E RWF  494 SYS      0 E  = 07
03 RXA0 RX8E RWF  494=20 16         E  30
04 RXA1 = RX8E=20 RWF  494 16         E  = 34
05 TTY  TTY  RW       17+=20 KL8E   E 176
06 LPT  LPTR=20 W        20+ LQP    = D =20 03
07(6775) 43  RWF     =20 21         C  = 10
10(6776)=20 43  RWF     =20 21         C  = 64
11(6777)=20 43  RWF     =20 21         C  72
12=20 X     43  RWF     =20 21         C  77
13=20 J4    44  RWF     =20 22         B 101
14=20 J5    44  RWF     =20 22           112
15 = J6    44  RWF     =20 22           111
16 = J7    44  RWF     =20 22           = 110

FREE=20 DEVICE SLOTS: 01,  FREE BLOCK SLOTS: 03
OS/8 = V3Q

.

[The=20 strange looking devices, (6775), (6776), X, J4, etc are really the = VMA0..VMA3=20 and IDA0..IDA3 devices.  The problem is that the standard OS/8 V3Q = RESORC=20 program doesn't know about these device types and can't print them=20 correctly.  Worse (much worse!) OS/8 PIP doesn't recognize the VM01 = or ID01=20 devices either, and so we cannot use the ZERO command to initialize an = empty=20 file system.  Fortunately this is a common problem and it was well=20 documented by DEC how to patch PIP to add additional devices.  = That's what=20 we'll do next.]

.GET SYS PIP
.ODT
13643/ 5300
13644/ = 1
13645/=20 ^C
.SAVE SYS PIP

[Now we're ready to create an initialize some = VM01=20 and/or ID01 image files.]

[From the CPU >> Options dialog, = set the=20 CPU TYPE to HD6120, check the box that says "Enable BTS6120 Emulation", = and=20 click OK]
[From the View >> Devices dialog, click INSTALL, = select "VM01=20 SBC6120 RAM Disk", and click OK. Repeat this procedure to install the = ID01=20 disk.]
[Back in the Devices dialog, expand the tree entry for the = VM01=20 device, and you should see units 0 thru 3.  Click on Unit 0 and = then click=20 the Attach button.  An Attach File dialog appears; type in = "SBC6120" (or=20 whatever you like) as the file name and click OK.  A message box = appears=20 which reads "VM01 image ...SBC6120.vmd will now be created."  Click = the OK=20 button.]
[Back in the Devices dialog, VM01 unit 0 should now show = that it is=20 attached to the file SBC6120.VMD.  Repeat this procedure to attach = other=20 VM01 and/or ID01 units.]
[When you're done creating image files, = click OK on=20 the devices dialog and then go back to OS/8.]

.ZERO VMA0:
.DIR = VMA0:

   0 FILES IN    0 BLOCKS - 1337 = FREE=20 BLOCKS

.ZERO IDA0:
.DIR IDA0:

   0 FILES=20 IN    0 BLOCKS - 4088 FREE=20 BLOCKS

.

[Congratulations - you've now built and installed = non-system handlers for the VM01 and ID01 devices!]
-------------------------
Procedure to make a bootable IDE image (making a = ramdisk image=20 is parallel):
-------------------------

[ Edit = the ID01.PA=20 file and uncomment the SYS=3D1 line. This might be easier
on the PC = side if=20 you're not familar with EDIT or TECO ]

[ assemble it = ]

.PAL=20 ID01

[ initialize the IDE disk as a copy of the system disk = ]

.R=20 PIP
*IDA0:<SYS:(YZ)
*^C

.COPY IDA0:<*.*
[note: to = get the=20 files that were deleted while making the SBC6120.RX1
image, mount the = original OS8V3Q.RX1 to RXA1 and use COPY IDA0:<RXA1:BASIC.*=20 etc. to transfer them]

[ switch to the new drive and = run BUILD=20 ]

.AS IDA0: DSK:
.RUN DSK BUILD

[ remove the drivers = we're not=20 using ]

$UNL RX8E
$UNL RX01
$UNL RK8E
$UNL RK05

[ = replace=20 the nonsystem ID01 with the system one ]

$UNL ID01
$LO = ID01
$IN=20 ID01,SYS
$IN ID01,IDA1-7
$DSK=3DID01:SYS
$SYS ID01=3D1

[ = save the=20 system ]

$BOOT
WRITE ZERO DIRECT?N
SYS BUILT

[ save = the=20 modified BUILD ]

.SAVE DSK BUILD