logo
down
shadow

Linux - Debugging a floppy disk emulation


Linux - Debugging a floppy disk emulation

By : UgurOzcanli
Date : November 22 2020, 10:38 AM
I think the issue was by ths following , I don't have enough idea of qemu because I haven't used it much. But from your requirement perspective, I think you should try bochs emulator. It's quite easy to use and comes with a built-in debugger.
Only thing is, you need to compile it from source (if on Linux) making sure the --enable-debug and --enable-disasm switches are enabled (alongwith any other options you might want to enable).
code :


Share : facebook icon twitter icon
How do I run a simple OS from a floppy disk?

How do I run a simple OS from a floppy disk?


By : K.John
Date : March 29 2020, 07:55 AM
should help you out It's working! I found out that the problem was just that I hadn't written the image to the diskette properly! for your help though. If anyone else has the same problem the best software that I found was called rawwrite. It's really easy to use and really quick. again, Jake Zachariah Nixon.
How do I test my bootloader on a floppy disk

How do I test my bootloader on a floppy disk


By : 栋杰刘
Date : March 29 2020, 07:55 AM
help you fix your problem If you just need to add a Floppy Disk into the disk controller, this is how to do it:
Click on the Floppy Controller. An icon of a floppy with a green plus sign should come up on the left of your selection. Click on this small icon.
USB hard disk emulation cause a disk read to fail (BIOS int 13)?

USB hard disk emulation cause a disk read to fail (BIOS int 13)?


By : Rikard Cederlund
Date : March 29 2020, 07:55 AM
I hope this helps you . TL;DR : In some situations the boot drive is not properly stored at label drive_n. This causes the disk read routine to fail on some hardware.
code :
drive_n: db 0
start: 
    mov [drive_n], dl

    ; setup segments
    xor ax, ax
    mov ds, ax
    mov es, ax

    ; setup stack
    cli
    mov ss, ax
    mov sp, 0x7C00   ; stack will grow downward to lower adresses
    sti
drive_n: db 0
start: 
    ; setup segments
    xor ax, ax
    mov ds, ax
    mov es, ax

    ; setup stack
    cli
    mov ss, ax
    mov sp, 0x7C00   ; stack will grow downward to lower adresses
    sti

    mov [drive_n], dl
bochs booting from floppy FLOPPY: read() on floppy image returns 0

bochs booting from floppy FLOPPY: read() on floppy image returns 0


By : Lexi
Date : March 29 2020, 07:55 AM
I wish this help you In the original project their run.sh file contained a crucial set of lines that creates the disk image boot.img so that it is the size of a 1.44MB floppy. You will need to add them to the top of your run.sh:
code :
if [ -e boot.img ];then
    echo "find boot.img !"
else
    echo "no boot.img! generating..."
    echo -e  "1\nfd\n\nboot.img\n" | bximage
fi
echo -e  "1\nfd\n\nboot.img\n" | bximage
dd if=/dev/zero of=boot.img bs=1024 count=1440
Problem while creating floppy disk

Problem while creating floppy disk


By : diav
Date : March 29 2020, 07:55 AM
wish of those help The simple answer is that the VFD is formatted when created. It can be reformatted with the format button on the Drive0 or Drive1 tabs. It can also be formatted the same as a real drive - right click, Format...
PartCopy writes directly to the drive and does not require the drive to be formatted.
shadow
Privacy Policy - Terms - Contact Us © ourworld-yourmove.org