From: Robert Pengelly Date: Mon, 19 Aug 2024 14:02:59 +0000 (+0100) Subject: PCOMM fixes X-Git-Url: https://git.candlhat.org/?a=commitdiff_plain;h=78c752ecdfa1387758e753e0074e13257b512528;p=chimaera.git PCOMM fixes --- diff --git a/build/chimaera.img b/build/chimaera.img index 94c651d..0639fe0 100644 Binary files a/build/chimaera.img and b/build/chimaera.img differ diff --git a/build/chimaera.vhd b/build/chimaera.vhd index c76db7f..6762e5e 100644 Binary files a/build/chimaera.vhd and b/build/chimaera.vhd differ diff --git a/src/apps/pcomm/dir.asm b/src/apps/pcomm/dir.asm index cbf62ac..387de8f 100644 --- a/src/apps/pcomm/dir.asm +++ b/src/apps/pcomm/dir.asm @@ -226,8 +226,8 @@ _walk_dir: mov word ptr [bp - 2], 0 - cmp word ptr [bp - 4], 1 - jb _walk_dir.find_first +; cmp word ptr [bp - 4], 1 +; jb _walk_dir.find_first mov ah, HEX (19) int HEX (21) @@ -460,8 +460,10 @@ _walk_dir.null: _walk_dir.find_first: + mov cx, 0b00001010 ; ATTR_VOLUME_ID | ATTR_HIDDEN + not cx + mov ah, HEX (4E) - xor cx, cx mov dx, offset _file_path int HEX (21) jnc _walk_dir.check5 diff --git a/src/apps/pcomm/pcomm.asm b/src/apps/pcomm/pcomm.asm index 22a54ef..214fc72 100644 --- a/src/apps/pcomm/pcomm.asm +++ b/src/apps/pcomm/pcomm.asm @@ -206,8 +206,10 @@ _main: .L38: + mov cx, 0b00001010 ; ATTR_VOLUME_ID | ATTR_HIDDEN + not cx + mov ah, HEX (4E) - xor cx, cx mov dx, bx int HEX (21) jc .L39