I have a DOS-hosted UCSD P-System running under DOSBox. The "boot" drive for it has to be IV, but the .VOL files that I have - from several sources - don't necessarily contain .CODE files for version IV. I'm fairly sure that at least one set of .VOL files I have are for version III, and others are just completely unknown. Is there some reasonably easy way that I can determine what version a given .CODE file is for?

1 Answer 1


The segment dictionary of the code file has an entry that describes the version. See e.g. the Pascal Internal Architecture Guide, p. 28.

I once wrote an UCSD Pascal program that disassembled code files, so writing a similar program to look at that particular field for each segment shouldn't be too difficult.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .