Skip to content

sony/news_68k_iop.cpp: Implement NWS-831 driver#13350

Merged
cuavas merged 77 commits intomamedev:masterfrom
briceonk:nws831-final
Feb 21, 2025
Merged

sony/news_68k_iop.cpp: Implement NWS-831 driver#13350
cuavas merged 77 commits intomamedev:masterfrom
briceonk:nws831-final

Conversation

@briceonk
Copy link
Copy Markdown
Contributor

@briceonk briceonk commented Feb 10, 2025

Let me know if any of this should be split out into a separate PR and I will do so.

Highlights:

  • Working dual-processor system that can boot both NEWS-OS 2 and NEWS-OS 4
  • Basic peripherals work (serial, SCSI, networking kinda)
  • Lots of custom stuff that has been partially reverse-engineered like the front panel and the custom MMU

Lowlights:

  • Networking stability is bad
  • The amount of custom stuff means that this driver has a lot more educated guesses in it than the NEWS r3k, r4k, and single-processor 68k drivers do.
  • NEWS-OS 4 installer uses unemulated tape drive commands, so the OS install process doesn't work right now. Instead, I used a script I wrote a while back to generate an image from the bitsavers dump of NEWS-OS 4.1C: https://github.com/briceonk/news-os/tree/master/src/news-inst
  • The SCSI DMA setup is really hacky (just like the Macintosh stuff) because iopboot uses the features of the 68k that allow it to use narrower buses to do longword transactions

Front panel traced schematic:
image

@happppp
Copy link
Copy Markdown
Member

happppp commented Feb 10, 2025

As you can see, MAME doesn't have other brands of chips unless there are differences to emulate.
For example, see there's no HD68000 or TMP68000
Or for exact types, no MC68000P8 or MC68000P12

If you want to document exact brands/types of chips used, you could add hardware notes or a PCB diagram to the driver.

@briceonk
Copy link
Copy Markdown
Contributor Author

As you can see, MAME doesn't have other brands of chips unless there are differences to emulate. For example, see there's no HD68000 or TMP68000 Or for exact types, no MC68000P8 or MC68000P12

If you want to document exact brands/types of chips used, you could add hardware notes or a PCB diagram to the driver.

Ha, guess I didn't see that :) Will remove those.

@briceonk
Copy link
Copy Markdown
Contributor Author

As you can see, MAME doesn't have other brands of chips unless there are differences to emulate. For example, see there's no HD68000 or TMP68000 Or for exact types, no MC68000P8 or MC68000P12

If you want to document exact brands/types of chips used, you could add hardware notes or a PCB diagram to the driver.

Should be fixed now.

Comment thread src/mame/mame.lst Outdated
Comment thread src/mame/sony/news_020_mmu.h Outdated
Comment thread src/mame/sony/news_020_mmu.h
Comment thread src/mame/sony/news_020_mmu.cpp Outdated
Comment thread src/mame/sony/news_020_mmu.cpp
Comment thread src/mame/sony/news_68k_iop.cpp Outdated
Comment thread src/mame/sony/news_68k_iop.cpp Outdated
Comment thread src/mame/sony/news_68k_iop.cpp Outdated
Comment thread src/mame/sony/news_68k_iop.cpp Outdated
Comment thread src/mame/sony/news_68k_iop.cpp Outdated
@briceonk
Copy link
Copy Markdown
Contributor Author

I figured out the cause of the monitor ROM hang after I synchronized with master and fixed it, so I will work on your code review feedback next. Thanks for the review! :)

@briceonk
Copy link
Copy Markdown
Contributor Author

I will address the remaining comments this week. Didn't have a chance to get to all of them this weekend.

@briceonk
Copy link
Copy Markdown
Contributor Author

@cuavas @pmackinlay I think I resolved all of the feedback, so this should be ready for re-review.

@cuavas cuavas merged commit 0c5114f into mamedev:master Feb 21, 2025
@briceonk briceonk deleted the nws831-final branch February 22, 2025 04:18
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.

3 participants