Heaven/TQA Posted April 27, 2015 Share Posted April 27, 2015 Can someone post his attemp of porting RMT replay routine to 5200? I know people have done it already just want to speed up. If someone can give me his 5200 replay RMT source code much appreciated. Quote Link to comment Share on other sites More sharing options...
MaPa Posted April 27, 2015 Share Posted April 27, 2015 Here is RMT source code I used for my 5200 ports of Rolltris/Thetris. rmtplayr.zip Quote Link to comment Share on other sites More sharing options...
Heaven/TQA Posted May 4, 2015 Author Share Posted May 4, 2015 (edited) It took me half hour to debug and then i saw that set_pokey was out commented. Will tomorrow post my adapted source for rom playback (except for the buffers) Not only Lda #values where values where directly changed on code needed to be exchanged but the tracker command jump table, too. See label JMX Which does a lsr, lsr hence mul 4 depending on command and patching that value directly into a BCC to jump relatively to the command which was a simple NOP JMP cmd0-7 So I changed that to simple CMP #cmd*4 BNE Skip NOP JMP CMDx Edited May 4, 2015 by Heaven/TQA Quote Link to comment Share on other sites More sharing options...
Heaven/TQA Posted May 4, 2015 Author Share Posted May 4, 2015 Btw nice trick with the branch Quote Link to comment Share on other sites More sharing options...
MaPa Posted May 5, 2015 Share Posted May 5, 2015 Ah sorry... I always use SetPokey commented out as I call SetPokey routine myself at defined time (mostly in VBI) and the player mostly after all cpu/gfx computing in a frame is done. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.