Немига 405 boot 02A

Материал из Emuverse

Загрузка на Немиге 4.05

В дисководе MD0: вставлена дискета 02A.DSK.

 Filename  Blocks  Date      Start    Bytes Trk Sec DskFileOffset  Comment
---------- ------  --------- ----- -------- --- --- ------------- ----------
Boot Block      1                0      512   0   2   0000000000  MD BOOT
Home Block      1                1      512   0   6   0000000200
Reserved        4                2     2048   0  10
Directory       2                6     1024   1  
MD    .SYS      4  22-Dec-91     8     2048   1  11   0000001000  заканчивается на SC03 TR02
RT11SJ.SYS     55  15-Feb-91    12    28160   2   4   0000001800
SWAP  .SYS      0  13-May-92    67        0
LP    .SYS      2  31-May-89    67     1024
LPU   .SYS      0  13-Jan-93    69        0
LN    .SYS      2  20-Oct-92    69     1024
LB    .SYS      2  13-Jan-93    71     1024
VD    .SYS      2  29-Mar-93    73     1024
VMU   .SYS      0  17-Dec-91    75        0
VM    .SYS      2  18-May-92    75     1024
LD    .SYS      8  15-Aug-90    77     4096
SG    .SAV      8  02-Mar-93    85     4096
SL    .SAV      8  22-Jul-91    93     4096
STARTS.SAV      1  22-Mar-93   101      512
ON    .SAV      1  20-May-92   102      512
DATE  .SAV      1  15-Aug-90   103      512
NET   .SAV     14  21-Jun-91   104     7168
DIR   .SAV      4  10-Aug-91   118     2048
RESORC.SAV     22  17-May-88   122    11264
NC    .SAV     25  06-Apr-93   144    12800
EDIK  .SAV     22  24-Feb-93   169    11264
DESS  .SAV     18  13-Feb-92   191     9216
SC    .SYS      3  13-Jan-93   209     1536
MX    .SYS      3  20-Jan-92   212     1536
BINCOM.SAV     10  21-Sep-88   215     5120
SRCCOM.SAV     11  21-Sep-88   225     5632
V0    .SYS      3  06-May-92   236     1536
V1    .SYS      2  05-May-92   239     1024
G8    .SYS      8  22-Feb-93   241     4096
MF    .SAV      3  27-May-92   249     1536
SOS   .SAV      4  29-Apr-87   252     2048
NETRW .SAV      2  29-May-92   256     1024
TRANS .SAV      3  08-Jun-92   258     1536
DUP   .SAV     43  14-Dec-90   261    22016
PIP   .SAV     28  14-Dec-90   304    14336
TXT   .SAV      3  09-Mar-93   332     1536
VD    .COM      1  16-Apr-93   335      512
VD    .DIR      1  16-Apr-93   336      512
< UNUSED >    122              337    62464
---------- ------  --------- ----- --------
 38 files, 329 blocks

Запускаем машину, она загружается в Пульт, пользователь вводит команду D.

Загрузчик в ПЗУ

Floppy0 COMMAND 000030
Floppy0 SET STATE 1 OPER 000020
Floppy0 STEP OUT
Floppy0 PREPARE TRACK 1
Floppy0 COMMAND 000030
Floppy0 SET STATE 1 OPER 000020
Floppy0 STEP OUT
Floppy0 PREPARE TRACK 0
Floppy TRACK 00
Floppy0 COMMAND 000010
Floppy0 SET STATE 1 OPER 000000
Floppy0 READ 17 POS0010 SC01 TR00
Floppy0 SET STATE 0 OPER 000000
Floppy0 COMMAND 000010
Floppy0 SET STATE 1 OPER 000000
Floppy0 READ 17 POS0010 SC01 TR00
Floppy0 READ a0 POS0140 SC02 TR00
Floppy0 READ 3e POS0270 SC03 TR00
Floppy0 READ 83 POS0400 SC04 TR00
Floppy0 READ fe POS0530 SC05 TR00
Floppy0 READ 00 POS0660 SC06 TR00
Floppy0 READ ff POS0790 SC07 TR00
Floppy0 READ ff POS0920 SC08 TR00
Floppy0 READ ff POS1050 SC09 TR00
Floppy0 READ 1f POS1180 SC10 TR00
Floppy0 READ 19 POS1310 SC11 TR00
Floppy0 READ 00 POS1440 SC12 TR00
Floppy0 READ 59 POS1570 SC13 TR00
Floppy0 READ 42 POS1700 SC14 TR00
Floppy0 READ 45 POS1830 SC15 TR00
Floppy0 READ 81 POS1960 SC16 TR00
Floppy0 READ f4 POS2090 SC17 TR00
Floppy0 READ f4 POS2220 SC18 TR00
Floppy0 READ b6 POS2350 SC19 TR00
Floppy0 READ 4a POS2480 SC20 TR00
Floppy0 READ 01 POS2610 SC21 TR00
Floppy0 READ 04 POS2740 SC22 TR00
Floppy0 READ 32 POS2870 SC23 TR00

выходим из подпрограммы чтения
161670: MOV	#000200, @#177766
161676: CLR	PC			; Запуск полученного блока с адреса 000000

Начальный загрузчик MD BOOT

000000: NOP	
000002: BR	000024

Очищается экран и выводится надпись "MD BOOT    V02.02(#)"

Floppy0 COMMAND 000070
Floppy0 SET STATE 1 OPER 000060
Floppy0 STEP IN
Floppy0 PREPARE TRACK 1
Floppy0 COMMAND 000030
Floppy0 SET STATE 1 OPER 000020
Floppy0 STEP OUT
Floppy0 PREPARE TRACK 0
Floppy TRACK 00
Floppy0 COMMAND 000010
Floppy0 SET STATE 1 OPER 000000
Floppy0 READ 17 POS0010 SC01 TR00
Floppy0 SET STATE 0 OPER 000000
Floppy0 COMMAND 000010
Floppy0 SET STATE 1 OPER 000000

Floppy0 READ 17 POS0010 SC01 TR00
Floppy0 READ a0 POS0140 SC02 TR00
Floppy0 READ 3e POS0270 SC03 TR00
Floppy0 READ 83 POS0400 SC04 TR00
Floppy0 READ fe POS0530 SC05 TR00
Floppy0 READ 00 POS0660 SC06 TR00
Floppy0 READ ff POS0790 SC07 TR00
Floppy0 READ ff POS0920 SC08 TR00
Floppy0 READ ff POS1050 SC09 TR00
Floppy0 READ 1f POS1180 SC10 TR00
Floppy0 READ 19 POS1310 SC11 TR00
Floppy0 READ 00 POS1440 SC12 TR00
Floppy0 READ 59 POS1570 SC13 TR00
Floppy0 READ 42 POS1700 SC14 TR00
Floppy0 READ 45 POS1830 SC15 TR00
Floppy0 READ 81 POS1960 SC16 TR00
Floppy0 READ f4 POS2090 SC17 TR00
Floppy0 READ f4 POS2220 SC18 TR00
Floppy0 READ b6 POS2350 SC19 TR00
Floppy0 READ 4a POS2480 SC20 TR00
Floppy0 READ 01 POS2610 SC21 TR00
Floppy0 READ 04 POS2740 SC22 TR00
Floppy0 READ 32 POS2870 SC23 TR00

Floppy0 SET STATE 0 OPER 000000
Floppy0 COMMAND 000070
Floppy0 SET STATE 1 OPER 000060
Floppy0 STEP IN
Floppy0 PREPARE TRACK 1
Floppy0 COMMAND 000010
Floppy0 SET STATE 1 OPER 000000

Floppy0 READ 6c POS0010 SC01 TR01
Floppy0 READ 0d POS0140 SC02 TR01
Floppy0 READ 01 POS0270 SC03 TR01
Floppy0 READ bb POS0400 SC04 TR01
Floppy0 READ 04 POS0530 SC05 TR01
Floppy0 READ 0a POS0660 SC06 TR01
Floppy0 READ 35 POS0790 SC07 TR01
Floppy0 READ ff POS0920 SC08 TR01
Floppy0 READ ff POS1050 SC09 TR01
Floppy0 READ ff POS1180 SC10 TR01
Floppy0 READ 46 POS1310 SC11 TR01
Floppy0 READ d7 POS1440 SC12 TR01
Floppy0 READ ff POS1570 SC13 TR01
Floppy0 READ e0 POS1700 SC14 TR01
Floppy0 READ 00 POS1830 SC15 TR01
Floppy0 READ 37 POS1960 SC16 TR01
Floppy0 READ 11 POS2090 SC17 TR01
Floppy0 READ 05 POS2220 SC18 TR01
Floppy0 READ c1 POS2350 SC19 TR01
Floppy0 READ c1 POS2480 SC20 TR01
Floppy0 READ 5e POS2610 SC21 TR01
Floppy0 READ 1f POS2740 SC22 TR01
Floppy0 READ 1f POS2870 SC23 TR01

Floppy0 SET STATE 0 OPER 000000
Floppy0 COMMAND 000070
Floppy0 SET STATE 1 OPER 000060
Floppy0 STEP IN
Floppy0 PREPARE TRACK 2
Floppy0 COMMAND 000010
Floppy0 SET STATE 1 OPER 000000

Floppy0 READ c5 POS0010 SC01 TR02
Floppy0 READ e6 POS0140 SC02 TR02
Floppy0 READ 01 POS0270 SC03 TR02
Floppy0 READ 90 POS0400 SC04 TR02
Floppy0 READ 04 POS0530 SC05 TR02
Floppy0 READ 1a POS0660 SC06 TR02
Floppy0 READ 48 POS0790 SC07 TR02
Floppy0 READ 1f POS0920 SC08 TR02
Floppy0 READ 19 POS1050 SC09 TR02
Floppy0 READ 00 POS1180 SC10 TR02
Floppy0 READ 59 POS1310 SC11 TR02
Floppy0 READ 42 POS1440 SC12 TR02
Floppy0 READ 45 POS1570 SC13 TR02
Floppy0 READ 81 POS1700 SC14 TR02
Floppy0 READ f4 POS1830 SC15 TR02
Floppy0 READ f4 POS1960 SC16 TR02
Floppy0 READ b6 POS2090 SC17 TR02
Floppy0 READ 4a POS2220 SC18 TR02
Floppy0 READ 01 POS2350 SC19 TR02
Floppy0 READ 04 POS2480 SC20 TR02
Floppy0 READ 32 POS2610 SC21 TR02
Floppy0 READ 6c POS2740 SC22 TR02
Floppy0 READ 0d POS2870 SC23 TR02

Floppy0 SET STATE 0 OPER 000000
Floppy Motor OFF