From: ron@topaz.sensor.com (Ron Natalie)
Subject: Re: Need Help with reading PDP-11 (DEC) binary files w/ Visual
Date: 1995/11/06 [thread overview]
Message-ID: <47lcaj$rbq@topaz.sensor.com> (raw)
In-Reply-To: 47g4od$7e7@usenet1.interramp.com
John M. Miano (visualware@interramp.com) wrote:
: If I remember correctly PDPs often stored as:
: 1 0 3 2
Yes, this is a side effect in that the PDP-11's didn't really have
a 32 bit integral type. It was LS word first, and LS byte within
that word.
Oddly enough, the UNIX kernel back in the V6 days didn't even have the
compiler generating the long int calculations. Everywhere there was a 32
bit (or in the case of file lengths, but not offsets, 24 bit) quantity, it
was stored as two ints and the code to do the math did each half
individually.
That and casts were not well defined back then. Anybody remember the
PS->integ paradigm?
_Ron
next prev parent reply other threads:[~1995-11-06 5:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-11-03 5:00 Need Help with reading PDP-11 (DEC) binary files w/ Visual Steve Lutes
1995-11-04 5:00 ` Rob W. Smetana
1995-11-04 5:00 ` John M. Miano
1995-11-06 5:00 ` Ron Natalie [this message]
1995-11-07 5:00 ` Rod Lilak
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox