PCOMM fixes
authorRobert Pengelly <robertapengelly@hotmail.com>
Mon, 19 Aug 2024 14:02:59 +0000 (15:02 +0100)
committerRobert Pengelly <robertapengelly@hotmail.com>
Mon, 19 Aug 2024 14:02:59 +0000 (15:02 +0100)
build/chimaera.img
build/chimaera.vhd
src/apps/pcomm/dir.asm
src/apps/pcomm/pcomm.asm

index 94c651d0cb818af012e7502bf5b1f79b3e578283..0639fe09e9d60d9f2d8784a98848b692e8b8a2dd 100644 (file)
Binary files a/build/chimaera.img and b/build/chimaera.img differ
index c76db7f04b58112e2ef8deb553bc9546106b470b..6762e5e82c76b763fd4f00d8c7dde4da1a856946 100644 (file)
Binary files a/build/chimaera.vhd and b/build/chimaera.vhd differ
index cbf62ac329d8ac7ca163eb5ad92f923576773b33..387de8fc35b9a4b694f919fa82aaebbb97cd7a1b 100644 (file)
@@ -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
index 22a54efd188dbc87b775e2eb2003059723e8e854..214fc72ec93784f6d9f16c6b4357a4eb37c58274 100644 (file)
@@ -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