TIP: Click on subject to list as thread! ANSI
echo: locuser
to: John + Matthew
from: Paul Edwards
date: 1997-05-18 14:34:22
subject: pdos + pdpclib

Hi, I've just released PDPC051.ZIP and PDOS010.ZIP.  I am sending them both
to John.  Can you make both of these available for FREQ please?

PDPC051 is a public domain c library

PDOS010 is a public domain operating system (incomplete)

PDOS is what I used to be calling POS.  I have been expanding it.  It is
all going really well.

Matthew, I'm after some technical advice.  I needed to make my stuff handle
the tiny memory model in order to create io.sys.  This meant that I had to
change some procedures, which were expecting a far return address.  I have
found that other people use % model and use the "proc" statement
to handle parameters.  Also they use the {at}datasize.

However, I don't know what is "standard".  What I think should be
standard is masm with Watcom's pitfalls, ie a common subset amongst the
"almost-masm-compatible" assemblers.  So how should I write my
stuff?

Also, I've done a lousy job on the myint86x stuff, I wasn't really sure how
to load ALL of the registers.

Boy oh boy, it took me 8 hours to debug that last problem I had with
io.sys. The reason?  io.sys loads at 00700 in memory, and the drive
parameters were loaded at boot time into 07C00, and I was loading 58 *
512-bytes, ie it all loaded fine (I was loading more than necessary), but
then the disk was unable to be read.

Oh, BTW, the situation is that I have an $80 computer in the bedroom, and
it only has MSDOS on it, and when I was sick for the last week with back
problems, all I could do was muck around with MSDOS.  So I decided to try
rewriting it whilst I was learning it!  I did the FAT access routines, and
figured that I could do most of my stuff just with that, with regards to
typing files and loading executables.  It's been VERY interesting!!!

BFN.  Paul.
@EOT:

---
* Origin: X (3:711/934.9)

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.