comparison level1/cmds/shell_21.asm @ 77:04ebf17303cd

Edition 21: Removed WRITE. requirement for CHD
author boisy
date Sun, 12 May 2002 18:29:39 +0000 (2002-05-12)
parents 0912ac5dc2ff
children e9ce43cc215e
comparison
equal deleted inserted replaced
76:6f72b77131c0 77:04ebf17303cd
4 * $Id$ 4 * $Id$
5 * 5 *
6 * Ed. Comments Who YY/MM/DD 6 * Ed. Comments Who YY/MM/DD
7 * ------------------------------------------------------------------ 7 * ------------------------------------------------------------------
8 * 20 Original Tandy distribution version BGP 02/04/05 8 * 20 Original Tandy distribution version BGP 02/04/05
9 * 21 CHD no longer requires WRITE permission BGP 02/04/05
9 10
10 nam Shell 11 nam Shell
11 ttl OS-9 Command Interpreter 12 ttl OS-9 Command Interpreter
12 13
13 * Disassembled 02/04/03 22:01:32 by Disasm v1.6 (C) 1988 by RML 14 * Disassembled 02/04/03 22:01:32 by Disasm v1.6 (C) 1988 by RML
358 L0260 pshs a 359 L0260 pshs a
359 bra L02AB 360 bra L02AB
360 361
361 Chx lda #DIR.+EXEC. 362 Chx lda #DIR.+EXEC.
362 bra L026A 363 bra L026A
363 Chd lda #DIR.+UPDAT. 364 *Chd lda #DIR.+UPDAT.
365 * Removed WRITE. requirement above (some devices are read only)
366 Chd lda #DIR.+READ.
364 L026A os9 I$ChgDir 367 L026A os9 I$ChgDir
365 rts 368 rts
366 Prompt clra 369 Prompt clra
367 bra L0273 370 bra L0273
368 NoPrompt lda #$01 371 NoPrompt lda #$01