Skip to content

Clear Cache before VBR call in default demo.  #256

Open
@terriblefire

Description

@terriblefire

In your awesome example code, the code to get the VBR will crash on an 060 with Caches enabled because the data you specify as the instructions to execute in supervisor mode will never actually be written to ram. Its held purely on the stack (and in cache)

Please add...

CacheClearU();

immediately before

vbr = (APTR)Supervisor((ULONG (*)())getvbr);

and code will run even with 060 MMU+Caches enabled.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions