{"action":"closed","issue":{"url":"https://api.github.com/repos/openMSX/openMSX-test1/issues/3","labels_url":"https://api.github.com/repos/openMSX/openMSX-test1/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/openMSX/openMSX-test1/issues/3/comments","events_url":"https://api.github.com/repos/openMSX/openMSX-test1/issues/3/events","html_url":"https://github.com/openMSX/openMSX-test1/issues/3","id":83015264,"number":3,"title":"[Patch] Y8950, register 19h returns 255 (fix) [sf#3]","user":{"login":"andete","id":689017,"avatar_url":"https://avatars.githubusercontent.com/u/689017?v=3","gravatar_id":"","url":"https://api.github.com/users/andete","html_url":"https://github.com/andete","followers_url":"https://api.github.com/users/andete/followers","following_url":"https://api.github.com/users/andete/following{/other_user}","gists_url":"https://api.github.com/users/andete/gists{/gist_id}","starred_url":"https://api.github.com/users/andete/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andete/subscriptions","organizations_url":"https://api.github.com/users/andete/orgs","repos_url":"https://api.github.com/users/andete/repos","events_url":"https://api.github.com/users/andete/events{/privacy}","received_events_url":"https://api.github.com/users/andete/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-31T06:14:28Z","updated_at":"2015-05-31T06:20:28Z","closed_at":"2015-05-31T06:20:28Z","body":"**Reported by sd-snatcher on 2005-03-13 06:10 UTC**\nHi all\\!\r\n\r\nThe register 19h of the Y8950 currently returns 255 by\r\ndefault, since it's not implemented. But the sane value\r\nto return would be 0 \\(zero\\), since by returning 255 you\r\nactivate, at boot, the built-in music editor \\(aka\r\nSynthe\\) of the Panasonic FS-CA1, which is not desirable\r\nat all, since this prevents this MSX-Audio to be used\r\nin games and BASIC. This pratically turns it unusable.\r\n\r\nYes, I know about holding the ESC key on boot, but I\r\nalso know this also disable the MSX-Audio BIOS, thus\r\nalso preventing the CA1 to be used in games and BASIC.\r\n\r\nPlease note that the \\(IMHO, crapy\\) music-editor can be\r\nactivated later on basic by typing \"CALL SYNTHE\".\r\n\r\nThe fix is easy. In Y8950.cc, line 1126, there is:\r\n\r\ncase 0x19: // I/O DATA   TODO\r\ndefault:\r\nresult = 255;\r\n\r\n\r\nIt should be:\r\n\r\ncase 0x19: // I/O DATA   TODO\r\nresult = 0;\r\ndefault:\r\nresult = 255;\r\n\r\nAfter fixing this bug, there's 2 easy tests to verify\r\nif everything is working well:\r\n\r\n1\\) Boot the openmsx, and run any Compile DiskStation.\r\nThe music should be played by the MSX-Audio Instead of\r\nthe MSX-Music. It will sound a bit diferent from what\r\nyou are used to hear. You can also test Xevious,\r\nGolvellius-2 and almost all Compile games. Aleste-2 and\r\nRuneMaster-3 have bugs in the MSX-Audio support, so\r\ndont worry about them.\r\n\r\n2\\) Find some music written in BASIC for the MSX-Music,\r\nlike those published by MSX-Magazine. To play them on\r\nthe MSX-Audio all you need is to change the CALL MUSIC\r\nfor CALL AUDIO. The parameters are the same.\r\nThis happens because the MSX-Music BIOS is a stripped\r\ndown version of the MSX-Audio BIOS. But in the\r\nMSX-Audio is possible to redefine any instrument and\r\nthere's also many commands for ADPCM playing/recording\r\nin BASIC.\r\n\r\nBest regards to the openmsx team,\r\nFRS\r\n"}}