|
|
| version 1.9, 2004/08/05 11:30:12 | version 1.10, 2004/08/05 11:46:26 |
|---|---|
| Line 155 void pccore_reset(void) { | Line 155 void pccore_reset(void) { |
| sndctrl_deinitialize(); | sndctrl_deinitialize(); |
| sndctrl_initialize(); | sndctrl_initialize(); |
| } | } |
| sound_reset(); | |
| reset_x1(xmilcfg.ROM_TYPE, xmilcfg.SOUND_SW, xmilcfg.DIP_SW); | reset_x1(xmilcfg.ROM_TYPE, xmilcfg.SOUND_SW, xmilcfg.DIP_SW); |
| soundmng_play(); | soundmng_play(); |
| } | } |
| Line 229 void x1r_exec(void) { | Line 231 void x1r_exec(void) { |
| h_cntbase += pccore.HSYNC_CLK; | h_cntbase += pccore.HSYNC_CLK; |
| inttiming ^= 2; | inttiming ^= 2; |
| if (inttiming != 3) { | if (inttiming != 3) { |
| if (xmilcfg.SOUNDPLY) { | sound_makesample(pcmbufsize[s_cnt]); |
| sound_makesample(pcmbufsize[s_cnt]); | // if (xmilcfg.SOUNDPLY) { |
| // juliet2_exec(); | // juliet2_exec(); |
| } | // } |
| s_cnt++; | s_cnt++; |
| x1_ctc_int(); | x1_ctc_int(); |
| if (!((++keyintcnt) & 15)) { | if (!((++keyintcnt) & 15)) { |
| Line 244 void x1r_exec(void) { | Line 246 void x1r_exec(void) { |
| } | } |
| v_cnt++; | v_cnt++; |
| if (crtc.s.CRT_YL == v_cnt) { | if (crtc.s.CRT_YL == v_cnt) { |
| // TRACEOUT(("--->sync")); | |
| pcg.r.vsync = 1; | pcg.r.vsync = 1; |
| if (xmilcfg.DISPSYNC == 1) { | if (xmilcfg.DISPSYNC == 1) { |
| xmilcfg.DISPSYNC |= 0x80; | xmilcfg.DISPSYNC |= 0x80; |
| Line 252 void x1r_exec(void) { | Line 253 void x1r_exec(void) { |
| } | } |
| } | } |
| } | } |
| sound_sync(); | |
| calendar_inc(); | calendar_inc(); |
| if (!xmilcfg.SOUNDPLY) { | |
| sound_makesample(framesoundcnt); | |
| } | |
| if (!(xmilcfg.DISPSYNC & 0x80)) { | if (!(xmilcfg.DISPSYNC & 0x80)) { |
| scrnupdate(); | scrnupdate(); |
| } | } |