Menu ▾ ▴

#5 The disassembler misses some codde on the M100 ROM - V1.6

v1.0 (example)
closed-fixed
5
2015-01-13
2014-11-26
No

There is a small section of code missing when dissembling the M100 ROM.

I had to add the following in order to make the assembler output match the BIN file:
5E49H DB "Menu",1BH,9BH,19H,00H ;DC_ERROR Found

This is what the disassembler outputs:
; ======================================================
; TEXT Function key table - empty
; ======================================================
R_TEXT_FKEY_TBL: ; 5E22H
DB 80H,80H,80H,80H,80H,80H,80H,83H

    L_5E2AH:
              DB      "Find",8EH
              DB      "Load",96H
              DB      "Save",87H
              DB      80H
              DB      "Copy",8FH
              DB      "Cut ",95H
              DB      "Sel ",8CH    
    ;<----CODE MISSING AFTER HERE---->
        (9BH) SBB     E
        (19H) DAD     D
        (00H) NOP

    ; ======================================================
    ; EDIT statement
    ; ======================================================
    R_EDIT_STMT:                                 ; 5E51H
        (E5H) PUSH    H

This is what I changed to match the M100 BIN file:
; ======================================================
; TEXT Function key table - empty
; ======================================================
5E22H DB 80H,80H,80H,80H,80H,80H,80H,83H

    5E2AH  DB   "Find",8EH
    5E2FH  DB   "Load",96H
    5E34H  DB   "Save",87H
    5E39H  DB   80H
    5E3AH  DB   "Copy",8FH
    5E3FH  DB   "Cut ",95H
    5E44H  DB   "Sel ",8CH
    5E49H  DB   "Menu",1BH,9BH,19H,00H ;DC_ERROR Found

    ; ======================================================
    ; EDIT statement
    ; ======================================================
    5E51H  (E5H) PUSH H

FYI, I'm building my own 8085 Assembler/Disassembler/Emulator so I can reverse engineer an old CNC controller I have and I'm using some other 8085 based projects to test with and in the process trying to improve not only my software but also report any bugs I find with anything else I'm working with.

Discussion

  • Stephen James Hurd

    • status: open --> closed-fixed
    • assigned_to: Stephen James Hurd
     
  • Stephen James Hurd

    Should be fixed in CVS now.
    Please test on your system.

     

Log in to post a comment.