Skip to content

Missing definitions as per inadvertent IR match masks - cont. #34

@hazzaclark

Description

@hazzaclark

Going off of my recent testing with the Sonic 1 ROM file, I am noticing that whenever it tries to BNE and BEQ (which now works mind you), it is causing an inadvertent bug where it is reading the Opcode sort of Big Endian right to left and making it so that it reads the EA of the PREVIOUS Opcode which would otherwise need a manual PC advance or something of that association in order to properly read the instruction properly - at least that is my assumption

-------------------------------------------------------------
[PC -> 0240]  [IR -> 1A1D]  ILLEGAL INSTRUCTION FOUND AT PC -> (0x0240) -> CURRENT OPCODE: (0x1A1D)
[ERROR] -> MEMORY REGION IS UNMAPPED [SIZE: 32]: NO BUFFER FOUND FOR ADDRESS: 0x00FFFE00
[ERROR] -> MEMORY ENCOUNTERED A BAD READ [SIZE: 32]: ADDRESS: 0x00FFFE00
[JUMP TRACE] TO PC: 0x03E6 FROM PC: 0x0000
CYCLES: 0, TOTAL ELAPSED: 152
-------------------------------------------------------------
Image

It's reading the imm data of one instruction and the mode of another

The only possible solutions I can think of are to make a new def for the missing instruction or to cheese something else - either way, more work for me and then some

This issues board will remain here for the foreseeable future as I work my way through each of these inconsistencies - no point in making multiple issues for what is essentially the SAME issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdocumentationImprovements or additions to documentation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions