On Thu, May 30, 2024 at 4:25 PM Jim Hall via Freedos-devel <
freedos-devel@lists.sourceforge.net> wrote:

> On Wed, May 29, 2024 at 9:53 PM Wolf Bergenheim via Freedos-devel
> <freedos-devel@lists.sourceforge.net> wrote:
> >
> > What do your dev environments look like? How do you make an efficient
> > edit-build-test cycle? Has anyone tried using watcom as a crosscompiler?
>
> I run Linux on my desktop, and I boot FreeDOS inside that using QEMU.
> Here's my command line:
>
> qemu-system-i386 -enable-kvm -m 32 -audiodev pa,id=snd -machine
> pcspk-audiodev=snd -device sb16,audiodev=snd -device
> adlib,audiodev=snd -hda freedos.qcow2 -hdb mystuff.qcow2 -cdrom
> T2405LIVE.iso -boot menu=on
>
> Ooh nice, I was wondering how I can hook up the PC speaker to test my BP
command! :D
Thanks! (and I can confirm it works, and also that BP works!)


I use '-boot menu=on' because I sometimes need to boot the LiveCD for
> testing, and the boot menu makes that easy. I can also use the same
> command line (it's a script) to install the next FreeDOS monthly test
> release and just use the menu to select the LiveCD to install from.


Sweet! Yeah I also have my QEMU launch script :)


My "C:" drive is freedos.qcow2 and my "D:" drive is mystuff.qcow2.
>

Yeah I have a bunch of OS disk images, for additional DOSes, etc and at
different versions to make sure that DOG works for all these versions. :)


> Keeping these separate makes it really easy to reinstall FreeDOS with
> the monthly test releases. I keep all my stuff on "D:" and just
> wipe/reinstall the "C:" drive. I don't keep any of my data on "C:".
>

My D drive is where I've installed my compiler and other stuff like WP 5
(because nostalgia) and jed (it's like a lightweight emacs) for code
editing.


> I used to map a virtual drive to a folder on Linux - but like you
> found, I sometimes had problems with that (not all the time, just
> sometimes) so I stopped doing that. When I need to get access to my
> virtual drive, I use guestmount from the libguestfs package to "mount"
> the virtual disk from Linux:
>
> $ mkdir mystuff
> $ guestmount -a mystuff.qcow2 -m /dev/sda1 mystuff
> ...
> $ guestunmount mystuff
>
>
Ah so you do less frequent copying from the DOS image to your linux system
for things like git commit?
I'm also going to try EtherDFS and see if that can solve it so that I can
edit code on linux and then build and test in a QEMU box which is
constantly running. :)


> I write my code directly in FreeDOS. I often use OpenWatcom, but I
> also like IA-16 GCC. I use FED as my programming editor.
>

Wow, that's actually really cool. Are you able to get more than a 50-line
screen?
Does QEMU support any of the more exotic resolutions? Or are you happy with
the standard 25 lines?

Is IA-16 GCC able to produce 8086 code?

Thanks!
-Wolf

-- 

  |\_
  | .\---.
 /   ,__/
/   /Wolf <wolf+...@bergenheim.net>_



> _______________________________________________
> Freedos-devel mailing list
> Freedos-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freedos-devel
>
_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to