Skip to content

Mistake for NR52 #81

@aljohnston112

Description

@aljohnston112

I am working on a disassembled Pokemon game and came across the following

.ch1_rest
    ldh a, [rNR52]
    and %10001110 ; ch1 off
    ldh [rNR52], a
    ld hl, rNR10
    call ClearChannel
    ret 

If bit 0-3 are read only, how is this possible?
I looked at the technical reference: [removed] and bit 0-3 are actually read/write.
NR52

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