• Seeking help on deciphering if this is code that makes sense on a C64

    From Sanford Dickert@3:770/3 to All on Friday, February 05, 2021 17:18:21
    Hey all -

    Long time since I played with a C64 (and this is going back to 1982, mind you).

    I have a screenshot of what looks like a dump of binary before starting up in a
    C64 screen. Have any of you seen something like this? Do you know what the columns mean or what they could be signifying?

    I "think" the last column is the value column (8-bits) and the 2-5 columns MAY be the address spec (2+4+4+6) but I can not be sure since I do not know if the emulator will make it work.

    And the first column - no clue.

    The data is here: http://bit.ly/wvbins01ep05
    And the screenshot is here: https://preview.redd.it/yl52isqrtmf61.jpg?width=960&crop=smart&auto=webp&s=c6d5355ad9f50fd84c56a984bcc9f568f743dbc9

    Any help would be very much appreciated!

    Thanks!

    Sanford

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From andy carmony@3:770/3 to All on Wednesday, February 17, 2021 10:48:59
    Imported, from hexadecimal, to an assembler produces this

    AND $31,X
    ORA #$32
    ORA #$35
    ORA #$09
    AND ($35),Y
    ORA #$38
    EOR ($0D,X)
    ASL
    AND $35,X
    ORA #$09
    ORA #$35
    ORA #$31
    AND
    ORA $320A
    EOR ($09,X)
    AND
    ROL $09,X
    WDM
    AND
    ORA #$36
    AND ($0D),Y
    ASL
    AND
    ORA #$33
    ORA #$41
    ORA #$09
    AND ($35),Y
    ORA #$43
    AND $0D,X
    ASL
    AND $35,X
    ORA #$32
    ORA #$43
    ORA #$09
    AND
    ORA #$35
    AND
    ASL
    AND
    ORA #$33
    ORA #$41
    ORA #$09
    AND
    ORA #$37
    AND
    ASL
    ROL $31,X
    ORA #$32
    ORA #$35
    ORA #$42
    ORA #$33
    ROL $09,X
    SEC
    EOR ($0D,X)
    ASL
    AND
    ORA #$33
    ORA #$41
    ORA #$09
    AND
    ORA #$38
    EOR ($0D,X)
    ASL
    AND
    ORA #$31
    ORA #$42
    ORA #$34
    ORA #$33
    AND ($09),Y
    EOR ($33,X)
    ORA $320A
    SEC
    ORA #$33
    ORA #$09
    ORA #$31
    AND $09,X
    SEC
    EOR ($0D,X)
    ASL
    AND
    ORA #$31
    ORA #$09
    ORA #$31
    AND $09,X
    ORA $330A
    ORA #$32
    ORA #$33
    ORA #$09
    AND ($43),Y
    ORA #$35
    EOR ($0D,X)
    ASL
    AND
    ORA #$33
    ORA #$39
    ORA #$30
    ORA #$33
    ROL $09,X
    SEC
    EOR $0D
    ASL
    AND
    ORA #$33
    ORA #$09
    ORA #$31
    AND $09,X
    ORA $350A
    EOR ($09,X)
    BMI $10D9
    ORA #$09
    AND
    ORA #$0D
    ASL
    ROL $42,X
    ORA #$32
    ORA #$09
    ORA #$45
    ORA #$0D
    ASL
    AND
    ORA #$32
    ORA #$35
    ORA #$44
    ORA #$32
    EOR ($09,X)
    SEC
    EOR ($0D,X)
    ASL
    ROL $37,X
    ORA #$32
    ORA #$37
    ORA #$34
    ORA #$44
    ORA #$42
    LSR $0D
    ASL
    AND
    AND
    ORA #$09
    AND
    ORA #$0D
    ASL
    AND $30,X
    ORA #$33
    ORA #$43
    ORA #$32
    ORA #$33
    BIT $09,X
    EOR
    ORA $320A
    AND $3209,Y
    ORA #$09
    ORA #$32
    EOR ($09,X)
    ORA $370A
    AND $09,X
    AND
    ORA #$09
    AND
    ORA $330A
    EOR ($09,X)
    ORA #$09
    ORA #$09
    BRK
    BRK
    BRK


    Which is junk. Interestingly the 3 BRK's at the end, is the only sequential part.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Andreas Kohlbach@3:770/3 to andy carmony on Wednesday, February 17, 2021 17:48:41
    On Wed, 17 Feb 2021 10:48:59 -0800 (PST), andy carmony wrote:

    Imported, from hexadecimal, to an assembler produces this

    AND $31,X
    ORA #$32
    ORA #$35

    [...]

    Which is junk. Interestingly the 3 BRK's at the end, is the only sequential
    part.

    Already line 3. Why would someone want to OR the accumulator twice
    without using the result after the first time?
    --
    Andreas

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Armin Hierstetter@3:770/3 to All on Thursday, February 18, 2021 07:35:39
    This for sure is no real assembler code like Andreas already outlined. There is
    no sense in this code at all.

    Is this screenshot taken from a movie?

    Chances are that these are just random numbers. If it is taken from a movie then in theory there could be an easter egg to find here but unless there is some "evidence" this is something worth looking into, I would not really waste my time deciphering
    something where there might be nothing to be deciphered in the first place.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)