Mercurial > hg > Members > kono > nitros9-code
diff level1/cmds/build.asm @ 0:6641a883d6b0
Initial revision
author | boisy |
---|---|
date | Thu, 04 Apr 2002 16:34:12 +0000 |
parents | |
children | fad2545d83fc |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/level1/cmds/build.asm Thu Apr 04 16:34:12 2002 +0000 @@ -0,0 +1,64 @@ +******************************************************************** +* Build - Simple text file creation utility +* +* $Id$ +* +* Ed. Comments Who YY/MM/DD +* ------------------------------------------------------------------ +* 5 Original Tandy distribution version + + nam Build + ttl Simple text file creation utility + +* Disassembled 98/09/10 23:19:12 by Disasm v1.6 (C) 1988 by RML + + ifp1 + use defsfile + endc + +tylg set Prgrm+Objct +atrv set ReEnt+rev +rev set $01 +edition set 5 + + mod eom,name,tylg,atrv,start,size + +FPath rmb 1 +LineBuff rmb 578 +size equ . + +name fcs /Build/ + fcb edition + +start ldd #(WRITE.*256)+PREAD.+UPDAT. + os9 I$Create + bcs Exit + sta <FPath +InpLoop lda #1 + leax <Prompt,pcr + ldy #PromptL + os9 I$WritLn + clra + leax LineBuff,u + ldy #128 + os9 I$ReadLn + bcs Close + cmpy #$0001 + beq Close + lda <FPath + os9 I$WritLn + bcc InpLoop + bra Exit +Close lda <FPath + os9 I$Close + bcs Exit + clrb +Exit os9 F$Exit + +Prompt fcc "? " +PromptL equ *-Prompt + + emod +eom equ * + end +