From: matsuno@ainec1.lab.toyodenki.co.jp (MATSUNO Yoshiaki)
Newsgroups: fj.os.msdos
Subject: Re: int 21h (ah = 67h)
Date: 14 Oct 92 06:40:28 GMT
	<17230@ume.cc.tsukuba.ac.jp>
Distribution: fj
Organization: TOYO Denki Seizo K.K., Kanagawa, Japan
In-reply-to: nozomi@sakura.cc.tsukuba.ac.jp's message of 14 Oct 92 11:13:37 JST


  $@$A$O$d$V$k(J $@$G$9!#(J

  $@@h$KMQ8l$N@0M}$r$7$F$*$-$^$7$g$&!#(J

           $@;d(J        |       $@0KF#$5$s(J
  -------------------+---------------------------
    $@%U%!%$%k%F!<%V%k(J |           ?
       $@FbIt(J FCB      | $@%7%9%F%`%U%!%$%k%F!<%V%k(J

$@$H$J$C$F$$$k$h$&$G$9!#;d$O6&N)=PHG$N(J OS $@%7%j!<%:(J 4 $@!V(JMS-DOS$@!W!Jever$5(J
$@$s(J+$@BkLn$5$s!K$NMQ8l$K9g$o$;$F$$$^$9!#!V%U%!%$%k%F!<%V%k!W"*!V%W%m%;%9(J
$@%U%!%$%k%F!<%V%k!W$H$9$l$P!$8m2r$,$J$$$N$+$b$7$l$^$;$s!#0J2<!$$=$&$7$^(J
$@$9!#(J

  $@%7%9%F%`A4BN$GMxMQ$G$-$k%U%!%$%k%O%s%I%k?t(J
                            $@!aFbIt(J FCB $@$N%(%s%H%j?t(J
  $@%W%m%;%9$,MxMQ$G$-$k%U%!%$%k%O%s%I%k?t(J
                            $@!a%W%m%;%9%U%!%$%k%F!<%V%k$N%(%s%H%j?t(J
$@$H$$$&$3$H$G$9!#(J

In article <17230@ume.cc.tsukuba.ac.jp>,
    nozomi@sakura.cc.tsukuba.ac.jp (NoZomi Ytow) writes:
> $@$($($H!";d$NM}2r$G$O(J
> 
> $@%7%9%F%`A4BN$GMxMQ$G$-$k%U%!%$%k%O%s%I%k?t(J
>   >= $@%W%m%;%9$,MxMQ$G$-$k%U%!%$%k%O%s%I%k?t(J
> 
> $@$@$H;W$&$N$G$9$,!#(J

  dup $@$9$l$P$$$/$i$G$b%W%m%;%9%U%!%$%k%F!<%V%k$r>CHq$G$-$^$9$+$i!$>e$N(J
$@ITEy<0$O@.$jN)$?$J$$$H;W$$$^$9!#$H$$$&$+!$@.$jN)$C$F$O:$$k$H;W$$$^$9!#(J
  $@@.$jN)$D$N$O(J
    $@$3$l$+$i%*!<%W%s2DG=$J%U%!%$%k?t(J
            $@!e(Jmin($@FbIt(J FCB $@$N6u$-%(%s%H%j?t(J,
                  $@%W%m%;%9%U%!%$%k%F!<%V%k$N6u$-%(%s%H%j?t(J)
$@$G$7$g$&!#(J
  $@$H$K$+$/(J
    FILES $@$N@_DjCM(J $@!f(J $@$3$l$+$i%*!<%W%s2DG=$J%U%!%$%k?t(J
$@$O@.$jN)$A$^$9$+$i!$(Jopen("nul",0) $@$r7+$jJV$;$P!$(JFILES $@$N@_DjCM$N2<8B$O(J
$@5a$a$i$l$^$9!#(Jint 21h(ah=52h) $@$,;H$($J$$$H$-$K!$(JFILES $@$N@_DjCM$=$N$b$N(J
$@$r5a$a$k0lHLE*$JJ}K!$O$J$$$N$+$b$7$l$^$;$s!#(J


> $@%U%j!<%a%b%j$NJ,CG$O(J DOS $@$N5!G=$G%U%!%$%k$K%"%/%;%9$9$k8B$j(J
> $@5/$-$F$$$J$$$h$&$J5$$,$7$^$9!#(J
> $@>/$J$/$H$b!"(JSFT $@$K4X$7$F$O(J FILES $@$K=>$C$F(J DOS $@$,%7%9%F%`NN0h(J
> $@5Z$S(J config $@NN0h!J(Jcommand.com $@$NA0!K$K3NJ]$7$F$$$^$9!#(J
> $@$3$l$O(J SFT $@$r$?$I$C$F$_$k$H$o$+$j$^$9!#(J
> $@A[A|$G$9$,!"(Jint 21h (ah = 67h) $@$O(J FCB $@$N%]%$%s%?$r=q$-49$($k$@$1$J$N$G$O!)(J

  $@<!$N$h$&$J%W%m%0%i%`$r(J symdeb $@$G:n$C$F<B9T$7$?7k2L$r<($7$^$9!#%W%m%;(J
$@%9%U%!%$%k%F!<%V%k$N%(%s%H%j?t$r(J 512 $@$K3HD%$7$F$$$^$9!#(JPSP $@Fb$K$"$k(J 
default $@$N%W%m%;%9%U%!%$%k%F!<%V%k$NBe$o$j$K!$(JDOS $@$,%"%m!<%1!<%H$7$?%a(J
$@%b%j%V%m%C%/$K?7$7$$%W%m%;%9%U%!%$%k%F!<%V%k$,:n$i$l$kMM;R$,$o$+$k$H;W(J
$@$$$^$9!#(J
  DOS extender $@$r;H$&$H!$;v>p$,0c$C$F$/$k$s$G$7$g$&$M!#(J

$@!{(J $@%W%m%0%i%`(J

1AEB:0100 B44A           MOV	AH,4A                         ;'J' 
1AEB:0102 BB0010         MOV	BX,1000 
1AEB:0105 CD21           INT	21 
1AEB:0107 B467           MOV	AH,67                         ;'g' 
1AEB:0109 BB0002         MOV	BX,0200 
1AEB:010C CD21           INT	21 
1AEB:010E B8004C         MOV	AX,4C00 
1AEB:0111 CD21           INT	21 

$@!{(J IP=107h $@$N;~E@$G$NFbIt(J FCB $@!J(Jms/f $@$N=PNO!K(J

No. FileTable  File name   Ref   Access   Inh Attr  Size   PID   Owner name
--- --------- ------------ --- ---------- --- ---- ------- ---- ------------
  0 0436:00D2 aux     .      6 read/write yes ----       0 8C4F 
  1 0436:010D con     .     14 read/write yes ----       0 8C4F 
  2 0436:0148 prn     .      6 write only yes ----       0 8C4F 
  3 0436:0183 test67  .log   5 read/write yes ---a    1532 10EB command.com 
  4 0436:01BE ms      .com   0 read  only yes ---a   14744 2AF2 command.com 

Files = 16  ( 0436:00CC =  5  0B79:0000 = 11 )

$@!{(J $@$3$N$H$-$N(J PSP 
   ^^^ $@$,(J default $@$N%W%m%;%9%U%!%$%k%F!<%V%k(J
   +++ $@$,%W%m%;%9%U%!%$%k%F!<%V%k$N%(%s%H%j?t(J
   === $@$,%W%m%;%9%U%!%$%k%F!<%V%k$N%"%I%l%9(J

1AEB:0010  09 12 F0 08 09 12 F9 11-01 03 01 00 02 FF FF FF  ..p...y.........
                                   ^^^^^^^^^^^^^^^^^^^^^^^
1AEB:0020  FF FF FF FF FF FF FF FF-FF FF FF FF E6 1A A6 8D  ............f.&.
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1AEB:0030  09 12 14 00 18 00 EB 1A-FF FF FF FF 00 00 00 00  ......k.........
                 +++++ ===========

$@!{(J int 21h(ah=67) $@<B9T8e$N(J PSP

1AEB:0010  09 12 F0 08 09 12 F9 11-01 03 01 00 02 FF FF FF  ..p...y.........

1AEB:0020  FF FF FF FF FF FF FF FF-FF FF FF FF E6 1A A6 8D  ............f.&.

1AEB:0030  09 12 00 02 00 00 EC 2A-FF FF FF FF 00 00 00 00  ......l*........
                 +++++ ===========

$@!{(J $@?7$7$$%W%m%;%9%U%!%$%k%F!<%V%k(J

2AEC:0000  01 03 01 00 02 FF FF FF-FF FF FF FF FF FF FF FF  ................
2AEC:0010  FF FF FF FF FF FF FF FF-FF FF FF FF FF FF FF FF  ................
	$@!&!&!&N,!&!&!&(J
2AEC:01F0  FF FF FF FF FF FF FF FF-FF FF FF FF FF FF FF FF  ................

$@!{(J $@$3$N$H$-$N(J MCB $@%A%'%$%s(J $@!J(Jms/m $@$N=PNO!K(J

 MCB  PSP  Size      Owner name     Param/Dev        Hooked Vectors
---- ---- ------- ----------------- ---------- -----------------------------
	$@!&!&!&N,!&!&!&(J
10EA 10EB   3952  command.com       TEST67.COM 2E 2F
11E2 11F9     64  symdeb.exe  (env)           
11E7 10EB    256  command.com (*ev)           
11F8 11F9  36544  symdeb.exe        TEST67.COM
1AE5 1AEB     64  test67.com  (env)           
1AEA 1AEB  65536  test67.com                  
2AEB 1AEB    512  test67.com                    $@"+(J $@?7$7$$(J P.F.T.


> $@$A$J$_$K!"$J$<$3$s$J;v$r8@$$=P$7$?$+$H8@$&$H!"(J
> Demacs $@$r(J Zortech C++ $@$G(J make $@$7$?$i!"(J
> $@%*!<%W%s$G$-$k%U%!%$%k?t$N@)8B$G$R$C$+$+$C$F!"(J
> Zortech $@$N%i%$%V%i%j$N%=!<%9$r$J$,$a$D$D(J
> $@$3$NJ}LL$KF0$$$F$-$?$N$G$7$?!#(J

  $@$=$&$G$7$?$+!#$,$s$P$C$F$/$@$5$$!#(J

> $@!t(Jfopen $@$,(J 20 files $@8GDj$J$s$F!"0lBN$I$&$$$&H/A[$@$m$&!#(J

  $@$?$7$+$K$3$l$,$b$&$R$H$D$N4XLg$G$9$M!#$^$"!$%i%$%V%i%j$N%=!<%9$,$"$l(J
$@$P$J$s$H$+$J$k$H$O$$$(!#(J


> NEC PC9801 $@%7%j!<%:!!(JMS-DOC 5.0 $@%W%m%0%i%^!<%:%j%U%!%l%s%9%^%K%e%"%k(J vol.1
> p. 246  int 21h (ah = 67h) $@$N@bL@$N$H$3$m$G$9!#(J

  $@!V$?$@$7!$$3$l$O%7%9%F%`Fb$GMxMQ2DG=$J%O%s%I%k?t$rJQ99$9$k$o$1$G$O$"(J
$@$j$^$;$s!#!W$N$3$H$G$7$g$&$+!#$3$l$OC1$K!VJL$NJ*$@$h!W$H$7$+$$$C$F$$$J(J
$@$$$H;W$$$^$9!#$=$l$H$b%P!<%8%g%s$,0c$&$N$G$7$g$&$+!#<j85$K$"$k$N$OL\<!(J
$@$N(J(2)$@%Z!<%8:82<$K(J AG221D $@$H0u:~$7$F$"$j$^$9!#(J


> >   $@$A$O$d$V$k(J $@$G$9!#$3$s$J$3$H$r$d$C$F$$$k>l9g$G$O$J$$$N$G$7$g$&$,(J...
> 
> $@!t$I$&$$$&0UL#$@$m$&(J....

  $@$?$@$$$^!$O@J8%b!<%I$J$s$G$9!#(J(^_^;)
--
$@$A$O$d$V$k(J