220 lines
6.9 KiB
Plaintext
220 lines
6.9 KiB
Plaintext
|
|
|||
|
xxboot version 0.2
|
|||
|
|
|||
|
xxboot <20><>:
|
|||
|
|
|||
|
NetBSD/X68k <20><><EFBFBD><EFBFBD>ư<EFBFBD><C6B0><EFBFBD>뤿<EFBFBD><EBA4BF><EFBFBD>Υ֡<CEA5><D6A1>ȥץ<C8A5><D7A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ǥ<EFBFBD><C7A4><EFBFBD>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD>ΥǥХ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Υ֡<EFBFBD><EFBFBD>Ȥ<EFBFBD><EFBFBD>б<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƥ<EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
|||
|
o SCSI <20>ǥ<EFBFBD><C7A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƭ<EFBFBD>ѡ<EFBFBD><D1A1>ƥ<EFBFBD><C6A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
o <20>ե<EFBFBD><D5A5>åԡ<C3A5><D4A1>ǥ<EFBFBD><C7A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>μ<EFBFBD><CEBC><EFBFBD>ʪ<EFBFBD><CAAA><EFBFBD>ե<EFBFBD><D5A5><EFBFBD><EFBFBD>ޥåȤΤ<C8A4><CEA4><EFBFBD>
|
|||
|
1232KB (1024byte/sector, 8sector/track): X68k ɸ<><C9B8><EFBFBD>ե<EFBFBD><D5A5><EFBFBD><EFBFBD>ޥå<DEA5>
|
|||
|
1200KB (512byte/sector, 15sector/track): ¯<><C2AF> 2HC <20>Ȥ<EFBFBD><C8A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
|||
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>: <09><><EFBFBD><EFBFBD>(NetBSD 1.2D)<29>ΤȤ<CEA4><C8A4><EFBFBD><EFBFBD><EFBFBD>1232KB <20>ե<EFBFBD><D5A5><EFBFBD><EFBFBD>ޥåȤΥǥ<CEA5><C7A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ˤ<EFBFBD>
|
|||
|
<09><><EFBFBD><EFBFBD><EFBFBD>˥ե<CBA5><D5A5><EFBFBD><EFBFBD>륷<EFBFBD><EBA5B7><EFBFBD>ƥब<C6A5><E0A4AC><EFBFBD>ۤǤ<DBA4><C7A4>ޤ<EFBFBD><DEA4><EFBFBD><EFBFBD>Τǡ<CEA4>root <20>ե<EFBFBD><D5A5><EFBFBD><EFBFBD>륷<EFBFBD><EBA5B7><EFBFBD>ƥ<EFBFBD>
|
|||
|
<09>ʤɤΥե<CEA5><D5A5><EFBFBD><EFBFBD>ޥåȤΥǥ<CEA5><C7A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֤<EFBFBD><D6A4><EFBFBD><EFBFBD>ȤϤǤ<CFA4><C7A4>ޤ<EFBFBD><DEA4><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
<09><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> fdboot <20>Ǥ<EFBFBD>Ʊ<EFBFBD><C6B1><EFBFBD>Ǥ<EFBFBD><C7A4><EFBFBD>
|
|||
|
<09><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ե<EFBFBD><D5A5><EFBFBD><EFBFBD>륷<EFBFBD><EBA5B7><EFBFBD>ƥ<EFBFBD><C6A5><EFBFBD><EFBFBD><EFBFBD>ö vnode disk driver (vnd) <20><><EFBFBD>˺<EFBFBD><CBBA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
<09><><EF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EFBFBD><CAA5><EFBFBD><EFBFBD>Ȥ<EFBFBD><C8A4><EFBFBD>
|
|||
|
|
|||
|
o gzip <20>ǰ<EFBFBD><C7B0>̤<EFBFBD><CCA4>줿<EFBFBD><ECA4BF><EFBFBD><EFBFBD><EFBFBD>ͥ<EFBFBD><CDA5><EFBFBD><EFBFBD>ɤ߹<C9A4><DFB9>ळ<EFBFBD>Ȥ<EFBFBD><C8A4>Ǥ<EFBFBD><C7A4>롣
|
|||
|
<20><><EFBFBD><EFBFBD><EFBFBD>ˤȤ<CBA4><C8A4>ʤ<EFBFBD><CAA4><EFBFBD><EFBFBD>ǥե<C7A5><D5A5><EFBFBD><EFBFBD>Ȥ<EFBFBD><C8A4>ɤ߹<C9A4><DFB9>५<EFBFBD><E0A5AB><EFBFBD>ͥ<EFBFBD><CDA5>Υե<CEA5><D5A5><EFBFBD><EFBFBD><EFBFBD>̾
|
|||
|
<20>Ȥ<EFBFBD><C8A4>ơ<EFBFBD>netbsd <20>Τۤ<CEA4><DBA4><EFBFBD> netbsd.gz <20><><EFBFBD>ä<EFBFBD><C3A4><EFBFBD><EFBFBD>줿<EFBFBD><ECA4BF>
|
|||
|
|
|||
|
<EFBFBD>פ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ˡ<EFBFBD>sdboot, fdboot, gunzip <20><><EFBFBD>Ĥ<EFBFBD><C4A4>Ϥ<EFBFBD><CFA4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ǥ<EFBFBD><C7A4>͡<EFBFBD>
|
|||
|
|
|||
|
|
|||
|
install:
|
|||
|
|
|||
|
1. make <20><><EFBFBD>ޤ<EFBFBD>
|
|||
|
% make
|
|||
|
|
|||
|
2. /usr/mdec <20><><EFBFBD>֤<EFBFBD><D6A4>ޤ<EFBFBD><DEA4><EFBFBD>
|
|||
|
# make install
|
|||
|
|
|||
|
|
|||
|
<EFBFBD>ǥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ؤν<EFBFBD><EFBFBD><EFBFBD>:
|
|||
|
|
|||
|
a. <20>ե<EFBFBD><D5A5>åԡ<C3A5>
|
|||
|
<20><>ˡ 1.
|
|||
|
/sbin/disklabel <20><> -DNUMBOOT=1 <20>դ<EFBFBD><D5A4>ǥ<EFBFBD><C7A5><EFBFBD><EFBFBD>ѥ<EFBFBD><D1A5>뤷<EFBFBD>ʤ<EFBFBD><CAA4><EFBFBD><EFBFBD>ޤ<EFBFBD><DEA4><EFBFBD>
|
|||
|
<09><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƥ<EFBFBD><C6A4><EFBFBD><EFBFBD>С<EFBFBD><D0A1><EFBFBD><EFBFBD>Τ褦<CEA4><E8A4A6> disklabel <20><> -B <20><><EFBFBD>ץ<EFBFBD><D7A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ǽ<EFBFBD><C7BD><EFBFBD>
|
|||
|
<09><><EFBFBD>Ȥ<EFBFBD><C8A4>Ǥ<EFBFBD><C7A4>ޤ<EFBFBD><DEA4><EFBFBD>
|
|||
|
|
|||
|
1232KB <20>ե<EFBFBD><D5A5><EFBFBD><EFBFBD>ޥåȤξ<C8A4><CEBE><EFBFBD>:
|
|||
|
# disklabel -B fd?a
|
|||
|
|
|||
|
1200KB <20>ե<EFBFBD><D5A5><EFBFBD><EFBFBD>ޥåȤξ<C8A4><CEBE><EFBFBD>:
|
|||
|
# disklabel -B fd?c
|
|||
|
|
|||
|
<09>ʤ<EFBFBD><CAA4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> disklabel <20><>ͽ<EFBFBD><CDBD><EFBFBD><EFBFBD><F1A4ADB9><EFBFBD><EFBFBD>Ǥ<EFBFBD><C7A4><EFBFBD><EFBFBD>Ȳ<EFBFBD><C8B2>ꤷ<EFBFBD>Ƥ<EFBFBD><C6A4>ޤ<EFBFBD><DEA4><EFBFBD>
|
|||
|
diskl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D><EFBFBD>:
|
|||
|
ver 0.2
|
|||
|
o <20><><EFBFBD><EFBFBD><EFBFBD>ޡ<EFBFBD><DEA1><EFBFBD><EFBFBD><EFBFBD> power on <20>ξ<EFBFBD><CEBE><EFBFBD><EFBFBD>ˡ<EFBFBD><CBA1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ư<EFBFBD><C6B0><EFBFBD>ʤ<EFBFBD><CAA4>Զ<EFBFBD><D4B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
|||
|
o <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD><DEA4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɥ<EFBFBD><C9A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>餷<F2B8BAA4><E9A4B7><EFBFBD><EFBFBD>
|
|||
|
|
|||
|
ver 0.1
|
|||
|
o make depend <20><><EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD>ư<EFBFBD><C6B0><EFBFBD>褦<EFBFBD><E8A4A6> xxboot.s <20><> xxboot.S <20><>
|
|||
|
<20>ե<EFBFBD><D5A5><EFBFBD><EFBFBD><EFBFBD>̾<EFBFBD><CCBE><EFBFBD>ѹ<EFBFBD><D1B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
|||
|
o GPL <20>ʥ<EFBFBD><CAA5><EFBFBD><EFBFBD>ɤ<EFBFBD><C9A4>ӽ<EFBFBD><D3BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
<20><><EFBFBD><EFBFBD><EFBFBD>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><DEA4><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
(disklabel <20>θ<EFBFBD><CEB8>˶<EFBFBD><CBB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD><DEA4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƥ<EFBFBD> 900byte <20><>?)
|
|||
|
<20><><EFBFBD><EFBFBD><EFBFBD>Ǥ<EFBFBD> 1KB <20>Ϻ<EFBFBD><CFBA>ä<EFBFBD><C3A4><EFBFBD><EFBFBD>Τʤ<CEA4><CAA4><EFBFBD>
|
|||
|
gunzip/inflate.c <20><> malloc() <20><><EFBFBD>ȤäƤ<C3A4><C6A4><EFBFBD><EFBFBD>ΤǤ<CEA4><C7A4><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
malloc()/free() <20>Υѥ<CEA5><D1A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȥäơ<C3A4><C6A1>ˤ<EFBFBD><CBA4><EFBFBD><EFBFBD>Τ<EFBFBD>
|
|||
|
malloc <20><><EFBFBD>Ǥä<C7A4><C3A4>夲<EFBFBD>Ƥ<EFBFBD><C6A4><EFBFBD><EFBFBD>ޤ<EFBFBD><DEA4><EFBFBD>malloc() <20>ѤΥХåե<C3A5><D5A5><EFBFBD>
|
|||
|
bss <20>ǤϤʤ<CFA4><CAA4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>å<EFBFBD><C3A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>äƤ<C3A4><C6A4>ޤ<EFBFBD>(bss <20><><EFBFBD>Ĥ꾯<C4A4>ʤ<EFBFBD><CAA4><EFBFBD><EFBFBD><EFBFBD>)<29><>
|
|||
|
|
|||
|
bootufs.c <09>֡<EFBFBD><D6A1>ȥץ<C8A5><D7A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
xxboot.S <09><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֥<EFBFBD><D6A5>ǽ<C7BD><F1A4A4A4><EFBFBD>ʬ
|
|||
|
chkfmt.s <09>ե<EFBFBD><D5A5>åԡ<C3A5><D4A1>Υե<CEA5><D5A5><EFBFBD><EFBFBD>ޥåȤ<C3A5>Ĵ<EFBFBD>٤<EFBFBD><D9A4><EFBFBD>ʬ
|
|||
|
iocscall.h <09><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֥<EFBFBD><D6A5>ѥإå<D8A5>
|
|||
|
xxboot.h C <20>ѥإå<D8A5>
|
|||
|
gunzip/* gzip <20><>Ÿ<EFBFBD><C5B8><EFBFBD>롼<EFBFBD><EBA1BC><EFBFBD><EFBFBD> asm() <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
|||
|
|
|||
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޥå<EFBFBD>:
|
|||
|
000000 |-----------------------------|
|
|||
|
| <20>ǽ<EFBFBD>Ū<EFBFBD>˥<EFBFBD><CBA5><EFBFBD><EFBFBD>ͥ<EFBFBD><CDA5><EFBFBD> 0 <20><><EFBFBD>Ϥ<EFBFBD> |
|
|||
|
| ž<><C5BE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> |
|
|||
|
| <20><> |
|
|||
|
002400 |-----------------------------|
|
|||
|
| xxboot <20><><EFBFBD>ǽ<EFBFBD><C7BD><EFBFBD><EFBFBD>ɤޤ<C9A4><DEA4><EFBFBD> |
|
|||
|
002800 |-----------------------------|
|
|||
|
| |
|
|||
|
| |
|
|||
|
100000 |-----------------------------|
|
|||
|
| <20><><EFBFBD><EFBFBD><EFBFBD>ͥ<EFBFBD><CDA5>ɤ߹<C9A4><DFB9>ߥХåե<C3A5> |
|
|||
|
| <20><> |
|
|||
|
| |
|
|||
|
: :
|
|||
|
| |
|
|||
|
| <20><> |
|
|||
|
| gzip <20><>Ÿ<EFBFBD><C5B8><EFBFBD>˻Ȥ<CBBB> |
|
|||
|
3E8000 |-----------------------------|
|
|||
|
| <20><> |
|
|||
|
| xxboot <20>Υ<EFBFBD><CEA5><EFBFBD><EFBFBD>å<EFBFBD> |
|
|||
|
3F0000 |-----------------------------|
|
|||
|
| xxboot <20><> text + data (8KB) |
|
|||
|
3F2000 |-----------------------------|
|
|||
|
| xxboot <20><> bss (56KB) |
|
|||
|
3FFFFF |-----------------------------| 4MB <20>ޥ<EFBFBD><DEA5><EFBFBD><EFBFBD>μ絭<CEBC><E7B5AD><EFBFBD>ξ<EFBFBD><CEBE><EFBFBD>
|
|||
|
|
|||
|
|
|||
|
<EFBFBD>֡<EFBFBD><EFBFBD><EFBFBD>ư<EFBFBD><EFBFBD>:
|
|||
|
1. <09>ޤ<EFBFBD><DEA4><EFBFBD>IOCS <20><><EFBFBD>ˤ<EFBFBD><CBA4>ꡢxxboot <20><><EFBFBD><EFBFBD>Ƭ 1KB <20><><EFBFBD><EFBFBD>0x002400 <20><><EFBFBD>ɤ߹<C9A4><DFB9>ޤ졢
|
|||
|
<09><>Ƭ<EFBFBD><C6AC><EFBFBD>ɥ쥹<C9A5><ECA5B9><EFBFBD>¹Ԥ<C2B9><D4A4><EFBFBD><EFBFBD>ޤ<EFBFBD><DEA4><EFBFBD>
|
|||
|
|
|||
|
2. xxboot <20>ϡ<EFBFBD><CFA1>֡<EFBFBD><D6A1>ȥǥХ<C7A5><D0A5><EFBFBD><EFBFBD><EFBFBD>Ĵ<EFBFBD>١<EFBFBD><D9A1><EFBFBD>ʬ<EFBFBD><CAAC><EFBFBD>Ȥ<EFBFBD><C8A4><EFBFBD><EFBFBD><EFBFBD> (8KB) <20><>
|
|||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ȥ<EFBFBD><C8A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>桼<EFBFBD><E6A1BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><F2A4B5A4>ޤ<EFBFBD><DEA4><EFBFBD>
|
|||
|
<09>桼<EFBFBD><E6A1BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ե<EFBFBD><D5A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 0x100000- <20><><EFBFBD>ɤ߹<C9A4><DFB9>ߤޤ<DFA4><DEA4><EFBFBD>
|
|||
|
|
|||
|
6. 0x100000- <20><><EFBFBD>ɤ߹<C9A4><DFB9><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ե<EFBFBD><D5A5><EFBFBD><EFBFBD>뤬 gzip <20>ǰ<EFBFBD><C7B0>̤<EFBFBD><CCA4><EFBFBD><EFBFBD>Ƥ<EFBFBD><C6A4><EFBFBD><EFBFBD>С<EFBFBD>
|
|||
|
<09><><EFBFBD>Υե<CEA5><D5A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ö ??????-0x3E7FFF <20><>ž<EFBFBD><C5BE><EFBFBD><EFBFBD><EFBFBD><EFBFBD>0x100000 <20><>
|
|||
|
<09><>Ƭ<EFBFBD>ˤʤ<CBA4><CAA4>褦<EFBFBD><E8A4A6>Ÿ<EFBFBD><C5B8><EFBFBD><EFBFBD><EFBFBD>ʤ<EFBFBD><CAA4><EFBFBD><EFBFBD>ޤ<EFBFBD><DEA4><EFBFBD>
|
|||
|
|
|||
|
7. 0x100000- <20><><EFBFBD>ɤ߹<C9A4><DFB9><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ե<EFBFBD><D5A5><EFBFBD><EFBFBD>뤬 NetBSD/m68k <20><> NMAGIC <20><>
|
|||
|
<09>¹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