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

nec/pce.cpp, nec/pce_cd.cpp: Various updates #11999

Merged
merged 5 commits into from Feb 13, 2024
Merged

Conversation

cam900
Copy link
Contributor

@cam900 cam900 commented Feb 2, 2024

  • Use device_mixer_interface rather than using hard-coded speaker tag
  • Reduce defines
  • Remove outdated comments
  • Use lowercase hexadecimal values
  • Remove nec/pce_m.cpp, Move pce_m.cpp codes into nec/pce.cpp

- Use device_mixer_interface rather than using hard-coded speaker tag
- Reduce defines
- Remove nec/pce_m.cpp, Move pce_m.cpp codes into nec/pce.cpp
src/mame/nec/pce.cpp Outdated Show resolved Hide resolved
@cuavas
Copy link
Member

cuavas commented Feb 2, 2024

What’s the motivation for moving it into src/devices/machine? Is it used for anything besides the PC-Engine?

@angelosa
Copy link
Member

angelosa commented Feb 2, 2024

File is currently a mixup of PC8801-30 drive, the specific (and opaque) PC Engine SCSI controller and the rest of the expansion unit bus & i/f.

#11078

afaik PC8801-31 SCSI isn't much different beyond relying on SEL line alone (and doing the rest internally), a preliminary core i/f (without the controller part, maybe at ID 7):

https://github.com/mamedev/mame/blob/91037294f03b4abb5a38eb161f1ee7a1438d68eb/src/devices/bus/pc8801/pc8801_31.cpp

Bottom line: not convinced about the move either, it's essentially a NEC i/f that can stay in src/mame/nec.

@cam900 cam900 changed the title pce_cd.cpp: move PCE CD emulation file into device/machine, Updates nec/pce.cpp, nec/pce_cd.cpp: Various updates Feb 3, 2024
@cuavas cuavas merged commit 707ab9d into mamedev:master Feb 13, 2024
5 checks passed
Mokona pushed a commit to Mokona/mame that referenced this pull request Feb 28, 2024
* nec/pce_cd.cpp: Use device_mixer_interface rather than using hard-coded speaker tags.
* Merged nec/pce_m.cpp into nec/pce.cpp.
* Reduced preprocessor macros, removed outdated comments, changed heaxadecimal digits to lowercase.
stonedDiscord pushed a commit to stonedDiscord/mame that referenced this pull request Apr 8, 2024
* nec/pce_cd.cpp: Use device_mixer_interface rather than using hard-coded speaker tags.
* Merged nec/pce_m.cpp into nec/pce.cpp.
* Reduced preprocessor macros, removed outdated comments, changed heaxadecimal digits to lowercase.
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

3 participants