From: DeaDDooMER Date: Fri, 17 Aug 2018 14:38:44 +0000 (+0300) Subject: Added simple ATA PIO read only driver X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=8fa5c7d9ff42cafdaef6bbb7a71cfc1f8968f877;p=bmbb.git Added simple ATA PIO read only driver --- diff --git a/Boot486/2run.sh b/Boot486/2run.sh index f36443c..8a26c50 100755 --- a/Boot486/2run.sh +++ b/Boot486/2run.sh @@ -1,11 +1,18 @@ #!/bin/sh #bochs -q 'boot:a' 'floppya: 1_44=../BlackBox.img, status=inserted' -#bochs -q 'boot:c' 'ata0-master: type=disk, path="boot.bin", mode=flat' #bochs -q 'boot:c' 'ata0-master: type=disk, path="boot.bin", mode=flat' 'display_library: x, options="gui_debug"' 2> bochs.log + +#bochs -q \ +# 'boot:a' \ +# 'floppya: 1_44=boot.bin, status=inserted' \ +# 'display_library: x, options="gui_debug"' \ +# 'com1: enabled=1, mode=file, dev=serial.txt' \ +# 2> bochs.log + bochs -q \ - 'boot:a' \ - 'floppya: 1_44=boot.bin, status=inserted' \ - 'display_library: x, options="gui_debug"' \ + 'boot:c' \ + 'ata0-master: type=disk, path="../BlackBox.img", mode=flat' \ 'com1: enabled=1, mode=file, dev=serial.txt' \ -2> bochs.log + 'display_library: x, options="gui_debug"' \ + 2> bochs.log diff --git a/Boot486/dis.sh b/Boot486/dis.sh index fa9dee1..1217ca8 100755 --- a/Boot486/dis.sh +++ b/Boot486/dis.sh @@ -1,4 +1,4 @@ #!/bin/sh set -e -objdump -b binary -m i8086 -D boot.bin | less +objdump -b binary -m i8086 -D ../BlackBox.img | less diff --git a/Boot486/dis32.sh b/Boot486/dis32.sh new file mode 100755 index 0000000..9de8200 --- /dev/null +++ b/Boot486/dis32.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +set -e +objdump -b binary -m i386 -D ../BlackBox.img | less diff --git a/Boot486/kdis.sh b/Boot486/kdis.sh index 1b491a6..f660c7d 100755 --- a/Boot486/kdis.sh +++ b/Boot486/kdis.sh @@ -1,4 +1,4 @@ #!/bin/sh set -e -objdump -b binary -m i386 -D ../../Kernel.bin | less +objdump -b binary -m i386 -D ../BlackBox.bin | less diff --git a/Boot486/run.sh b/Boot486/run.sh index 6a315f7..a9c515f 100755 --- a/Boot486/run.sh +++ b/Boot486/run.sh @@ -1,4 +1,4 @@ #!/bin/sh set -e -qemu-system-i386 -s -m 1G -fda ../BlackBox.img +qemu-system-i386 -s -m 1G -hda ../BlackBox.img diff --git a/Docu486/Build-Tool.odc b/Docu486/Build-Tool.odc index 6be0c2f..3d3dab9 100644 Binary files a/Docu486/Build-Tool.odc and b/Docu486/Build-Tool.odc differ diff --git a/Host/Mod486/Disk.odc b/Host/Mod486/Disk.odc new file mode 100644 index 0000000..d6ea604 Binary files /dev/null and b/Host/Mod486/Disk.odc differ diff --git a/Host/Mod486/Shell.odc b/Host/Mod486/Shell.odc index f8defd5..961c52d 100644 Binary files a/Host/Mod486/Shell.odc and b/Host/Mod486/Shell.odc differ