Fix Mount2 allowing skipping HDD SATA port entry.

Rename network stack `Run.CC` to `Start.CC`, fix running applications in subdirectories using F5 in `Ed` window.
This commit is contained in:
TomAwezome 2021-12-03 23:07:34 -05:00
parent fc751e2f64
commit 9ebbb0847b
4 changed files with 5 additions and 8 deletions

2
.gitignore vendored
View file

@ -2,5 +2,3 @@
*.MAP
Boot/
ZealOS-*.iso
sync_repo.sh
sync_vm.sh

View file

@ -27,4 +27,3 @@ sudo qemu-nbd -d /dev/nbd0
sudo rm -rf /tmp/zealtmp
sudo sync
echo "finished."
git status

View file

@ -221,11 +221,11 @@ U8 Mount2(U8 boot_drive_let, CDoc *_doc, Bool _caller_is_prtdisk)
"Enter port number: \n";
StrNGet(port_str, STR_LEN);
}
while (( type == BDT_ATAPI && AHCIPortSignatureGet(Str2I64(port_str)) != AHCI_PxSIG_ATAPI ||
while ((type == BDT_ATAPI && AHCIPortSignatureGet(Str2I64(port_str)) != AHCI_PxSIG_ATAPI ||
type == BDT_ATA && AHCIPortSignatureGet(Str2I64(port_str)) != AHCI_PxSIG_ATA ||
type == BDT_ATA && !*port_str ||
0 > Str2I64(port_str) || Str2I64(port_str) > num_hints - 1
) &&
(type != BDT_ATAPI || !boot_drive_let));
) && (type != BDT_ATAPI || !boot_drive_let));
port = Str2I64(port_str);
break;