vgmrips

The forum about vgm files
It is currently 2017-12-18, 3:23:48

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 34 posts ]  Go to page Previous  1, 2, 3
Author Message
 Post subject:
PostPosted: 2014-05-17, 21:43:41 

Staff Staff
Programmers Programmers
Offline
User avatar

Joined: 2012-04-22, 4:03:45
Posts: 211
Location: New York, NY, USA
Good points I should probably ask grantgalitz about; I have the XAudioJS.executeCallback function running through setInterval rather than requestAnimationFrame, but that doesn't seem to help. Maybe it's something inherent to XAJ's implementation of a browser's *AudioContext rather than Flash?


Top
 Profile  
 
 Post subject:
PostPosted: 2014-05-18, 6:05:11 

Staff Staff
Programmers Programmers
Contributors Contributors
Ball Fondlers Ball Fondlers
Offline
User avatar

Joined: 2014-01-28, 5:51:54
Posts: 545
I've managed to convert the AY8910 code to C++. It was relatively easy, since it was kind of object-oriented anyway. Now to figure out how to convert it from C++ to something else.

I've looked at both Ci and Haxe, and one is too simple, the other is too complex, but neither has support for more advanced integers, for example uint16_t. Ci supports byte (8 bits) and int (32 bits). Haxe supports only Int. The C++ files generated by Haxe are big and seem unnecessary. I haven't found a way to disable all the boilerplate and just get the important code.

I'm thinking of just converting the code to C++, so all the chips are object oriented and even inherit a base class (maybe called SoundChip). I'm still thinking about how this will end up, since both meta-languages turned out to be less than expected (the idea is great, but they're implemented strangely and are not very flexible).

http://evo.grigoriada.net/emu2149.h (tested, compiled and working).


Top
 Profile  
 
 Post subject:
PostPosted: 2014-05-18, 13:43:37 

Musicians Musicians
Contributors Contributors
Offline

Joined: 2012-09-29, 11:45:48
Posts: 212
Location: Australia
neologix wrote:
In other news, I've just successfully decoupled OPM playback from the JS MDX Web Player and integrated it into the web VGM Player! I've added the "Street Fighter II - The World Warrior" playlist to try it, though it's noticeably uninteresting without the OKIM6295 support.

Eventually the OPM script will be rewritten to have an API more consistent with how I initially set up the SN76489 and screwy YM2612 scripts, but at least now I have a proof-of-work for dropping in someone else's separate, relatively unmodified core into the thing.

Once I finish finals, I'll go back to working on YM2612 so I can move on to YM2413 and finally finish VGM v1.50 parity.


Image

_________________
-dj.tuBIG/MaliceX


Top
 Profile  
 
 Post subject:
PostPosted: 2014-05-19, 2:23:53 

Staff Staff
Programmers Programmers
Contributors Contributors
Ball Fondlers Ball Fondlers
Offline
User avatar

Joined: 2014-01-28, 5:51:54
Posts: 545
It looks like there's emulation code for the Pokey chip in ASAP, all you have to do is compile it to js with cito. Maybe you can use it. http://evo.grigoriada.net/pokey.js


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 34 posts ]  Go to page Previous  1, 2, 3

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group