ST-IDE-ROM Dev Board v1 - BETA Testers

Related information and WIP etc
User avatar
exxos
Site Admin
Site Admin
Posts: 23488
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: ST-IDE-ROM Dev Board v1 - BETA Testers

Post by exxos »

Byteswapping issue ?
https://www.exxosforum.co.uk/atari/ All my hardware guides - mods - games - STOS
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
User avatar
derkom
Moderator
Moderator
Posts: 1208
Joined: Sun Jul 29, 2018 6:45 pm

Re: ST-IDE-ROM Dev Board v1 - BETA Testers

Post by derkom »

exxos wrote: Thu Apr 09, 2020 7:49 pm Byteswapping issue ?
Anything is possible. As I say, when it comes to programming ROMs, I don't know what I'm doing. But the TOS 1.04 and 2.06 images look sufficiently similar in the programmer software that I would guess they are both in the correct format:

104.jpg
104.jpg (66.86 KiB) Viewed 4843 times
206.jpg
206.jpg (66.2 KiB) Viewed 4843 times

At 10€ a chip, and a very small supply of blanks, it's not something I want to stab at randomly. ;) Unless there's a simple explanation of something I've probably done wrong, perhaps I should build up that 27C4096 emulator. :)
User avatar
exxos
Site Admin
Site Admin
Posts: 23488
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: ST-IDE-ROM Dev Board v1 - BETA Testers

Post by exxos »

You would need to look at the hex codes on the ROM that works... For example 104 in the second byte is 0401, or 0602 for tos206.. But you need to verify what your programmer comes back with on a working ROM..
https://www.exxosforum.co.uk/atari/ All my hardware guides - mods - games - STOS
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
User avatar
PhilC
Moderator
Moderator
Posts: 6012
Joined: Fri Mar 23, 2018 8:22 pm

Re: ST-IDE-ROM Dev Board v1 - BETA Testers

Post by PhilC »

As @exxos says, some roms need to be byte swapped for some programmers. For instance a rom that works fine in a TL866 needed to be byte swapped to work in my new programmer.

The way I usually work it out is by finding the text section in the rom file whilst browsing it with the programmers software. If its readable you are usually ok to burn it to a 27c4096 or similar, if not, you will need to byte swap it first tilliys readable.
If it ain't broke, test it to Destruction.
User avatar
derkom
Moderator
Moderator
Posts: 1208
Joined: Sun Jul 29, 2018 6:45 pm

Re: ST-IDE-ROM Dev Board v1 - BETA Testers

Post by derkom »

It just occurred to me that I could pull the dual TOS chip out of my STE (with exxos' switcher installed), and sure enough, 2.06 boots fine off that chip.

So the problem is indeed something with the way I'm programming, not with the board. I will poke around at this more, hopefully without going through more than one more chip. :mrgreen:
User avatar
PhilC
Moderator
Moderator
Posts: 6012
Joined: Fri Mar 23, 2018 8:22 pm

Re: ST-IDE-ROM Dev Board v1 - BETA Testers

Post by PhilC »

what programmer are you using?

I can send you a 1.04 / 2.06 file that I use?
If it ain't broke, test it to Destruction.
User avatar
derkom
Moderator
Moderator
Posts: 1208
Joined: Sun Jul 29, 2018 6:45 pm

Re: ST-IDE-ROM Dev Board v1 - BETA Testers

Post by derkom »

PhilC wrote: Thu Apr 09, 2020 8:26 pm what programmer are you using?
TL866II PLUS
User avatar
PhilC
Moderator
Moderator
Posts: 6012
Joined: Fri Mar 23, 2018 8:22 pm

Re: ST-IDE-ROM Dev Board v1 - BETA Testers

Post by PhilC »

derkom wrote: Thu Apr 09, 2020 8:27 pm
PhilC wrote: Thu Apr 09, 2020 8:26 pm what programmer are you using?
TL866II PLUS
ok, gimme 5, I will post a rom file that works for me.
If it ain't broke, test it to Destruction.
User avatar
derkom
Moderator
Moderator
Posts: 1208
Joined: Sun Jul 29, 2018 6:45 pm

Re: ST-IDE-ROM Dev Board v1 - BETA Testers

Post by derkom »

PhilC wrote: Thu Apr 09, 2020 8:12 pm The way I usually work it out is by finding the text section in the rom file whilst browsing it with the programmers software. If its readable you are usually ok to burn it to a 27c4096 or similar, if not, you will need to byte swap it first tilliys readable.
Yeah, this was the key to me realising it's byteswapped. I found some text and it's all out of order. Makes sense I guess, 68k being big endian and I'm writing the ROM on a little endian system.
PhilC wrote: Thu Apr 09, 2020 8:28 pm ok, gimme 5, I will post a rom file that works for me.
You don't actually need to. I can byteswap the image I've got, although I suspect you'll get it posted before I tell you don't need to. ;)
User avatar
PhilC
Moderator
Moderator
Posts: 6012
Joined: Fri Mar 23, 2018 8:22 pm

Re: ST-IDE-ROM Dev Board v1 - BETA Testers

Post by PhilC »

LOL, had just pressed the reply button to say I can't send it as my win doze laptop has finally died (fan failure).

Glad you got it sorted.
If it ain't broke, test it to Destruction.
Post Reply

Return to “H4 MONGREL EDITION DEVELOPMENT & INFO”