![]() WinLin does a little better, but it doesn’t support Windows NT, 2000, or XP. ![]() Wine, on the other hand, though free, supports a very limited number of applications, and the same can be said about CrossOver Office. VMware is a (costly) commercial application that lets you run a guest operating system on a Windows or a Linux installation. An open source project called Bochs may be your best option. And yes, you want to keep the costs to a minimum. It was a great learning session.What if you need to run your legacy Windows application on a Linux box, a Mac, or a Solaris-based workstation? To make the equation even more interesting throw in a few requirements - add transferring old legacy accounting data over the network, or using the backed-up data from a CD-ROM. ![]() So I guess the apt-get install is broken for Ubuntu 22.04 (at least) I could not make sdl compile (-with-sdl did not work, even after installing sdl2-dev) but rest is good. I DID IT!! I downloaded and compiled bochs from source on my platform. But as comments say, I think it is not a normal case. I am suspecting the vgabios is also not working And hence I do not see anything? Well I am a bit lost to be frank. So, I have checked from the menu and it is detecting the floppy in fd0. (using seabios) but it still does not display anything. With this option I am able to get rid of the not-responding part. Vgaromimage: file ="/usr/share/bochs/VGABIOS-lgpl-latest"įloppya: 1_44=floppy.img, status=inserted This is my bochs config file - romimage: file="/usr/share/seabios/bios.bin" Trying to use seabios.bin with the default bochs vgabios brings me to this state Is there something I am missing here? Is there a bug in my code? If I do step there it does step through some instructions. Printing something like this - Next at t=0 It seems that for some reason bochs halts at the first line of the code. floppy.img (This step makes the floppy un-bootable in qemu but really does not change anything for bochs)īochs -f /dev/null -q 'display_library: x' 'boot:floppy' 'floppya: 1_44=floppy.img, status=inserted' 'romimage: file=/usr/share/bochs/BIOS-bochs-latest' 'error: action=report'īut nothing happens. I can't understand why it fails to load the simple bootloader.ĭd if=/dev/zero of=floppy.img bs=1024 count=1440ĭd if=boot.bin of=floppy.img seek=0 count=1 conv=notrunc I uninstalled, purged, and then reinstalled bochs. Always the same black screen and afterwards Not responding When done in this way (as well not padding it) in both cases qemu loads the image and shows the h each time without fault. Tried to follow these steps as per here and here which I believe should create a simple 1.44 MB image, place the bin in the first sector and leave it to it. Not sure how to interpret this (if this is normal or some kind of error / mistake is hiding in them) Could not find suitable information anywhere.Ĭhecking the log I see the following 00000000000i fd0: 'boot.img' ro=0, h=2,t=80,spt=18Ġ0000000000i Using boot sequence floppy, none, noneĠ0000000000i Floppy boot signature check is enabled I am super new to OS development and I want to learn it as a side project. Always the same black screen and does not show any other information.īochs version: Bochs x86 Emulator 2.7 (installed via sudo apt install) I tried many other approaches (slight variations of the above) (even tried to compile and load a separate bootloader from here) But nothing worked. My present approach to load the image is -īochs -f /dev/null -q 'display_library: sdl2' 'boot:a' 'floppya: 1_44=boot.img, status=inserted' Nothing comes on the screen and after a bit I get that bochs is not responding. But whatever I do, I get a black screen like the following I have tried everything to compile and load this bootloader using bochs. The code is taken from the video series tutorial from here. I have a simple (probably the simplest) bootloader.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |