I was wondering if a decompiler was available for it a UCSD Version II
system? I'm trying to re-create source code to an 1980s-vintage
programming language, and the only implementation we've been able to
find was compiled for UCSD pascal on the IBM PC.
I've been using a UCSD P-system box (a Sage IV) recently after a break of 20
years or so. I was surprised how quickly it all came back.
> I was wondering if a decompiler was available for it a UCSD Version II
> system? I'm trying to re-create source code to an 1980s-vintage
> programming language, and the only implementation we've been able to
> find was compiled for UCSD pascal on the IBM PC.
>
I doubt it. The best you might be able to produce is a P-code assembler
listing from the object files. What was the 1980's-vintage programming
language?
--
Chris Burrows
CFB Software
http://www.cfbsoftware.com
> if a decompiler was available ...
if there was one for any language why should there be a compiler at all?
... to encrypt source code? that is not compilation.
the idea of compilation is to make it run faster on the target machine.
if same speed was possible without loss of information about program-
and data structure and stuff why do it then?
so if that is reason 4 compilation and could be easily reversed - it
would be more like a compression algorithm than compilation. The goal is
to skip translation from higher to lower level with the compiled result.
there is always information lost - maybe only the funny comments of the
orig programmer ;)
reverse disassembling of pure assembler/hexcode and maybe higher lever
pcode is possible - but u won't get the source.
taking those result u can begin to rewrite small parts in the original
language - if one wants to.
i hope i got u correct.
greeetz
jo
--
http://radio789.net.ms - Radio 789 - We play it ALL
Radiostream: http://stream789.net.ms
they might add that much info for the debugger to the binaries that it
should be easier to rebuild the sources.
but the results of those compilations are bloated and slow by nature.
every jit compiler or interpreter would do better these days.
greets
jo
How big a program are you talking about? I had some success
generating the source for the version II compiler by using a P-code
generator and by referring to Version I.
Willi