old_trap.ps
来自「开放源码的编译器open watcom 1.6.0版的源代码」· PS 代码 · 共 1,127 行 · 第 1/5 页
PS
1,127 行
@fs6 2350 7836 am (access_req req) shwd 2350 7697 am (-------------------\
-----) shwd 2350 7558 am (string) shwd 3550 (service_name) sd
@fs0 1500 7224 am (The) shwd 1803 () sd
@fs6 (req) shwd
@fs0 2114 (field) sd 2457 (contains) sd 3009 (the) sd 3266 (request.) sd 3893
(The) sd 4196 () sd
@fs6 (service_name) shwd
@fs0 5182 (field) sd 5525 (contains) sd 6077 (a) sd 6225 (string) sd 6629 (ide\
ntifying) sd 7329 (the) sd 1500 7057 am (supplementary service. This string is\
case insensitive.) shwd 1500 6723 am (Return message:) shwd
@fs6 2350 6306 am (trap_error err) shwd 2350 6167 am (unsigned_32 id)
shwd
@fs0 1500 5833 am (The) shwd 1774 () sd
@fs6 (err) shwd
@fs0 2056 (field) sd 2370 (is) sd 2520 (non-zero) sd 3075 (if) sd 3217 (someth\
ing) sd 3855 (went) sd 4183 (wrong) sd 4597 (in) sd 4762 (obtaining) sd 5347 (\
or) sd 5520 (initializing) sd 6183 (the) sd 6410 (service.) sd
@fs6 6974 (Id) sd
@fs0 7180 (is) sd 7329 (the) sd 1500 5666 am (identifier) shwd 2057 (for) sd
2264 (a) sd 2369 (particular) sd 2949 (supplementary) sd 3815 (service.) sd
4340 (It) sd 4469 (need) sd 4776 (not) sd 4998 (be) sd 5173 (the) sd 5387 (sam\
e) sd 5716 (from) sd 6031 (one) sd 6276 (invocation) sd 6910 (of) sd 7069 (the)
sd 7282 (trap) sd 1500 5499 am (file) shwd 1724 (to) sd 1870 (another.) sd
2401 (If) sd 2532 (both) sd 2818 (it) sd 2933 (and) sd 3172 (the) sd 3380 ()
sd
@fs6 (err) shwd
@fs0 3642 (field) sd 3936 (are) sd 4144 (zero,) sd 4458 (it) sd 4573 (means)
sd 4966 (that) sd 5212 (the) sd 5419 (service) sd 5851 (is) sd 5980 (not) sd
6195 (available) sd 6736 (from) sd 7044 (this) sd 7282 (trap) sd 1500 5332 am
(file.) shwd
@fs2 1500 4998 am (NOTE:) shwd
@fs0 ( In) shwd 2185 (the) sd 2412 (future,) sd 2843 (we) sd 3062 (might) sd
3444 (allow) sd 3811 (for) sd 4031 (user) sd 4320 (developed) sd 4950 (add-ons)
sd 5448 (to) sd 5612 (be) sd 5799 (integrated) sd 6414 (with) sd 6718 (the)
sd 6944 (debugger.) sd 1977 4831 am (There) shwd 2342 (would) sd 2731 (be) sd
2902 (two) sd 3151 (components,) sd 3901 (one) sd 4142 (to) sd 4290 (be) sd
4461 (added) sd 4834 (to) sd 4982 (the) sd 5192 (debugger) sd 5752 (and) sd
5993 (one) sd 6234 (to) sd 6382 (be) sd 6553 (added) sd 6926 (to) sd 7073 (the)
sd 7282 (trap) sd 1977 4664 am (file.) shwd 2370 (The) sd 2668 (two) sd 2959
(pieces) sd 3389 (could) sd 3780 (communicate) sd 4612 (with) sd 4941 (each)
sd 5277 (other) sd 5645 (via) sd 5896 (the) sd 6147 (supplementary) sd 7050 (s\
ervices) sd 1977 4497 am (mechanism.) shwd
@fs3 1500 3996 am (1.6 REQ_PERFORM_SUPPLEMENTARY_SERVICE \(5\)) shwd
@fs0 1500 3662 am (Request to perform a supplementary service.) shwd 1500 3328
am (Request message:) shwd
@fs6 2350 2911 am (access_req req) shwd 2350 2772 am (unsigned_32 ser\
vice_id) shwd 2350 2633 am (------------------------) shwd 2725 2494 am (unspe\
cified) shwd
@fs0 1500 2160 am (The) shwd 1755 () sd
@fs6 (req) shwd
@fs0 2018 (field) sd 2313 (contains) sd 2817 (the) sd 3026 (request.) sd 3508
(The) sd 3763 () sd
@fs6 (service_id) shwd
@fs0 4551 (field) sd 4846 (indicates) sd 5380 (which) sd 5759 (service) sd 6192
(is) sd 6322 (being) sd 6670 (requested.) sd 7283 (The) sd 1500 1993 am (rema\
inder of the request is specified by the individual supplementary service prov\
ider.) shwd 1500 1340 am (The Requests) shwd 7430 (8) sd
pageobj restore
showpage
%%Page: # 14
/pageobj save def
.072 .072 scale
2 setlinecap
@fs0
1500 10173 am (Return message:) shwd
@fs6 2350 9756 am (unspecified) shwd
@fs0 1500 9422 am (The return message is specified by the individual supplemen\
tary service provider.) shwd
@fs3 1500 8921 am (1.7 REQ_GET_SYS_CONFIG \(6\)) shwd
@fs0 1500 8587 am (Request to get system information from the remote machine.)
shwd 1500 8253 am (Request message:) shwd
@fs6 2350 7836 am (access_req req) shwd
@fs0 1500 7502 am (The ) shwd
@fs6 (req) shwd
@fs0 ( field contains the request.) shwd 1500 7168 am (Return message:) shwd
@fs6 2350 6751 am (unsigned_8 cpu;) shwd 2350 6612 am (unsigned_8 fp\
u;) shwd 2350 6473 am (unsigned_8 osmajor;) shwd 2350 6334 am (unsigned_8\
osminor;) shwd 2350 6195 am (unsigned_8 os;) shwd 2350 6056 am (uns\
igned_8 huge_shift;) shwd
@fs0 1500 5722 am (The) shwd 1754 () sd
@fs6 (cpu) shwd
@fs0 2016 (fields) sd 2364 (returns) sd 2790 (the) sd 2998 (type) sd 3276 (of)
sd 3430 (the) sd 3638 (remote) sd 4063 (CPU.) sd 4411 (The) sd 4665 (size) sd
4919 (of) sd 5073 (that) sd 5320 (field) sd 5614 (is) sd 5744 (unsigned_8.) sd
6465 (Possible) sd 6967 (cpu) sd 7205 (types) sd 1500 5555 am (are:) shwd
@fs6 2350 5138 am (CPU_86 = 0) shwd 2350 4999 am (CPU_186 = 1) shwd 2350
4860 am (CPU_286 = 2) shwd 2350 4721 am (CPU_386 = 3) shwd 2350 4582 am (CPU\
_486 = 4) shwd 2350 4443 am (CPU_586 = 5) shwd
@fs0 1500 4109 am (The ) shwd
@fs6 (fpu) shwd
@fs0 ( fields tells the type of FPU. The size of the field is unsigned_8. FPU\
types include:) shwd
@fs6 2350 3692 am (FPU_EMU = -1 - Software emulated FPU) shwd 2350 3553 am
(FPU_NO = 0 - No FPU) shwd 2350 3414 am (FPU_87 = 1) shwd 2350 3275 am
(FPU_287 = 2) shwd 2350 3136 am (FPU_387 = 3) shwd
@fs0 1500 2802 am (The) shwd 1758 () sd
@fs6 (osmajor) shwd
@fs0 2324 (and) sd 2567 () sd
@fs6 (osminor) shwd
@fs0 3133 (contains) sd 3640 (the) sd 3852 (major) sd 4219 (and) sd 4462 (mino\
r) sd 4837 (version) sd 5290 (number) sd 5758 (for) sd 5963 (the) sd 6175 (ope\
rating) sd 6745 (system) sd 7172 (of) sd 7329 (the) sd 1500 2635 am (remote)
shwd 1954 (machine.) sd 2590 (The) sd 2873 (type) sd 3180 (of) sd 3363 (operat\
ing) sd 3958 (system) sd 4411 (can) sd 4671 (be) sd 4869 (found) sd 5262 (in)
sd
@fs6 5437 (os) sd
@fs0 5653 (field.) sd 6072 (The) sd 6354 (size) sd 6636 (of) sd 6818 (this) sd
7085 (field) sd 7407 (is) sd 1500 2468 am (unsigned_8. The OS can be :) shwd
1500 1340 am (The Requests) shwd 7430 (9) sd
pageobj restore
showpage
%%Page: # 15
/pageobj save def
.072 .072 scale
2 setlinecap
@fs0
@fs6 2350 10201 am (OS_IDUNNO = 0 - Unknown operating system) shwd 2350
10062 am (OS_DOS = 1) shwd 2350 9923 am (OS_OS2 = 2) shwd 2350
9784 am (OS_PHAR = 3 - Phar Lap 386 DOS Extender) shwd 2350 9645 am (O\
S_ECLIPSE = 4 - Eclipse 386 DOS Extender) shwd 2350 9506 am (OS_NW386 \
= 5 - NetWare 386) shwd 2350 9367 am (OS_QNX = 6) shwd 2350 9228 am
(OS_RATIONAL = 7 - DOS/4G) shwd 2350 9089 am (OS_WINDOWS = 8) shwd 2350
8950 am (OS_PENPOINT = 9) shwd 2350 8811 am (OS_NT = 10) shwd 2350
8672 am (OS_AUTOCAD = 11 - ADS/ADI development) shwd
@fs0 1500 8338 am (The) shwd 1763 () sd
@fs6 (huge_shift) shwd
@fs0 2559 (field) sd 2861 (is) sd 2999 (used) sd 3300 (to) sd 3454 (determine)
sd 4058 (the) sd 4274 (shift) sd 4568 (needed) sd 5009 (for) sd 5218 (huge) sd
5535 (arithmetic) sd 6147 (in) sd 6301 (that) sd 6556 (system.) sd 7043 (It)
sd 7174 (stores) sd 1500 8171 am (the) shwd 1718 (number) sd 2192 (of) sd 2356
(left) sd 2590 (shifts) sd 2940 (required) sd 3454 (in) sd 3610 (order) sd 3952
(to) sd 4107 (calculate) sd 4650 (the) sd 4867 (next) sd 5154 (segment) sd
5665 (correctly.) sd 6267 (It) sd 6399 (is) sd 6538 (12) sd 6724 (for) sd 6934
(real) sd 7190 (mode) sd 1500 8004 am (programs.) shwd 2173 (The) sd 2450 (val\
ue) sd 2813 (in) sd 2982 (a) sd 3104 (protect) sd 3553 (mode) sd 3923 (environ\
ment) sd 4690 (must) sd 5021 (be) sd 5213 (obtained) sd 5755 (from) sd 6087 (t\
he) sd 6318 (OS) sd 6557 (of) sd 6734 (the) sd 6964 (debuggee) sd 1500 7837 am
(machine.) shwd
@fs3 1500 7336 am (1.8 REQ_MAP_ADDR \(7\)) shwd
@fs0 1500 7002 am (Request) shwd 2009 (to) sd 2177 (map) sd 2476 (the) sd 2706
(input) sd 3053 (address) sd 3531 (to) sd 3698 (the) sd 3927 (actual) sd 4319
(address) sd 4796 (of) sd 4971 (the) sd 5200 (remote) sd 5646 (machine. The)
sd 6569 (addresses) sd 7162 (in) sd 7329 (the) sd 1500 6835 am (symbolic)
shwd 2054 (information) sd 2757 (provided) sd 3297 (by) sd 3479 (the) sd 3692
(linker) sd 4060 (do) sd 4241 (not) sd 4461 (reflect) sd 4860 (any) sd 5103 (r\
elocation) sd 5704 (performed) sd 6328 (on) sd 6509 (the) sd 6721 (executable)
sd 7360 (by) sd 1500 6668 am (the) shwd 1725 (system) sd 2166 (loader.) sd 2643
(This) sd 2945 (request) sd 3403 (obtains) sd 3861 (that) sd 4125 (relocation)
sd 4739 (information) sd 5454 (so) sd 5632 (that) sd 5896 (the) sd 6121 (debu\
gger) sd 6695 (can) sd 6942 (update) sd 7368 (its) sd 1500 6501 am (addresses.)
shwd 1500 6167 am (Request message:) shwd
@fs6 2350 5750 am (access_req req) shwd 2350 5611 am (addr48_ptr in_\
addr) shwd 2350 5472 am (unsigned_32 handle;) shwd
@fs0 1500 5138 am (The) shwd 1756 () sd
@fs6 (req) shwd
@fs0 2020 (field) sd 2315 (contains) sd 2819 (the) sd 3028 (request.) sd 3511
(The) sd 3766 () sd
@fs6 (in_addr) shwd
@fs0 4329 (tells) sd 4600 (the) sd 4809 (address) sd 5266 (to) sd 5413 (map.)
sd 5732 (The) sd 5987 () sd
@fs6 (handle) shwd
@fs0 6475 (field) sd 6770 (identifies) sd 7329 (the) sd 1500 4971 am (module)
shwd 1982 (which) sd 2387 (the) sd 2620 (address) sd 3101 (is) sd 3256 (from.)
sd 3679 (The) sd 3958 (value) sd 4323 (from) sd 4657 (this) sd 4921 (field) sd
5240 (is) sd 5395 (obtained) sd 5939 (by) sd 6141 (REQ_PROG_LOAD) sd 7383 (or)
sd 1500 4804 am (REQ_GET_LIB_NAME. There are two magical values for the ) shwd
@fs6 (in_addr.segment) shwd
@fs0 ( field.) shwd
@fs6 2350 4387 am (MAP_FLAT_CODE_SELECTOR = -1) shwd 2350 4248 am (MAP_FLAT_D\
ATA_SELECTOR = -2) shwd
@fs0 1500 3914 am (When) shwd 1891 (the) sd 2119 () sd
@fs6 (in_addr.segment) shwd
@fs0 3301 (equals) sd 3715 (one) sd 3974 (of) sd 4148 (these) sd 4492 (values,)
sd 4947 (the) sd 5175 (debugger) sd 5753 (does) sd 6066 (not) sd 6301 (have)
sd 6621 (a) sd 6739 (map) sd 7035 (segment) sd 1500 3747 am (value) shwd 1842
(and) sd 2083 (is) sd 2214 (requesting) sd 2835 (that) sd 3083 (the) sd 3292 (\
trap) sd 3548 (file) sd 3773 (performs) sd 4316 (the) sd 4525 (mapping) sd 5052
(as) sd 5206 (if) sd 5330 (the) sd 5539 (given) sd 5888 (offset) sd 6245 (was)
sd 6500 (in) sd 6647 (the) sd 6856 (flat) sd 7081 (address) sd 1500 3580 am (\
space.) shwd 1500 3246 am (Return message:) shwd
@fs6 2350 2829 am (addr48_ptr out_addr) shwd 2350 2690 am (unsigned_32 \
lo_bound;) shwd 2350 2551 am (unsigned_32 hi_bound;) shwd
@fs0 1500 2217 am (The) shwd 1753 (mapped) sd 2231 (address) sd 2686 (is) sd
2815 (returned) sd 3318 (in) sd 3463 () sd
@fs6 (out_addr) shwd
@fs0 (.) shwd 4134 (Note that in addition to the segment portion being modifie\
d,) sd 1500 2050 am (the) shwd 1720 (offset) sd 2088 (of) sd 2254 (the) sd 2474
(portion) sd 2928 (of) sd 3094 (the) sd 3313 (address) sd 3780 (may) sd 4068
(be) sd 4248 (adjusted) sd 4762 (as) sd 4926 (well) sd 5215 (if) sd 5349 (the)
sd 5568 (loader) sd 5966 (performs) sd 6519 (offset) sd 6886 (relocations) sd
1500 1883 am (\(like) shwd 1793 (OS/2) sd 2117 (2.x) sd 2328 (or Windows NT\).\
The ) sd
@fs6 (lo_bound) shwd
@fs0 ( and ) shwd
@fs6 (hi_bound) shwd
@fs0 ( fields identify the lowest and highest input) shwd 1500 1340 am (The Re\
quests) shwd 7360 (10) sd
pageobj restore
showpage
%%Page: # 16
/pageobj save def
.072 .072 scale
2 setlinecap
@fs0
1500 10173 am (offsets) shwd 1910 (for) sd 2111 (which) sd 2490 (this) sd 2729
(mapping) sd 3255 (is) sd 3385 (valid.) sd 3738 (If) sd 3868 (the) sd 4075 (de\
bugger) sd 4632 (needs) sd 4986 (to) sd 5131 (map) sd 5407 (another) sd 5863 (\
address) sd 6318 (whose) sd 6711 (input) sd 7035 (segment) sd 1500 10006 am (v\
alue) shwd 1849 (is) sd 1988 (the) sd 2204 (same) sd 2535 (as) sd 2696 (a) sd
2803 (previous) sd 3330 (request,) sd 3816 (and) sd 4063 (the) sd 4279 (input)
sd 4612 (offset) sd 4976 (falls) sd 5262 (within) sd 5665 (the) sd 5881 (valid)
sd 6206 (range) sd 6562 (identified) sd 7144 (by) sd 7329 (the) sd 1500 9839
am (return) shwd 1876 (of) sd 2034 (that) sd 2285 (previous) sd 2808 (request,)
sd 3288 (it) sd 3406 (can) sd 3640 (perform) sd 4131 (the) sd 4342 (mapping)
sd 4871 (itself) sd 5191 (and) sd 5433 (not) sd 5652 (bother) sd 6050 (sending)
sd 6525 (the) sd 6736 (request) sd 7180 (to) sd 7329 (the) sd 1500 9672 am (t\
rap file.) shwd
@fs3 1500 9171 am (1.9 REQ_ADDR_INFO \(8\)) shwd
@fs0 1500 8837 am (Request) shwd 1994 (to) sd 2147 (check) sd 2517 (if) sd 2647
(a) sd 2753 (given) sd 3108 (address) sd 3571 (is) sd 3708 (using) sd 4055 (3\
2-bit)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?