{"id":875,"date":"2011-06-17T07:48:47","date_gmt":"2011-06-17T07:48:47","guid":{"rendered":"http:\/\/www.linkovitch.me.uk\/blog\/?p=875"},"modified":"2014-10-20T13:04:03","modified_gmt":"2014-10-20T13:04:03","slug":"getting-there-2","status":"publish","type":"post","link":"https:\/\/www.linkovitch.me.uk\/blog\/2011\/06\/getting-there-2\/","title":{"rendered":"Getting there"},"content":{"rendered":"<p>Whilst the new approach was mostly working it had had a negative affect also, the introduction of some hideous distortion. \u00c2\u00a0I have tried a few different things to isolate the causes of this and a solution but was rapidly losing hope at finding the problem.<\/p>\n<p>Thankfully I decided to take a break from it and my latest attempts at solving it, and not more than about 20 minutes into the film (V for Vendetta if you are interested), it struck me!<\/p>\n<p>The production of the sample data during the VBI was fine, however I realised that whilst it was generating this sample data it was also blocking all other CPU based interrupts, which would of course block the 8kHz feeder interupt that is feeding the sample data to the DSP! \u00c2\u00a0I managed to resist the urge to stop the film and try it there and then.. which meant I got to enjoy the rest of the film, but try my idea out at well past coding o&#8217;clock.<\/p>\n<p>The result? near perfect success! Instead of running the whole sample rendering routine within the VBI, I simply triggered it from the VBI and bingo! \u00c2\u00a0This is lest than ideal of course, but as this is prototyping at this point it&#8217;s not really a concern.<\/p>\n<p>I did also try clearing the interrupt latches earlier in the VBI handler to allow other interrupts whilst the sample render ran, but this didn&#8217;t seem to work too well, I shall investigate further, I suspect it may be due to the processor having not yet returned from the exception, possibly making it less tolerant of other interrupts. \u00c2\u00a0Quite pleased with myself \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Whilst the new approach was mostly working it had had a negative affect also, the introduction of some hideous distortion. \u00c2\u00a0I have tried a few different things to isolate the causes of this and a solution but was rapidly losing hope at finding the problem. Thankfully I decided to take a break from it and &hellip; <a href=\"https:\/\/www.linkovitch.me.uk\/blog\/2011\/06\/getting-there-2\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Getting there<\/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\/875"}],"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=875"}],"version-history":[{"count":3,"href":"https:\/\/www.linkovitch.me.uk\/blog\/wp-json\/wp\/v2\/posts\/875\/revisions"}],"predecessor-version":[{"id":974,"href":"https:\/\/www.linkovitch.me.uk\/blog\/wp-json\/wp\/v2\/posts\/875\/revisions\/974"}],"wp:attachment":[{"href":"https:\/\/www.linkovitch.me.uk\/blog\/wp-json\/wp\/v2\/media?parent=875"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linkovitch.me.uk\/blog\/wp-json\/wp\/v2\/categories?post=875"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linkovitch.me.uk\/blog\/wp-json\/wp\/v2\/tags?post=875"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}