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

Add Monkey King 3B SoC skeleton and RS-70 system #6906

Merged
merged 6 commits into from Jul 3, 2020
Merged

Conversation

@daveshah1
Copy link
Contributor

@daveshah1 daveshah1 commented Jul 3, 2020

The Monkey King 3B is an emulation-oriented ARM-based SoC by Digital Media Cartridge, a company closely associated with AtGames. The Monkey King family is a successor to their Titan ARM-based SoCs.

The RS-70 is one of the systems using it, with 648 NES and Genesis games on NOR flash in a PS1-esque casing and HDMI output.

This is just the beginnings of the core, all it does so far is print the following debug messages before hanging, but at least that means the memory mapping is vaguely right:

Modes:0x00000000
PUT: Setting joystick to mode 0x0, timer to 250us

******************************************************
 MK FIRMWARE INFORMATION
 Mode:       0xB4
 Build Time: May  8 2019 14:09:21
 CPU Clock:  240MHz
 TFS Start:  0x8070000
 Video Buf:  0x6000000
 Stack Top:  0x3001EE8
 IWRAM Size: 32kB
 EVRAM Size: 16384kB
 Heap Size:  6144kB at 0x18200000
 Video Mode: 0
 Video Size: 1280x720x16bpp
******************************************************

I can't guarantee that I will be able to finish this given the uncertainties involved, but hopefully this starting point is useful, and I would appreciate feedback on the code style.

daveshah1 added 5 commits Jul 3, 2020
Signed-off-by: David Shah <dave@ds0.me>
Signed-off-by: David Shah <dave@ds0.me>
Signed-off-by: David Shah <dave@ds0.me>
Signed-off-by: David Shah <dave@ds0.me>
Signed-off-by: David Shah <dave@ds0.me>
@MooglyGuy
Copy link
Contributor

@MooglyGuy MooglyGuy commented Jul 3, 2020

For a skeleton driver, this looks perfectly alright to me.

@MooglyGuy
Copy link
Contributor

@MooglyGuy MooglyGuy commented Jul 3, 2020

Actually, there is one thing: I believe we prefer to try to keep parent ROM set names within 8 characters, still. Would you please rectify that? Something like rs70_748 would work fine.

Signed-off-by: David Shah <dave@ds0.me>
@daveshah1
Copy link
Contributor Author

@daveshah1 daveshah1 commented Jul 3, 2020

Thanks, fixed. The 748 was a confusion on my part anyway, it should have been 648 in 1.

@MooglyGuy
Copy link
Contributor

@MooglyGuy MooglyGuy commented Jul 3, 2020

When I do a Squash-and-Merge, what name or nickname would you like to be credited under?

@daveshah1
Copy link
Contributor Author

@daveshah1 daveshah1 commented Jul 3, 2020

David Shah would be great

@MooglyGuy MooglyGuy merged commit edd20ea into mamedev:master Jul 3, 2020
0 of 2 checks passed
0 of 2 checks passed
continuous-integration/appveyor/pr Waiting for AppVeyor build to complete
Details
continuous-integration/travis-ci/pr The Travis CI build is in progress
Details
@daveshah1 daveshah1 deleted the daveshah1:mk3b branch Jul 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.