Skip to content

Need clarification on eadk_display_wait_for_vblank() #2401

@Obscure2020

Description

@Obscure2020

Hello, Numworks team. I have some questions regarding the usage of eadk_display_wait_for_vblank() which have not been sufficiently answered either in your own documentation, or elsewhere online. (At least not that I could find.) Could you take the time to answer the following for me?

  1. The full signature for the function in question, as reported in eadk.h, is bool eadk_display_wait_for_vblank();. The fact that this function apparently returns a bool suggests that its purpose is not purely waiting or sleeping, as the main sleep functions eadk_timing_usleep() and eadk_timing_msleep() return void. How should the bool return value from this function be interpreted? For what reasons might it return true or false?

    • I tried to answer the above question for myself by tracing back its implementation in your code, but the farthest I could get was the handoff to SVC_DISPLAY_WAIT_FOR_V_BLANK. I couldn't find the actual implementation of that written anywhere, which is why I'm turning to you guys for some assistance.
  2. Does the eadk_display_wait_for_vblank() function actually do anything on a physical, hardware Numworks calculator? Or is it only actually implemented to function in simulators?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions