buppu3 / tnCart

FPGA cartridge for MSX
BSD 3-Clause "New" or "Revised" License
23 stars 5 forks source link

WonderTANG 1.02d board compatibility #10

Closed herraa1 closed 1 week ago

herraa1 commented 2 weeks ago

First, thanks for your awesome project and for making it public so we all can learn from you.

I noticed that your tnCart board is using (mostly) the same tn20k signal mapping as the WonderTANG 1.02d. The only difference is that the WonderTANG MSEL0_33 signal is mapped to tnCart MSEL1_33 and WonderTANG MSEL1_33 is mapped to tnCart MSEL0_33. Other than that the two board designs are "equivalent".

I made a small modification to the tnCart RTL to accomodate the difference with the WonderTANG and tested that the FPGA code works nicely too on the WonderTANG 1.02d. Making it work with the WonderTANG 2.0b required a few more changes because the signal mapping is slightly different and the audio signal is sent to the internal tn20k dac using I2S, but I also did a quick (really dirty) test and it works too.

This was discussed at msx.org .

I was wondering if you are interested in making your tnCart FPGA RTL compatible with the WonderTANG 1.02d and what would be your preference in achieving that:

Regarding audio, I think that the WonderTANG 1.02d audio (using the fpga 1-bit DAC) is cleaner (less plagued with noise and interference) than the WonderTANG 2.0b audio (using the tn20k DAC, which amplifies even more the noises). This happens both with the WonderTANG fpga code and your (modified) tnCart fpga code. So I'm not sure if it is worth investing time in the WonderTANG 2.0, unless there is a way to make the audio cleaner.

What do you think about the tnCart FPGA compatibility with the existing WonderTANG boards?

Thanks!

buppu3 commented 2 weeks ago

Thank you for your interest in tnCart.

I have concerns with the current tnCart circuit and I will be modifying the circuit in the near future. After this modification, tnCart and WonderTANG will no longer be pin compatible.

So, in order to maintain compatibility between the different boards, I think it would be best to create a project with a modified .sdc for each board and synthesize a bitstream for each.

herraa1 commented 1 week ago

Thanks for your comments.

Would you prefer the WonderTANG compatibility changes handled by others in an external fork of you repository (so that you can focus just on tnCart)? Or would you accept pull requests for WonderTANG boards in your repo?

Thanks again.

buppu3 commented 1 week ago

I can't confirm WonderTANG V2.0 compatible works, so I can't respond quickly to pull requests. Considering this, I think it is better to handle the forked code in your repository.

Please take it in consideration.

herraa1 commented 1 week ago

Sure, that makes sense. I'll handle those modifications in a separate fork.

Thanks a lot again.

herraa1 commented 1 week ago

Just for you reference, the mentioned fork is available at https://github.com/herraa1/tnCartWonder.

I'm closing the issue.

Thank you.

DFL1973 commented 1 week ago

Just for you reference, the mentioned fork is available at https://github.com/herraa1/tnCartWonder.

I'm closing the issue.

Thank you.

How about a bitstream for wondertang v1.01c? Should be almost the same as 1.02d, except for the INT line (inverted?)

herraa1 commented 4 days ago

Just for you reference, the mentioned fork is available at https://github.com/herraa1/tnCartWonder. I'm closing the issue. Thank you.

How about a bitstream for wondertang v1.01c? Should be almost the same as 1.02d, except for the INT line (inverted?)

I pushed the required changes and a bitstream (without V9990) for V1.01c.

taupter commented 3 days ago

It would be nice to have one that works with the WonderTang that Victor Trucco sold.

Em sáb., 14 de set. de 2024 16:01, herraa1 @.***> escreveu:

Just for you reference, the mentioned fork is available at https://github.com/herraa1/tnCartWonder. I'm closing the issue. Thank you.

How about a bitstream for wondertang v1.01c? Should be almost the same as 1.02d, except for the INT line (inverted?)

I pushed the required changes and a bitstream (without V9990) for V1.01c.

— Reply to this email directly, view it on GitHub https://github.com/buppu3/tnCart/issues/10#issuecomment-2351108062, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA2ZTUBZGYVY3EVNZHIBIE3ZWSBXDAVCNFSM6AAAAABNU6SJW6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJRGEYDQMBWGI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

herraa1 commented 3 days ago

It would be nice to have one that works with the WonderTang that Victor Trucco sold.

You may need to ask Victor Trucco which version from Luis Antoniosi is equivalent to the one(s) he sold and then try to use the bitstream for that version.