Hello dear readers, today we will teach and approach how to make an installment for FreeDOS under qemu.
Our following steps will be under macOS 10.15; Here you will find useful techniques to code on the new operating systems. We decided to teach C with and under FreeDOS. FreeDOS is an operating system very good to learn how to code and have the skills to get better.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Then:
brew doctor
Then:
brew install qemu
Now, we have installed the qemu on our system. Let’s see how we can install.
qemu-img create -f raw freedos.img 20G

qemu-system-i386 -rtc base=localtime -hda freedos.img -cdrom FD13LIVE.iso -boot d
You can always use my working-in-progress script as userland.
https://github.com/vic3t3chn0/opendos-layer
For last, you can see the installment over step over step with screenshots.



qemu-system-i386 -rtc base=localtime -m 128 -drive file=freedos.img,index=0,media=disk,format=raw -cdrom FD13BNS.iso -boot d


M:
copy packages\devel\watcomc.zip C:
C:
unzip watcomc.zip
In the end, you will have the compiler installed.
cd devel\watcomc
dir
owsetenv

In the next topic, we will approach how to code or start to code on Watcom c for dos.
Leave a Reply