⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 monitor.8

📁 操作系统设计与实现源码
💻 8
📖 第 1 页 / 共 3 页
字号:
%!PS-Adobe-1.0%%Creator: devps (Pipeline Associates, Inc.)%%CreationDate: Fri Sep 13 14:23:53 1996%%Pages: (atend)%%DocumentFonts: (atend)/devps 180 dict def devps begin/res 10.000000 def/y_offset 843 def/X{exch}bind def/mm {transform round X round X itransform} bind def/r{rmoveto}bind def/m{moveto}bind def/l{lineto}bind def/rl{rlineto}bind def/st{stroke}bind def/gs{gsave}bind def/gr{grestore}bind def/cp{currentpoint}bind def/np{newpath}bind def/ct{curveto}bind defsystemdict /setpacking known { /savepacking currentpacking def true setpacking } if/m0{0 0 moveto}bind def/xc{//res div}bind def/yc{//res neg div //y_offset add}bind def/lc{yc X xc X l st}bind def/mc{yc X xc X m}bind def/el{gs /a X def a div 1 X scale cp np a xc 2 div 0 360 arc st gr}bind def/ar{cp 7 2 roll np xc 5 1 roll atan 3 1 roll atan X arc st}bind def/sp{yc X xc X 6 2 roll yc X xc X 6 2 roll yc X xc X 6 2 roll ct}bind def/V{//res neg div //y_offset addcurrentpoint pop Xm}bind def/H{//res div0 transform X round X itransform popcurrentpoint X popmoveto}bind def/h{//res div 0 r}bind def/v{//res neg div 0 X r}bind def/S{X H show}bind def/A{H //res div 1 index stringwidth pop sub 1 index length div 0 3 2 roll ashow}bind def/psize 10 def/height 0 def/cheight { height 0 ne { height } { psize } ifelse } bind def/slant 0 def/FF{findfont X dup 30 div 0 mm pop setlinewidth /psize X def    [psize 0 cheight slant sin slant cos div mul cheight 0 0]    makefont setfont}bind def/shade{gs /dy X def /dx X def np m 0 /dy rl /dx 0 rl 0 /dy neg rl /dx neg 0 rl closepath .9 setgray fillgr}bind def1 setlinecap/resolution res 72 mul def/startFig {	/SavedState save def	userdict maxlength dict begin	currentpoint transform	DocumentInitState setmiterlimit setgray setdash setlinejoin setlinecap		setlinewidth setmatrix	itransform moveto	/ury exch def	/urx exch def	/lly exch def	/llx exch def	/y exch 72 mul resolution div def	/x exch 72 mul resolution div def		currentpoint /cy exch def /cx exch def	/sx x urx llx sub div def	/sy y ury lly sub div def	sx sy scale	cx sx div llx sub	cy sy div ury sub translate		/DefFigCTM matrix currentmatrix def	/initmatrix {		DefFigCTM setmatrix	} def	/defaultmatrix {		DefFigCTM exch copy	} def	/initgraphics {		DocumentInitState setmiterlimit setgray setdash 			setlinejoin setlinecap setlinewidth setmatrix		DefFigCTM setmatrix	} def	/showpage {		initgraphics	} def}bind  def/clipFig {	currentpoint 6 2 roll	newpath 4 copy	4 2 roll moveto	6 -1 roll exch lineto	exch lineto	exch lineto	closepath clip	newpath	moveto}bind  def/doclip { llx lly urx ury clipFig } def/endFig {	end SavedState restore}bind  def/globalstart {	fontnum psize slant height resolution currentpoint 	pagesave restore gsave }bind  def/globalend {	grestore moveto	/resolution exch def /height exch def	/slant exch def /psize exch def /fontnum exch def	F	/pagesave save def}bind  def/fontnum 1 def systemdict /setpacking known { savepacking setpacking} ifend/BP{save mark devps begin m0/DocumentInitState [ matrix currentmatrix currentlinewidth currentlinecapcurrentlinejoin currentdash currentgray currentmiterlimit ] cvx def}bind def/EP{end cleartomark restore showpage}def/Encoding-1 256 array def0 1 255 {Encoding-1 exch /.notdef put} forEncoding-1 8#301 StandardEncoding 8#101 26 getinterval putinterval %A-BEncoding-1 8#341 StandardEncoding 8#141 26 getinterval putinterval %a-bEncoding-1 8#241 StandardEncoding 8#301 16 getinterval putinterval %accentsEncoding-1 8#373 StandardEncoding 8#365 1 getinterval putinterval %dotlessiEncoding-1dup 8#41 /copyright putdup 8#42 /registered putdup 8#43 /trademark putdup 8#44 /logicalnot putdup 8#45 /Eth putdup 8#46 /eth putdup 8#47 /Thorn putdup 8#50 /thorn putdup 8#51 /brokenbar putdup 8#52 /degree putdup 8#53 /divide putdup 8#54 /multiply putdup 8#55 /minus putdup 8#56 /onehalf putdup 8#57 /onequarter putdup 8#60 /threequarters putdup 8#101 /Aacute putdup 8#102 /Acircumflex putdup 8#103 /Adieresis putdup 8#104 /Agrave putdup 8#105 /Aring putdup 8#106 /Atilde putdup 8#107 /Ccedilla putdup 8#110 /Eacute putdup 8#111 /Ecircumflex putdup 8#112 /Edieresis putdup 8#113 /Egrave putdup 8#114 /Iacute putdup 8#115 /Icircumflex putdup 8#116 /Idieresis putdup 8#117 /Igrave putdup 8#120 /Ntilde putdup 8#121 /Oacute putdup 8#122 /Ocircumflex putdup 8#123 /Odieresis putdup 8#124 /Ograve putdup 8#125 /Otilde putdup 8#126 /Scaron putdup 8#127 /Uacute putdup 8#130 /Ucircumflex putdup 8#131 /Udieresis putdup 8#132 /Ugrave putdup 8#133 /Ydieresis putdup 8#134 /Zcaron putdup 8#135 /aacute putdup 8#136 /acircumflex putdup 8#137 /adieresis putdup 8#140 /agrave putdup 8#141 /aring putdup 8#142 /atilde putdup 8#143 /ccedilla putdup 8#144 /eacute putdup 8#145 /ecircumflex putdup 8#146 /edieresis putdup 8#147 /egrave putdup 8#150 /iacute putdup 8#151 /icircumflex putdup 8#152 /idieresis putdup 8#153 /igrave putdup 8#154 /ntilde putdup 8#155 /oacute putdup 8#156 /ocircumflex putdup 8#157 /odieresis putdup 8#160 /ograve putdup 8#161 /otilde putdup 8#162 /scaron putdup 8#163 /uacute putdup 8#164 /ucircumflex putdup 8#165 /udieresis putdup 8#166 /ugrave putdup 8#167 /ydieresis putdup 8#170 /zcaron putpop/Enc-dict 30 dict defEnc-dict /tmpstr1 50 string putEnc-dict /tmpstr2 50 string putEnc-dict /tmpstr3 50 string dup (Encoding-) exch cvs pop put/AEnc-def { % arguments: the original font's name, encoding nrEnc-dict begintmpstr2 cvs /Enc-no exch def % Remember the number in a stringdup /OrigName exch def % remember the namefindfont dup maxlength dict /newdict exch def % get dictionary for new font{ exch dup /FID ne   { exch newdict 3 1 roll put }   { pop pop } % Ignore FID   ifelse} forallnewdict begin/Encoding  tmpstr3 9 Enc-no putinterval tmpstr3 0 9 Enc-no length add getinterval  cvn load  def % Replace encodingcurrentdict /UniqueID known{ /UniqueID UniqueID Enc-no cvi 49999 mul add def } if % Derive New UniqueIDend % newdict/FNlength OrigName tmpstr1 cvs length def % convert name, remember lengthFNlength 1 add Enc-no length add stringdup 0 OrigName tmpstr1 cvs putintervaldup FNlength (-) putintervaldup FNlength 1 add Enc-no putintervaldup 0 tmpstr1 0 FNlength getinterval putinterval % Add old namecvn dup newdict /FontName 3 2 roll put newdict definefontend % Enc-dict} def/Times-Roman 1 AEnc-def pop/R-1{/Times-Roman-1 FF}def/R{/Times-Roman FF}def/B{/Times-Bold FF}def/I{/Times-Italic FF}def/Times-Bold 1 AEnc-def pop/B-1{/Times-Bold-1 FF}def%%EndProlog%%Page: 1 1BP/slant 0 def/height 0 def480 V10 R720(MONITOR)S1199(\()S1241(8)S1299(\))S2696(Eighth)S(Edition)296 2989 A4648(MONITOR)S5127(\()S5169(8)S5227(\))S960 V9 R720(N)S722(NA)S790(AM)S858(ME)S940(E)S1080 V10 R1080(monitor,)S1448(edparams)S10 R-11859(-)S10 R1941(load)S2139(and)S2309(start)S2508(Minix,)S2803(modify)S(boot)178 3118 A3321(parameters)S1248 V9 R720(S)S722(SY)S774(YN)S842(NO)S910(OP)S978(PS)S1030(SI)S1082(IS)S1115(S)S1368 V10 B1080(edparams)S10 I1543(device)S10 R1839([)S10 B1873(command)S10 R(...])109 2336 A1488 V10 B1080(boot.com)S10 I1512(virdisk)S1656 V9 R720(D)S722(DE)S790(ES)S848(SC)S900(CR)S962(RI)S1024(IP)S1057(PT)S1109(TI)S1167(IO)S1200(ON)S1268(N)S1776 V10 R1080(This)S1295(text)S1482(describes)S1893(the)S2052(Boot)S2283(Monitor,)S2673(a)S(boot)178 2754 A2968(time)S3183(interactive)S3645(program)S4022(designed)S4415(not)S4579(only)S4793(to)S4907(load)S5116(and)S1896 V1080(start)S1283(Minix,)S1582(its)S1705(most)S1928(important)S2347(task,)S2562(but)S2718(to)S2824(also)S3014(provide)S3349(an)S3472(easy)S3679(to)S3785(use)S(interface)354 3947 A4329(to)S4435(con\256gure)S4843(Minix)S5116(and)S2016 V1080(to)S(boot)178 1183 A1386(other)S1618(operating)S2023(systems.)S2184 V1080(The)S1271(monitor)S1623(is)S1724(controlled)S2166(with)S2379(an)S2509(environment)S3052(that)S3238(is)S3340(modeled)S3721(after)S3942(the)S4100(Bourne)S4431(shell.)S4706(This)S4920(environ-)S2304 V1080(ment)S1313(is)S1412(\256lled)S1651(at)S1756(startup)S2062(with)S2273(default)S2585(values)S2874(that)S3057(depend)S3379(on)S3511(the)S3666(machine)S4039(the)S4194(monitor)S4544(is)S(running)312 4642 A4985(on)S5116(and)S2424 V1080(the)S1233(environment)S(settings)307 1772 A2110(saved)S2370(into)S2557(the)S(boot)178 2711 A2920(parameters)S3394(sector)S3666(\(the)S(second)279 3854 A4164(sector)S4436(on)S4567(a)S4643(device\).)S5021(When)S2544 V1080(the)S1240(environment)S1785(is)S1889(loaded,)S2219(the)S2379(monitor)S2734(executes)S3118(the)S3278(function)S3650(named)S10 B3954(main)S10 R4172(,)S4233(which)S4515(by)S4651(default)S4967(starts)S5216(a)S2664 V1080(simple)S1373(menu.)S2832 V1080(The)S1274(environment)S1819(can)S1996(be)S2128(manipulated)S2662(at)S(boot)178 2772 A2987(time)S3203(from)S3436(the)S3596(monitor)S3952(prompt,)S4305(but)S4471(may)S4682(also)S4882(be)S5015(edited)S2952 V1080(using)S10 B1326(edparams)S10 R1780(on)S1909(a)S1983(given)S2235(device.)S10 B2576(Edparams)S10 R3051(simulates)S3459(the)S3610(monitor)S3956(as)S4068(much)S4319(as)S4431(it)S4515(can,)S4708(echoing)S5054(com-)S3072 V1080(mands)S1369(it)S1452(can't)S1681(execute)S2016(between)S2379(brackets.)S2792(It)S2881(can)S3048(also)S3237(be)S3359(used)S3570(in)S3675(Make\256les)S4099(and)S4271(scripts)S4561(by)S4688(giving)S4971(it)S5054(com-)S3192 V1080(mands)S1367(as)S1476(arguments.)S3360 V1080(The)S1266(MS-DOS)S1676(version)S2001(of)S2114(the)S2266(monitor,)S2638(usually)S2957(named)S10 B3255(boot.com)S10 R(under)229 3679 A3938(DOS,)S(boots)217 4195 A4442(Minix)S4717(from)S4943(a)S5018("DOS)S3480 V1080(virtual)S1368(disk".)S1651(\(See)S1856(below.\))S3648 V9 R720(C)S722(CO)S784(OM)S852(MM)S934(MA)S1016(AN)S1084(ND)S1152(DS)S1220(S)S3768 V10 R1080(The)S1267(monitor)S1615(is)S1712(best)S1904(described)S2320(by)S2450(the)S2603(commands)S(you)150 3068 A3248(can)S3418(type)S3621(to)S3730(the)S3884('>')S4040(prompt.)S4411(This)S4621(is)S(known)273 4719 A5023(as)S5138(the)S3888 V1080("monitor)S1480(mode".)S1835(You)S2049(can)S2230(enter)S2473(this)S2659(mode)S2922(by)S(hitting)262 3062 A3364(the)S3527(Escape)S3853(key.)S4088(These)S4369(are)S4533(the)S4696(monitor)S5054(com-)S4008 V1080(mands:)S4176 V10 I1080(name)S10 R1323(=)S1405([)S10 B1439(device)S10 R1708(])S10 I1767(value)S4344 V10 R1440(Set)S1594(environment)S2127(variable.)S4464 V1440(Changes)S1816(the)S1969(value)S2217(of)S10 I2331(name)S10 R2579(to)S10 I2688(value)S10 R2914(.)S2995(The)S3183(optional)S3543(word)S10 B3781(device)S10 R4081(marks)S10 I4358(name)S10 R4607(as)S4722(being)S4976(subject)S4584 V1440(to)S1554(device)S1853(translation.)S2364(\(See)S2580(the)S2739(section)S3059(on)S3194(devices.\))S3615(These)S3891(\(name,)S4203(value\))S4490(pairs)S4721(are)S4880(passed)S5183(to)S4704 V1440(the)S1588(kernel)S1865(who)S2063(uses)S2261(them)S2487(to)S2590(con\256gure)S2995(itself.)S3272(These)S3538(variables)S3927(are)S4076(passed)S4369(by)S(default:)308 4494 A4872 V10 B1440(rootdev)S4992 V10 R1800(This)S2008(is)S2104(the)S2256(device)S2548(used)S2761(as)S(your)184 2874 A3087(root)S3278(device.)S3620(It)S3711(is)S3807(by)S3936(default)S4245(set)S4386(to)S10 B4494(ram,)S10 R4728(which)S5004(means)S5112 V1800(that)S1977(the)S2126(device)S2415(speci\256ed)S2799(by)S10 B2925(ramimagedev)S10 R(will)157 3537 A3719(be)S3839(loaded)S4132(into)S4313(the)S4461(RAM)S4715(disk)S4907(and)S5077(used)S5232 V1800(as)S1916(root.)S2160(If)S(you)150 2260 A2442(change)S2760(this)S2938(variable)S3296(then)S3502(a)S(physical)335 3580 A3948(device)S(will)157 4244 A4434(be)S4562(used)S4779(as)S4896(root,)S5116(and)S5352 V1800(the)S1948(RAM)S2202(disk)S(will)157 2394 A2576(be)S(uninitialized)503 2696 A3224(and)S3394(have)S3609(the)S3757(size)S3939(speci\256ed)S4322(by)S10 B4447(ramsize)S10 R4783(.)S5520 V10 B1440(ramimagedev)S5640 V10 R1800(Describes)S2229(the)S2383(device)S2677(to)S2786(use)S2951(to)S(initialize)353 3060 A3444(the)S3598(RAM)S3858(disk)S4056(if)S10 B4150(rootdev)S10 R4512(is)S4611(set)S4755(to)S10 B4865(ram)S10 R5044(.)S5126(It's)S5760 V1800(by)S1925(default)S2230(set)S2367(to)S10 B2470(bootdev)S10 R2811(,)S2861(a)S2931(special)S3236(name)S3479(for)S3622(the)S3770(device)S4058(the)S4206(monitor)S(booted)273 4549 A4847(from.)S5928 V10 B1440(ramsize)S6048 V10 R1800(The)S1987(size)S2174(of)S2288(the)S2441(RAM)S2700(disk.)S2947(If)S3045(the)S3198(RAM)S3457(disk)S3655(is)S3753(used)S3968(for)S4117(the)S4271(root)S4464(\256le)S4624(system)S4934(then)S5138(the)S6168 V1800(root)S1987(\256le)S2141(system)S2445(is)S2537(stretched)S2926(out)S3079(to)S10 B3182(ramsize)S10 R3543(if)S3630(possible.)S6336 V10 B1440(processor)S6456 V10 R1800(Set)S1966(by)S2103(default)S2420(to)S10 B2536(86)S10 R2636(,)S10 B(186)150 2699 A10 R2849(,)S10 B(286)150 2912 A10 R3062(,)S10 B(386)150 3125 A10 R3275(,)S10 B(486)150 3338 A10 R3488(,)S(...)75 3551 A3689(depending)S4145(on)S4283(the)S4444(hardware)S(you)150 4858 A5046(have.)S6576 V1800(You)S1998(can)S2163(set)S2300(it)S2381(to)S2484(a)S2554(smaller)S2876(value)S3119(to)S3222(test)S(your)184 3387 A3596(kernel)S3873(in)S3976(a)S4046(more)S4278(limited)S4588(environment.)S6744 V10 B1440(bus)S6864 V10 R1800(The)S1999(type)S2214(of)S2340(system)S2662(bus,)S2869(either)S10 B3142(xt)S10 R3226(,)S10 B3294(at)S10 R3421(or)S10 B3548(mca)S10 R3727(.)S3820(This)S4042(answers)S4410(basic)S4660(questions)S5082(like:)S6984 V1800("How)S2081(many)S2348(interrupt)S2739(controllers)S3214(and)S3403(how)S3620(to)S(initialize?")439 3742 A4250(Or:)S4429("Does)S4721(the)S(keyboard)374 4887 A7104 V1800(have)S2015(LEDs?")S7272 V10 B1440(memsize)S7392 V10 R(Kilobytes)391 1800 A2237(of)S(conventional)519 2367 A2933(memory.)S3365(This)S3591(is)S3705(the)S(amount)301 3875 A4223(of)S4354(RAM)S4630(within)S4934(the)S5104(\256rst)S7512 V1800(megabyte.)S7903 V720(Page)S941(1)S4455(September)S4911(13,)S(1996)200 5061 A8143 VEP%%Page: 2 2BP/slant 0 def/height 0 def480 V10 R720(MONITOR)S1199(\()S1241(8)S1299(\))S2696(Eighth)S(Edition)296 2989 A4648(MONITOR)S5127(\()S5169(8)S5227(\))S960 V10 B1440(emssize)S1080 V10 R(Kilobytes)391 1800 A2216(of)S2325(extended)S2713(memory.)S1248 V10 B1440(video)S1368 V10 R1800(Describes)S(capabilities)459 2223 A2707(of)S2816(the)S(VDU:)247 2964 A10 B3236(mda)S10 R3426(,)S10 B3476(cga)S10 R3621(,)S10 B3671(ega)S10 R3841(or)S10 B(vga)150 3950 A10 R4100(.)S1536 V10 B1440(chrome)S1656 V10 R1800(Either)S10 B2072(color)S10 R2315(or)S10 B2424(mono)S10 R2664(.)S1824 V10 B1440(console)S1944 V10 R1800(If)S1907(set)S2059(to)S2177(a)S2262(hexadecimal)S2811(value)S3069(makes)S3366(the)S3529(monitor)S3887(set)S4039(the)S4202(BIOS)S4472(video)S4735(mode)S4998(to)S5116(this)S2064 V1800(value.)S2100(This)S2311(allows)S2606(the)S2761(use)S2927(of)S3043(video)S3298(modes)S3592(with)S3803(more)S4042(rows)S4270(or)S

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -