"edimg0j"̐

  DiskExplorerCUIł̃oOtBNX{A݂Ȃ̂ڎwĂc[
łBƂ肠OSASK̃fBXNC[W炢͍悤ɂȂ܂B

[R}hC]

  prompt>edimg R}h i@XNvgt@C ݂ĂĂ悢j

  example>edimg imgin:osaimgat.bin bias:9 copy from:@:!guide!.txt to:./
  example>edimg @srcipt0.txt
  example>edimg imgin:osaimgat.bin @script1.txt
  example>edimg binin:osask.exe exe2bin seg:2048 binout:osask.sys

  XNvgt@C̓R}h񂪕񂾂̂̂łBR}hC̎w
ꂽꏊɓWJ܂Bedimgł̓Xy[Xsp[^̋؂ƂČ
̂ŁAXy[X܂ރt@C͈܂B

[R}h̐]

  R}ĥ͎悤ȃtH[}bgɂȂ܂B

    R}h  p[^:p[^  p[^:p[^  ...

  R}h́AoptR}hɌȗ\łB

EoptR}h

  optR}h̓p[^܂Bꍇ́AoptR}h
̂ƌȂ܂B̃R}h̓p[^ɂė^铮삪
قȂ܂BȂAp[^^Ȃ΁AoptR}h͉܂B

  imginp[^F
    F [opt] imgin:t@C
      w肳ꂽt@CfBXNC[WƂēǂݍ݂܂Bp[eBV
    ĂfBXNC[W̏ꍇAŏ̃p[eBVփANZX邱
    ƂɂȂ܂B

  imgoutp[^F
    F [opt] imgout:t@C
      fBXNC[Ww肳ꂽt@CƂďo͂܂B

  vsizp[^F
    F [opt] vsiz:C[WTCY
      fBXNC[Ww肳ꂽ傫ɕύX܂BSF16ɑ΂Ďg܂B

  bininp[^F
    F [opt] binin:t@C
      w肳ꂽt@CoCiC[WƂēǂݍ݂܂Bɑ΂ẮA
    wbinimgR}hwritedataR}hexe2binR}hg܂B

  binoutp[^F
    F [opt] binout:t@C
      oCiC[Ww肳ꂽt@CƂďo͂܂B

  _pathp[^F
    F [opt] _path:x[XpX
      pXwŁA擪"_:"Ƃ\L΁Aw肳ꂽx[XpXɒu
    ߂܂Bx[XpX@:͎wł܂B

  biasp[^F
    F [opt] bias:
      fBXNC[W̃t@C̃^CX^v␳̂߂̃p[^łB
    {ł9w肵܂B

EcopyR}h

  F copy [nocmp:] from:t@C to:t@C

  copyR}h2̃p[^Afromtoփt@CRs[܂Bfrom
tȍtɏƂ͂ł܂Btõt@CɌAt@C̍Ō
":"A"/"őł؂邱Ƃ܂B̏ꍇAfrom̃t@C܂Bt
@Cł͂ȂfBNgƂ͕KŌ/YȂłB

  t@CɂăhCu"@"gƁA̓fBXNC[WӖ܂B
fBXNC[W̃t@CfBXNC[WփRs[邱Ƃł܂A
ʂ̃t@CRs[\łB

  IvVnocmp:gƁAfromŎw肳ꂽt@CkĂꍇAW
Jʂto֏݂܂BkĂȂꍇ͂̂܂܏݂܂B

  ChJ[h͎g܂B

EovrcopyR}h

  F ovrcopy [nocmp:] from:t@C to:t@C

  I[o[CgRs[R}hłBtõt@Cɑ݂Ă΁ANX^
̈ʒuςȂ悤ɒӐ[Rs[܂Bt@C݂ĂȂ΁A
Rs[R}hƑSς܂B̂ق̂ƂRs[R}hƓłB

EcreateR}h

  F create file:t@C size:TCY [begin:JnNX^ԍ]

  g0x00Ŗ܂t@C܂B

EovrcreateR}h

  F ovrcreate file:t@C size:TCY [begin:JnNX^ԍ]

  {IcreateR}hƓłAt@Cɑ݂ĂāAɎw
TCY傫΁At@CTCYύX邱ƂȂATCY
0x00Ŗߐsɂ܂B

EsetattrR}h

  F setattr file:t@C(@:`łȂ΂Ȃ) attr:Agr[gl

  fBXNC[W̃t@ĆAt@ClύX܂B

EdeleteR}h

  F delete file:t@C

  t@C폜܂B

EwbinimgR}h

  F wbinimg src:oCit@C len:]oCg
             from:ǂݍ݊JnItZbg to:݊JnItZbg

  ͂܂Au[gZN^ނ߂̃R}hłBfrom̓oCit@C
̃ItZbgŁAto̓p[eBV̐擪̃ItZbgłB

EreleaseR}h

  F release [mini:] [zerofill:] [efat:] [nofrag:] [minibpb:]

  ͎imgoutOɎsR}hłBftHg1440KBp̃fBXN
C[W1440KBƂďoĂ܂(ƂǂݍݎɌ낪؂ĂĂ)A
mini:w肷Ɩ̋󂫃ZN^o͂ȂȂ܂B܂zerofill:ƁA
deleteɎcĂt@C̎c[[NA܂B

  edimg0d͂3̃p[^ǉ܂BSF16̂Ƃ̂ݗL
ŁAefat:FATgFAT`ŏo͂邱ƁAnofrag:͑SẴt@CfЉ
ĂȂƂmFƌς݃tO𗧂Ă邱ƁAminibpb:mini:
@Ő؂l߂Ƃɂɍ悤BPBXV邱ƁAꂼӖ
܂B

EwritedataR}h

  F writedata offset:݊JnItZbg [byte:f[^,...,f[^]
    [word:f[^,f[^,...,f[^] [dwrd:f[^,f[^,...,f[^]

  ݊JnItZbgAw肳ꂽf[^w肳ꂽf[^ŏ݂
BwbinimgR}h́Aރf[^XNvgŎw肷́AƂ
B

ElistR}h

  F list

  fBXNC[W̃fBNgꗗo͂܂B

EcopyallR}h

  F copyall from:@: to:fBNg

  fBXNC[W̃t@CSăRs[܂BɃA[JCu̓WJɎg܂
BfBNg/ŏIKv̂ŁAƂ΃JgpXɓWJƂ
́Ato:./ƏƂɂȂ܂B

Eexe2binR}h

  F exe2bin seg:C[W[hZOg

  16bit-EXEt@CoCiC[Wɂ܂BimgtolsR}h̑płB

E/*R}h

  F /*

  }[NJnR}hłBR}hȂ̂ŁA"/**"ȂǂƂƔFłG[
ɂȂ܂B}[N̓q\łB

E*/R}h

  F */

  }[NIR}hłBR}hȂ̂ŁA"**/"ȂǂƂƔFłG[
ɂȂ܂B

[ - 1]

  OSASK.SYS̑傫ƈʒu͌܂Ă̂ŁÂ悤ɂ̂ʂł(AT݊@
ł̏ꍇ)Bŏ2sςƁATOWNS98p̃C[Wł܂B

opt imgin:fdimg0at.tek /* 1440KBuNfBXNC[W */
wbinimg src:osaskbs1.bin len:512 from:0 to:0
create file:@:osask.sys size:108k begin:5
ovrcopy from:osask.sys to:@:
setattr file:@:osask.sys attr:0x06 /* system+hidden */
copy from:osask0.psf to:@: /* ͈ԍŏ */
/* ȉs */
copy from:!guide!.txt to:@:
copy from:!guide2!.txt to:@:
    /*  */
copy from:videomod.txt to:@:
/* ܂ŃAv̓] */
release mini:
opt imgout:testimg.bin

[ - 2]

  OSASK.SYS̓ftHgł͋NFDǂ݂ɍs܂AATACFɂ邱
Ƃł܂B

"sys_cf0.txt"

opt binin:osask.sys
writedata offset:2 word:0x8200

Ƃt@CĂāA

prompt>edimg @sys_cf0.txt binout:osaskcf0.sys

Ƃ΁ACFpɏ܂B

[ - 3]

  ƂOSASK.EXEɑ΂ĂĂ݂܂B

"exe_cf0.txt"

opt binin:osask.exe
writedata offset:0x202 word:0x8200

Ƃt@CĂāA

prompt>edimg @exe_cf0.txt binout:osaskcf0.exe

Ƃ΁ACFpɏ܂B

[ - 4]

  ƂOSAIMGAT.BINɑ΂ĂĂ݂܂B

"img_cf0.txt"

opt imgin:osaimgat.bin
writedata offset:0x4802 word:0x8200

Ƃt@CĂāA

prompt>edimg @img_cf0.txt binout:osaskcf0.bin

Ƃ΁ACFpɏ܂B

[ - 5]

  sf16_40s.tekgāAfBXNC[WA[JCuɂĂ݂܂B

opt imgin:sf16_40s.tek /* SF16_40 simplest image */
opt vsiz:8m
copy from:document.txt to:@:
copy from:edimg.exe    to:@:
copy from:fdimg0at.tek to:@:
copy from:fdimg0tw.tek to:@:
copy from:sf16_40s.tek to:@:
copy from:edimg.c      to:@:
copy from:Makefile     to:@:
copy from:make.bat     to:@:
copy from:!cons_9x.bat to:@:
copy from:!cons_nt.bat to:@:
release minibpb: nofrag: efat:
opt imgout:imgarc.bin

[ - 6]

  sf16_40s.tekgāAOSASKp̃A[JCułB

opt imgin:sf16_40s.tek /* SF16_40 simplest image */
opt vsiz:8m
copy from:teditarc.txt to:@:ARCINFO0.TXT
copy nocmp: from:teditc02.bin to:@:
copy nocmp: from:teditc02.buf to:@:
copy nocmp: from:teditc02.ini to:@:
copy nocmp: from:te_alph0.bin to:@:
copy nocmp: from:te_roma0.bin to:@:
release minibpb: nofrag: efat:
opt imgout:teditc02.org

[ - 7]

  OSASKp̃A[JCuJgfBNgɓWJĂ݂܂iLteditc02.org
bim2binteditc02.tkɂƂāBOSASKŎgƂ͂炭binɂĂƎv
܂Abin̂܂ܓWJƓteditc02.binƖOՓ˂ď㏑Ă
܂jB

prompt>edimg imgin:teditc02.tk copyall from:@: to:./

[ - 8]

  ȂgƂẮAtek𓀃c[Ƃbim2bin̑邱
Ƃꉞł܂Brjc|Ă̂rjctԂœWJ܂B
OSASK ver.4.6ȍ~Ȃrjc|ĂĂȂsł̂Ŋ{Iɖ͂
܂B

prompt>edimg copy nocmp: from:helloc4.bin to:helloc4.org

[]

2006.11.05	edimg0iedimg0j	hrb-wikiq_and_âɂ̖
