This site gives a nice list of Yamaha ICs. Unfortunately the YM2220 is not listed
List of Yamaha ICs
A little more complete pinout description of 315-5066/YM2217 pinouts (SG-1000 II) :
http://www.smspower.org/forums/13455-Sega3155066PinoutsCustomChipInSG1000II
This is the post that I used to make the pinout diagram. An attention point is that, like the pinout that I did for YM2220, it was created following the circuit trails in the PCB. So, the unconnected or unsilked pins can't be identified.
I found several info about 315-5124/YM2602B:
http://www43.tok2.com/home/cmpslv/Mark3/EnrM3.htm
At the bottom of the page, there is a test program of register #3 pf VDP. I convert it to MSX. Can you try on your Victor HC-30 and Casio PV-7 with a joystick (By using buttons A & B)? This program does not seem to work on a MSX's VDP.
Ok, can you send the converted program to me?
Thanks!
Here is my test program. Execute in DOS in screen 0.
org 100H Main: ld hl,helloWorld ld a,0 out (99h),a ld a,64 out (99h),a ld c,98h ld b,12 ld a,b Loop: dec a out (99h),a outi jr nz,Loop ret helloWorld: db "!dlroW olleH"
In openMSX TMS9918 (Yamaha CX5M), this prints “Hello World!” at location (0, 0).
In openMSX V9938 (Philips NMS 8245), this prints “!dlroW olleH” at location (0, 0).
In openMSX V9958 (Panasonic FS-A1GT), this prints “!dlroW olleH” at location (0, 0).
On a real TMS9929A (Sony HB-75P), this prints “Hello World!” at location (0, 0).
On a real V9938 (Yamaha CX5MII), this prints “!dlroW olleH” at location (0, 0).
On a real V9958 (Panasonic FS-A1GT), this prints “!dlroW olleH” at location (0, 0).
What does this do on the YM2220? The Sega VDP behaves like the TMS9918. This should give some further insight whether the YM2220 logic is similar to the TMS9918 / Sega VDP or the V9938 / V9958.
if not, then maybe the 2220 is a 9118 die in a different pinout?
It can't be exactly the same die, since it outputs RGB instead of YPbPr.
That alone should influence how its palette looks, because it has to have a different palette table inside.
It's palette can be dumped using an oscilloscope and deducing the DAC values from the steps, just like I did with Mansur Carlos for the Toshiba T7937A.
What does this do on the YM2220? The Sega VDP behaves like the TMS9918. This should give some further insight whether the YM2220 logic is similar to the TMS9918 / Sega VDP or the V9938 / V9958.
Prints "Hello World!". Tested in a Yamaha AX-150. I've verified the VDP is a YM2220. Side question, any idea what that YM2301 chip is?
The YM2301 chip can also be found in the Victor HC-30, see this Korean site:
https://m.blog.naver.com/zeta6262/80164454540
It's probably also present in the Yamaha SX-100, because it's actually the same computer (and the Victor HC-30 was manufactured by Yamaha).
Isn't it a ROM?
Could be, but the chip directly above it looks a lot more like a ROM. Maybe both are.
YM2301 is the ROM with MSX BIOS + BASIC.