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

anes.cpp - allow to boot, preliminary video and inputs [Luca Elia, David Haywood] #11324

Merged
merged 27 commits into from Jun 14, 2023
Merged

anes.cpp - allow to boot, preliminary video and inputs [Luca Elia, David Haywood] #11324

merged 27 commits into from Jun 14, 2023

Conversation

ghost
Copy link

@ghost ghost commented Jun 8, 2023

  • added preliminary support for the blitter
  • added a workaround for delayed banking
  • added preliminary inputs
  • added palette handling

src/mame/misc/anes.cpp Outdated Show resolved Hide resolved
@galibert
Copy link
Member

galibert commented Jun 8, 2023 via email

@ghost
Copy link
Author

ghost commented Jun 8, 2023

No, AS_OPCODES is m1 only. And the switch is probably on m1, otherwise you'd have different pages for the jump opcode and the address to jump to.

So you're rejecting this approach even if it could allow me to continue to figure out the video? or you're disagreeing with some of the suggestions above?

I really need to know if there's any point in me continuing with this.

@galibert
Copy link
Member

galibert commented Jun 8, 2023 via email

src/mame/misc/anes.cpp Outdated Show resolved Hide resolved
@ghost ghost changed the title revisiting anes.cpp anes.cpp - allow to boot, preliminary video and inputs [Luca Elia, David Haywood] Jun 8, 2023
@ghost
Copy link
Author

ghost commented Jun 8, 2023

I think there's enough here for this to be worth including as a progress checkpoint. It boots, and allows you to coin up / play, so should be a better base for anybody wanting to find a better way to handle the delayed bank

@ghost
Copy link
Author

ghost commented Jun 8, 2023

If anybody is more familiar with Mahjong etc. and wants to verify inputs, that would also be appreciated. I'm sure I had it requiring a 2nd set of controls at some point, which aren't mapped. I can't find any way to get into a test mode.

@happppp
Copy link
Member

happppp commented Jun 8, 2023

"a better way to handle the delayed bank", you don't accept the one I posted above?
Honestly, I don't know a way to do it much better than that. The issue with the debugger is not the driver's fault.

src/mame/misc/anes.cpp Outdated Show resolved Hide resolved
src/mame/misc/anes.cpp Outdated Show resolved Hide resolved
@ghost ghost marked this pull request as ready for review June 8, 2023 19:43
@ghost
Copy link
Author

ghost commented Jun 8, 2023

"a better way to handle the delayed bank", you don't accept the one I posted above? Honestly, I don't know a way to do it much better than that. The issue with the debugger is not the driver's fault.

I'm not 100% convinced it's better, but I'll go with that then.

src/mame/misc/anes.cpp Outdated Show resolved Hide resolved
@galibert
Copy link
Member

galibert commented Jun 8, 2023 via email

@angelosa
Copy link
Member

angelosa commented Jun 8, 2023

change to 'matrix style' input (doesn't seem to coin up reliably now though)

That's because only bits 0-5 are connected to the key matrix, coins maps outside of it (and this can't possibly have 5 coin slots).

@ghost
Copy link
Author

ghost commented Jun 8, 2023

That's because only bits 0-5 are connected to the key matrix, coins maps outside of it (and this can't possibly have 5 coin slots).

payout and coin are on the same bit though, so must be multiplexed somehow, or it isn't a key matrix in the first place, but a mux.

src/mame/misc/anes.cpp Outdated Show resolved Hide resolved
@ghost
Copy link
Author

ghost commented Jun 8, 2023

remaining video issues are mainly with how transparencies are handled, as sometimes data is being cleared when it shouldn't be / solid fills aren't being handled properly.

@cuavas cuavas merged commit b5c4ea7 into mamedev:master Jun 14, 2023
2 of 5 checks passed
pauldevine pushed a commit to pauldevine/mame that referenced this pull request Jun 21, 2023
…mamedev#11324) [Luca Elia, David Haywood]

* Implemented ROM banking.
* Added preliminary blitter and palette support.
* Added preliminary inputs.
sonninnos pushed a commit to libretro/mame that referenced this pull request Jul 20, 2023
…mamedev#11324) [Luca Elia, David Haywood]

* Implemented ROM banking.
* Added preliminary blitter and palette support.
* Added preliminary inputs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants