Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support MEGA65 R5 #82

Closed
sy2002 opened this issue Jul 3, 2023 · 4 comments
Closed

Support MEGA65 R5 #82

sy2002 opened this issue Jul 3, 2023 · 4 comments
Assignees

Comments

@sy2002
Copy link
Collaborator

sy2002 commented Jul 3, 2023

This enhancement is tightly coupled with this enhancement of the MEGA65 framework: sy2002#19

Currently, there are a lot of open questions and for the time being (given the limited amount of time that we currently can invest into the C64 core) it might be valid to look at the MEGA65 R4 support of the C64 core as independent from the enhancements of the M2M framework: The open question is:

Quick and dirty C64 or "do it right" in the M2M framework?

This is the first question that needs to be answered. And both possible answers are absolutely valid and have pros and cons.

From a release perspective, right now it looks like the best thing would be to just use the V5 core - no additional enhancements - and no real "new release": Just offer on the FileHost a new ZIP that also supports R4: The whole thing would be "Version 5.1" of the core on the FileHost that supports R3/R3A and R4: We would not change the field-proven R3/R3A binaries (*.bit and *.cor) but "just" add R4 binaries to the distribution.

@sy2002 sy2002 added the enhancement New feature or request label Jul 3, 2023
@sy2002 sy2002 changed the title Support MEGA65 R4 Support MEGA65 R5 Aug 21, 2023
@MJoergen MJoergen self-assigned this Oct 20, 2023
@MJoergen
Copy link
Owner

MJoergen commented Oct 20, 2023

The plan is to develop and test on this repo, and then later (or concurrently) merge in the changes to the M2M framework.

The following list is taken from sy2002#19 and expanded:

For R4 the following applies:

  • HDMI driver IC
  • Removal of MAX10: Reset-detection
  • Analog audio DAC
  • 64 MB SDRAM
  • Bi-directional joystick ports: (How to) support? Paul describes a mouse problem on the MEGA65 with new port; mouse support for C64 => GEOS, etc. needs double-check
  • New RTC chip (M2M does not support RTC, yet, but would be nice, e.g. for GEOS but also for tagging *.d64 with the right date/time when the core writes to a disk image: We need to support 3 different RTCs as it looks like: Original M65 R3 RTC, "workaround R3 RTC" and new R4 RTC)
  • IEC has a new and different circuit incl. one signal that is now negated

For R5 the following additionally applies:

  • Cartridge port: Abstract away changes due to new and different circuits (some ports now bi-directional, etc.)

@sy2002 sy2002 added 5.1 (R4/R5 Surge) and removed enhancement New feature or request labels Oct 20, 2023
@sy2002
Copy link
Collaborator Author

sy2002 commented Oct 20, 2023

For our convenience: Here are the two links to the filtered lists of M2M issues and C64 issues that are currently IN SCOPE for V5.1 of the C64:

C64 issue tracker
https://github.com/MJoergen/C64MEGA65/issues?q=is%3Aopen+is%3Aissue+label%3A%225.1+(R4%2FR5+Surge)%22+

M2M framework issue tracker
https://github.com/sy2002/MiSTer2MEGA65/issues?q=is%3Aopen+is%3Aissue+label%3A%22R4%2FR5+Surge%22

@MJoergen
Copy link
Owner

Re. HDMI: The physical HDMI connector has a pin called "+5V" where the source (i.e. the MEGA65) must supply power. On the R3 board this is done programmatically from the FPGA via the HDMI driver chip U10 = TPD12S016PWR. But on the R4 board the pin on the HDMI connector is hard-wired to the +5V power supply on the board. So the FPGA is not involved at all.

@sy2002
Copy link
Collaborator Author

sy2002 commented Nov 2, 2023

Closing this issue because our Alpha 3 version includes everything but SDRAM and RTC: Both will be after V5.1. We have separate GitHub issue for these two features.

@sy2002 sy2002 closed this as completed Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants