Discussion:
Book source code, The Undocumented PC
(too old to reply)
Trifle Menot
2017-01-24 17:15:17 UTC
Permalink
As mentioned in another posting, SaveDskF is at Hobbes as Loadpf.zip
and works with OS/2 and DOS. So I will try mailing that image later today.
Got it. At first, I was puzzled about the size. Then I thought, maybe
savedskf compressed it, in some weird IBM way.

So I went to Hobbes, and searched for Loadpf.zip. No result. Then, I
searched for savedskf, found loaddf.zip, and downloaded that.

Then I ran loaddskf to write your .dsk file back out to 1.44 MB floppy.
That worked.

Then I tried savedskf /n /a but it created a non standard file size,
1.474.601.

So then I tried savedskf /d /a and that created a normal file size of
1,474,560.

I uploaded it (2nd edition) to 4shared, and updated the 1st edition file
name, to make them sort in order alphabetically.

Here are both links.

http://www.4shared.com/file/l2ovk9Kxba/Undocumented_PC-1e.html

http://www.4shared.com/file/bt-1MSroce/Undocumented_PC-2e.html


Thanks Steve!


<rant on>

Once upon a time, when large computers ruled the land, I liked IBM.

But when the PC era began, IBM's proprietary, anti-competitive, big iron
corporate mentality never translated well to the consumer market.

When they introduced the proprietary PS/2 line, it was all downhill from
there. OS/2 was the final nail in the coffin.

If men could only see the future, just a little glimpse of it, how wise
they might be ...

<rant off>
r***@gmail.com
2017-01-24 20:27:30 UTC
Permalink
Hi,
Post by Trifle Menot
As mentioned in another posting, SaveDskF is at Hobbes as Loadpf.zip
and works with OS/2 and DOS. So I will try mailing that image later today.
Then I ran loaddskf to write your .dsk file back out to 1.44 MB floppy.
That worked.
So then I tried savedskf /d /a and that created a normal file size of
1,474,560.
FreeDOS DISKCOPY should read/write .IMG from floppy disk:

* http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1.2/repos/pkg-html/diskcopy.html
* http://help.fdos.org/en/hhstndrd/base/diskcopy.htm

Or use Raread/Rawrite:

* http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/util/disk/raread/
* http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/util/disk/rawrite/

Or use FDIMAGE:

* http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/5.1-RELEASE/tools/

Or Plop's DISKIMG:

* https://www.plop.at/en/dostools.html

Or (for writing only) use this small (2 kb!) sfx:

https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/tools/sfx14436.zip
Post by Trifle Menot
<rant on>
Once upon a time, when large computers ruled the land, I liked IBM.
But when the PC era began, IBM's proprietary, anti-competitive, big iron
corporate mentality never translated well to the consumer market.
When they introduced the proprietary PS/2 line, it was all downhill from
there. OS/2 was the final nail in the coffin.
If men could only see the future, just a little glimpse of it, how wise
they might be ...
<rant off>
MS and IBM "divorced" circa 1991, so that didn't help. Win95-era programs
were not directly supported. From what I'm told, OS/2 just didn't have
enough drivers (not to mention networking, which AFAIK wasn't cheap).

Eventually IBM sold/spun off the desktop stuff to Lenovo. But they had
already, years before, recommended everyone switch to Java and Linux.

(Who knows. I'm probably misunderstanding, but it's certainly one big
mess. At least the IBM PC clones still live on, barely.)
Rod Pemberton
2017-01-25 04:04:05 UTC
Permalink
On Tue, 24 Jan 2017 12:27:30 -0800 (PST)
Post by r***@gmail.com
Post by Trifle Menot
As mentioned in another posting, SaveDskF is at Hobbes as
Loadpf.zip and works with OS/2 and DOS. So I will try mailing
that image later today.
Then I ran loaddskf to write your .dsk file back out to 1.44 MB
floppy. That worked.
So then I tried savedskf /d /a and that created a normal file size
of 1,474,560.
*
http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1.2/repos/pkg-html/diskcopy.html
* http://help.fdos.org/en/hhstndrd/base/diskcopy.htm
*
http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/util/disk/raread/
*
http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/util/disk/rawrite/
*
http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/5.1-RELEASE/tools/
* https://www.plop.at/en/dostools.html
https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/tools/sfx14436.zip
After I discovered John Fine's partcopy for DOS or Windows 98/SE, I
stopped using rawread/rawrite.

http://files.osdev.org/mirrors/geezer/johnfine/pcopy02.zip


Rod Pemberton
Trifle Menot
2017-01-25 14:18:25 UTC
Permalink
On Tue, 24 Jan 2017 23:04:05 -0500, Rod Pemberton
Post by Rod Pemberton
After I discovered John Fine's partcopy for DOS or Windows 98/SE, I
stopped using rawread/rawrite.
http://files.osdev.org/mirrors/geezer/johnfine/pcopy02.zip
Looks dangerous for the simple task of making a floppy image. Here's
another utility I found (have not tried though).

http://www.brutman.com/PCjr/downloads/DskImage.zip
Mathieu Kacou
2022-01-30 04:17:35 UTC
Permalink
Hello please can somebody help me !
I'am looking for the source codes of the examples in the book " the undocumented pc by Frank Van Gilluwe"
I will be very happy.

I'm kacoumathieu on gmail

Steve
2017-01-25 12:57:09 UTC
Permalink
Post by Trifle Menot
As mentioned in another posting, SaveDskF is at Hobbes as Loadpf.zip
and works with OS/2 and DOS. So I will try mailing that image later today.
Got it. At first, I was puzzled about the size. Then I thought, maybe
savedskf compressed it, in some weird IBM way.
Yup, compressed.
Post by Trifle Menot
So I went to Hobbes, and searched for Loadpf.zip. No result. Then, I
searched for savedskf, found loaddf.zip, and downloaded that.
Bad eysight, clumbsy fingers...
Post by Trifle Menot
Then I ran loaddskf to write your .dsk file back out to 1.44 MB floppy.
That worked.
Then I tried savedskf /n /a but it created a non standard file size,
1.474.601.
So then I tried savedskf /d /a and that created a normal file size of
1,474,560.
I uploaded it (2nd edition) to 4shared, and updated the 1st edition file
name, to make them sort in order alphabetically.
Here are both links.
http://www.4shared.com/file/l2ovk9Kxba/Undocumented_PC-1e.html
http://www.4shared.com/file/bt-1MSroce/Undocumented_PC-2e.html
Thanks Steve!
You are welcome.

Regards,

Steve N.
Loading...