From: visualware@interramp.com (John M. Miano)
Subject: Re: Need Help with reading PDP-11 (DEC) binary files w/ Visual
Date: 1995/11/04 [thread overview]
Message-ID: <47g4od$7e7@usenet1.interramp.com> (raw)
In-Reply-To: 47e1qe$jm7@gazette.bcm.tmc.edu
In article <47e1qe$jm7@gazette.bcm.tmc.edu>, slutes@bcm.tmc.edu (Steve Lutes) says:
>
>I'm trying to read a PDP-11 binary file using Visual Basic in Excel 5.0
>on a Power PC 8500. I can read strings and integers fine, but long
>integers and floating point numbers go haywire. Can someone tell me
>what to do?
For Integers it's not too hard
On the PC long integers bytes are stored
3 2 1 0
If I remember correctly PDPs often stored as:
1 0 3 2
Note that this is not a big/little endian shift. A
68000 would store the bytes
0 1 2 3
For floating point you have some hard work ahead of you. The
PDP does not use a standard floating point format. You are
going to need to get a copy of the PDP architecture manual
(The bit layout is really screwy.) and move the bits around
yourself.
John
------------------------------------------------------------
OVERTHROW THE AMERICAN LEGAL SYSTEM -- DON'T SERVE ON JURIES
Use any excuse to get out. Tell them you advocate
violent overthrow of the government...whatever it takes.
If we can stop them from getting jurors then we can do
to the lawyers what they've been doing to us.
The American Legal System:
Of the lawyers, by the lawyers, for the lawyers
------------------------------------------------
next prev parent reply other threads:[~1995-11-04 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 [this message]
1995-11-06 5:00 ` Ron Natalie
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