Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hbi_hook and video offset #31

Closed
GoogleCodeExporter opened this issue Feb 14, 2016 · 2 comments
Closed

hbi_hook and video offset #31

GoogleCodeExporter opened this issue Feb 14, 2016 · 2 comments

Comments

@GoogleCodeExporter
Copy link

- What steps will reproduce the problem?
1. Setting a hbi_hook() with set_hbi_hook(&func)
2. Putting some simple code in the hbi_hook()

- What is the expected output? What do you see instead?

I expect the code to run without influencing the video display. What is 
happening is that the video is shifted towards the right.

- What version of the product are you using? On what operating system?

I am using Beta1.0 (Dec 2nd 2010)

- Please provide any additional information below.

The solution was to change the order of calls in ISR(TIMER1_OVF_vect) to the 
following:

ISR(TIMER1_OVF_vect) {

    line_handler();
    hbi_hook();
}

By changing the code, I do not notice an offset of the video.

Original issue reported on code.google.com by thomas.f...@gmail.com on 10 Feb 2011 at 7:56

@GoogleCodeExporter
Copy link
Author

your code is not fast enough and I will not change the order of the calls as 
when I finally switch the render routine around the line handler will occur on 
the current interrupt and then a second interrupt will trigger output.

The horizontal blanking period hook was only intended for checking a register 
for data and putting it in a buffer, Or another very fast task

Original comment by mdmetzle@gmail.com on 10 Feb 2011 at 9:31

@GoogleCodeExporter
Copy link
Author

Original comment by mdmetzle@gmail.com on 11 Feb 2011 at 9:24

  • Changed state: WontFix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant