Author Topic: 27C64 EPROM file data  (Read 431 times)

0 Members and 1 Guest are viewing this topic.

Offline Roscoe1017Topic starter

  • Newbie
  • Posts: 1
  • Country: us
27C64 EPROM file data
« on: February 01, 2024, 03:45:59 pm »
I received a file to program a 27C64 EPROM.(see attached)  The file has extraneous data at the beginning of the file and after further investigation it looks like a project file from a TOP type programmer.  The TOP programmer and software do not have good reviews and any attempt to download TOPwin software gives virus warnings.

Any ideas ?

Thanks, Ross
 

Online HwAoRrDk

  • Super Contributor
  • ***
  • Posts: 1478
  • Country: gb
Re: 27C64 EPROM file data
« Reply #1 on: February 01, 2024, 03:55:59 pm »
Just spitballing here, but I would guess that the actual ROM data is the lines starting with "144", in signed 8-bit decimal format, one line per byte. So, 144 = 0x90, -1 = 0xFF, etc.
 

Online colorburst

  • Contributor
  • Posts: 26
  • Country: us
Re: 27C64 EPROM file data
« Reply #2 on: February 02, 2024, 05:25:52 am »
I'd suggest installing the software inside a virtual machine and converting it to a standard format there. Disable its network access in case it does get infected.

Online Ian.M

  • Super Contributor
  • ***
  • Posts: 12862
Re: 27C64 EPROM file data
« Reply #3 on: February 02, 2024, 06:01:51 am »
Just spitballing here, but I would guess that the actual ROM data is the lines starting with "144", in signed 8-bit decimal format, one line per byte. So, 144 = 0x90, -1 = 0xFF, etc.
There's not enough data there for it to be that simple.
A  27C64 EPROM is an 8K x 8 device so 8192 bytes.
Notepad ++ reports 203 lines, and we can see a five line header so there cant be more than 198 lines of data.  Similarly it reports a length of 12288 characters and that it uses UNIX (single LF) line endings. I counted 59 header characters, so the 'payload' can only take 12229 characters.  The data appears to be right justified at four characters per line (what you'd expect for min. width to accommodate -128) so five with the LF, so there cant be more than  2446 data bytes (assuming the final LF is missing).  That's under 30% of the capacity of a 27C64.

The data is unlikely to be compressed due to the presence of a large run of -1, which we believe to be 0xFF, the erased state for an EPROM location.

Unless you know for a fact that the EPROM is blank from address 0x098E upwards, the odds are that this project file does *NOT* contain the EPROM data.
 

Offline Shonky

  • Frequent Contributor
  • **
  • Posts: 290
  • Country: au
Re: 27C64 EPROM file data
« Reply #4 on: February 02, 2024, 07:02:15 am »
Run tool in VM or post actual file here. Showing the first 40 lines is not really helpful. Is every line after the header a single 8 bit signed looking number (i.e. -128 to 127)? That's an unlikely way to store an image for programming an EPROM.

I wouldn't trust the 12288 bytes notepad++ reports necessarily but that's exactly 12kB (3 x 4kB blocks size on disk common in Windows). Seems odd from the text based nature of the snippet shown that it's exactly 12kB
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf