I am trying to follow this osdev book from github https://littleosbook.github.io/. I am currently using windows on my computer. When I tried to follow the book's linking process, it converts it to an elf file. But windows threw an error that elf is not supported runtimes.
Thus I shifted to WSL( Windows Subsystem on Linux ), and it all went smooth until I ran the bochs simulator. It is throwing an error of Cannot connect to X display if I use X, or sdl library could not be found when I use sdl.
Here is the bochs configuration file:
megs: 32
display_library: sdl
romimage: file=/usr/share/bochs/BIOS-bochs-latest
vgaromimage: file=/usr/share/bochs/VGABIOS-lgpl-latest
ata0-master: type=cdrom, path=os.iso, status=inserted
boot: cdrom
log: bochslog.txt
clock: sync=realtime, time0=local
cpu: count=1, ips=1000000
How should I run this?