In PGXBinFile.read_blocks, there is an explicit check on the cpu and it appears only 65816 and 65c02 are supported.
# Check the CPU tag
pgx_cpu = self.data[constants.PGX_OFF_VERSION] & 0x0f
if pgx_cpu == constants.PGX_CPU_65816:
if self.cpu != "65816":
print("PGX is built for the wrong CPU.")
sys.exit(1)
elif pgx_cpu == constants.PGX_CPU_65C02:
if self.cpu != "65C02" and self.cpu != "65c02":
print("PGX is built for the wrong CPU.")
sys.exit(1)
else:
print("Unsupported PGX CPU.")
sys.exit(1)
Is it possible to add support for PGX which is a simple file format that is useful for quick iterations as you can embed the header in the source?
In
PGXBinFile.read_blocks, there is an explicit check on the cpu and it appears only 65816 and 65c02 are supported.Is it possible to add support for PGX which is a simple file format that is useful for quick iterations as you can embed the header in the source?