Skip to content

FX1E and VF #2

@tobiasvl

Description

@tobiasvl

The Wikipedia article on CHIP-8 claims that FX1E should set VF to 1 if I overflows from 0x0FFF and 0 if it doesn't.

This clearly is not how FX1E behaves in CHIP-8 on the COSMAC VIP (see disassembly); it will let I go all the way up to 0xFFFF. However, I see that CHIP-48 actually does check for an overflow from 0x0FFF (although it doesn't seem to touch VF).

The article says it's an undocumented feature that is relied upon by the game Spacefight! 2091, which was made for SCHIP (not sure which version), so is it conceivable that this is another incompatibility?

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