Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: How to implement a 16-bit byte flip/swap through hardware  (Read 1632 times)

0 Members and 1 Guest are viewing this topic.

Nipedley

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 483
  • Last login:October 04, 2024, 12:03:26 am
How to implement a 16-bit byte flip/swap through hardware
« on: August 14, 2009, 05:24:37 am »
Hey guys, again not sure where to put this but I guess it seems most appropriate here. I came here before asking how to implement this in software as part of a project, and successfully made a custom cartridge that would play converted megadrive roms on a mega-tech machine. Now I want to take it further, and build a converter cartridge. (Play megadrive games directly on a mega-tech machine)

The only issue I have with it, is that the megatech pcb expects a rom that has been 16-bit byte flipped/swapped and the megadrive rom hasnt been. I did some electronics a few years ago and suspect my answer may be in logic gates or a chained series of D-Type flip-flops, but need someone a little more savvy.

Basically, how do I 16-bit byte flip/swap address lines through hardware rather than software means.

Any answer gets a cookie :)

EwJ

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 366
  • Last login:October 12, 2022, 10:16:06 pm
Re: How to implement a 16-bit byte flip/swap through hardware
« Reply #1 on: August 14, 2009, 07:25:18 am »
42

Where's my cookie?

Nipedley

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 483
  • Last login:October 04, 2024, 12:03:26 am
Re: How to implement a 16-bit byte flip/swap through hardware
« Reply #2 on: August 14, 2009, 07:44:13 am »
Here you go :) I quite fancy one now actually.

If a mod thinks this may be better suited / get more replies elsewhere please feel free to move it. I sure hope I can find an easy way to do this!

Nipedley

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 483
  • Last login:October 04, 2024, 12:03:26 am
Re: How to implement a 16-bit byte flip/swap through hardware
« Reply #3 on: August 15, 2009, 03:48:57 pm »
Just so you guys know, this isn't a problem anymore as I've had a few breakthroughs on this project today.

Full megatech & megadrive cart pinouts are now available on my site to anyone hoping to produce a converter, all you have to do is match the wires :)

It's up to you how to house the electronics for this project, I'm using a sonic & knuckles as a donor for the cart slot on top and to house the rest of it. Once I've built this the appropriate plans & information will be put up on my website alongside the basic info you need to produce this, which is already there.

http://www.nipedley.net/web/projects/megatech
« Last Edit: August 15, 2009, 03:52:08 pm by Nipedley »