{"id":894,"date":"2011-07-09T19:37:18","date_gmt":"2011-07-09T19:37:18","guid":{"rendered":"http:\/\/www.linkovitch.me.uk\/blog\/?p=894"},"modified":"2014-10-20T13:04:03","modified_gmt":"2014-10-20T13:04:03","slug":"100-on-test-mod","status":"publish","type":"post","link":"https:\/\/www.linkovitch.me.uk\/blog\/2011\/07\/100-on-test-mod\/","title":{"rendered":"100% on test Mod!"},"content":{"rendered":"<p>At last! 100% of the way through my chosen starting module (Theme tune to Alf by Trash).\u00c2\u00a0 Although I am a little sick of hearing it now oddly enough it mostly sounds (to me) as it should do.\u00c2\u00a0 Other ears have heard some tuning issues, but only in some places and I suspect this may be due to the rather speedy coding of some of the effects.<\/p>\n<p>As the code to read the actual pattern data was so bodged and crufty and incomplete (anything that used more than 15 samples was never going to work), I decided to completely rip it out and rewrite, but adding in hooks for various bits along the way and knowning now what I didn&#8217;t know when I 1st wrote it.<\/p>\n<p>Took me longer than I planned originally, but the final result was certainly worth it!\u00c2\u00a0 Adding effects to this new build is super simple.\u00c2\u00a0 There are 15 primary effects, with a further 15 sub effects.\u00c2\u00a0 For now I am concentrating on the primaries.\u00c2\u00a0 I therefor have a list of Addresses of the code to produce the desired effect.\u00c2\u00a0 To select the correct effect code the effect number is added as an offset to the address of this list, the program counter is then jumped to the address stored there (not before pushing the desired return address on the stack for the RTS at the end of the effect) and thats it.\u00c2\u00a0 When I come to write a new chunk of effect code I simply write it and then update the list of pointers.\u00c2\u00a0 Jobs done.<\/p>\n<p>I still have around another 21 effects to code, I am quite pleased with the pitch slide effects I have coded tonight despite me being suspicious that these may be the cause of the out of tune behaviour and also being incredibly simple \ud83d\ude00<\/p>\n<p>To further the work on the player I have a more complex effect rich module to work through now, one of my old favourites back in the day.\u00c2\u00a0 It has already identified and helped me resolve a few bugs I wasn&#8217;t aware of.\u00c2\u00a0 Really enjoying this project \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>At last! 100% of the way through my chosen starting module (Theme tune to Alf by Trash).\u00c2\u00a0 Although I am a little sick of hearing it now oddly enough it mostly sounds (to me) as it should do.\u00c2\u00a0 Other ears have heard some tuning issues, but only in some places and I suspect this may &hellip; <a href=\"https:\/\/www.linkovitch.me.uk\/blog\/2011\/07\/100-on-test-mod\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">100% on test Mod!<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linkovitch.me.uk\/blog\/wp-json\/wp\/v2\/posts\/894"}],"collection":[{"href":"https:\/\/www.linkovitch.me.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linkovitch.me.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linkovitch.me.uk\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linkovitch.me.uk\/blog\/wp-json\/wp\/v2\/comments?post=894"}],"version-history":[{"count":1,"href":"https:\/\/www.linkovitch.me.uk\/blog\/wp-json\/wp\/v2\/posts\/894\/revisions"}],"predecessor-version":[{"id":895,"href":"https:\/\/www.linkovitch.me.uk\/blog\/wp-json\/wp\/v2\/posts\/894\/revisions\/895"}],"wp:attachment":[{"href":"https:\/\/www.linkovitch.me.uk\/blog\/wp-json\/wp\/v2\/media?parent=894"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linkovitch.me.uk\/blog\/wp-json\/wp\/v2\/categories?post=894"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linkovitch.me.uk\/blog\/wp-json\/wp\/v2\/tags?post=894"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}