|
From: Rugxulo <ru...@gm...> - 2018-03-11 04:58:39
|
Hi, On Fri, Mar 9, 2018 at 8:24 PM, Patrick <pa...@sp...> wrote: > > I just need to figure out the best way to network between dos and linux to transfer the executable. FTP? If you have a working packet driver (e.g. QEMU or VBox, minimally), you can use mTCP. Or try (Mateusz's) http://etherdfs.sourceforge.net/ > FreeDos starts so fast I might try transferring to a qemu image via an iso > image. Preparing an image will take a bit of time but less time than the > boot up. Try GNU Mtools. > Guys, I am a little worried about "a world of hurt" with dos programming :) To be honest, it's things like DPMI which are complex as all hell. Sure, it's a godsend, but it's very confusing. This is why it's good to use only abstracted (portable) calls like those in DJGPP's libc. See their dpmi.h for more, and read the spec (and RBIL) on DJ's site, et al. Again, to state the obvious, real mode isn't protected, but it's loads easier to program. Plus, you can indeed use 32-bit instructions in real mode, so that helps a lot. You can always manually use EMS (8086+) or XMS (286+), if available. |