Skip to content

Commenting out ORA #$80 in bfmgr.s #1

@dschmenk

Description

@dschmenk

I decided to trace the actual ProDOS 2.03 code to see what it did. Kind of odd. The original code does ORA #$80 here, but the test is with #$AF , the '/' with the MSB set. Further along in the code, it does AND #$7F for all the characters from the path string and compares with #$2F , the '/' with MSB clear. The ProDOS manual states that all strings should have the MSB clear, so what's with all the MSB setting and clearing? I dunno. If you were to match the original code, you could do the initial ORA #$80 and compare to #$AF , or match the later code with AND #$7F followed by the compare as it stands in your version. Maybe whoever wrote the initial code was just trying to cover the bases

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