Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.msdos.programmer > #692

Re: infrastructure for PDOS development

From "Rod Pemberton" <do_not_have@notemailnot.cmm>
Newsgroups alt.os.development, comp.os.msdos.programmer
Subject Re: infrastructure for PDOS development
Date 2012-07-28 05:05 -0400
Organization Aioe.org NNTP Server
Message-ID <jv09s8$dco$1@speranza.aioe.org> (permalink)
References <5696ba0b-741b-4a8d-b8cc-bde61c313098@googlegroups.com>

Cross-posted to 2 groups.

Show all headers | View raw


"kerravon" <kerravon@w3.to> wrote in message
news:5696ba0b-741b-4a8d-b8cc-bde61c313098@googlegroups.com...
> PDOS for the x86:
>
> http://pdos.sourceforge.net
>
> has been dormant for some time now. However, I have
> discovered someone who is willing to work on it.
>

I added comp.os.msdos.programmer.

> So e.g. the work that I want him to do is to change
> fat.c so that is supports WriteFile instead of the
> current ReadFile only. That's a significant amount
> of work.
>

Why is that a significant amount of work?  Won't your code read
and write at the same locations?  Code symmetry?

> He wants to know how to get started. I was going to
> suggest the following:
>
> 1. Get Virtual Box (which I've never used).
>

Or, VMWare...

That seems to be mentioned the most, although there is not much traffic here
(a.o.d. and c.o.m.p.) anymore.  Maybe try OSDev or it's forums for OS
development.  The "DOS ain't dead" forum seems to be active for DOS
programming.

You mentioned Bochs.  I've not used it, but have heard that it's very slow.
Although, it may have some good features.  E.g., Benjamin Lunt contributed
USB support and floppy fixes, etc.

I've used QEMU.  Mostly, that was just for booting a few disk images.  It
works.

OSDev
http://wiki.osdev.org/Main_Page

DOS ain't dead forum
http://www.bttr-software.de/forum/forum.php

> 2. Figure out how to get 2 MSDOS 5.0 FAT-16 partitions.
>

I know how to do that when *not* in an emulator...

IIRC, Linux has some nice functionality there, e.g., 'mount' with 'vfat' and
scripts for creating various fat filesystems or images.  Although, I'm not
sure which emulators will work on Linux...

He might try FreeDOS instead of trying to locate an ancient copy of MS-DOS:
http://www.freedos.org/

DR-DOS/OpenDOS website is around too and is being updated.

FreeDOS-32 (stalled, incomplete)
http://freedos-32.sourceforge.net/

> 3. Install MSDOS 5.0 on one of the partitions.
>

IMO, MS-DOS 6.22 was the first DOS by MS without some serious bugs.

> 4. Install EMX 0.9d for DOS.
>

Why does he need EMX?

It seems EMX is primarily a DPMI host ... (?)

Well, DJGPP compiler (GCC + DOS library) compiles for CWSDPMI DPMI host and
OpenWatcom C compiler compiles for DOS4G/W DPMI host and DOS extender.  Both
support a number of other DPMI hosts.  OW also supports pure 16-bit DOS
.exe's.  If you don't need POSIX or GCC, OW is a good choice.  Currently,
DOS32/A and HXDOS are popular DPMI hosts and/or DOS extenders.


IIRC, your C code is ANSI C.

What C compiler were you going to suggest?  BorlandC?  Try OW...


Rod Pemberton

Back to comp.os.msdos.programmer | Previous | Next | Find similar | Unroll thread


Thread

Re: infrastructure for PDOS development "Rod Pemberton" <do_not_have@notemailnot.cmm> - 2012-07-28 05:05 -0400

csiph-web