]> cloudbase.mooo.com Git - ddt180.git/commitdiff
Bugfix: remove invalid opcode from disassembler (L command).
authorLeo C <erbl259-lmu@yahoo.de>
Tue, 2 Aug 2016 20:32:06 +0000 (22:32 +0200)
committerLeo C <erbl259-lmu@yahoo.de>
Tue, 2 Aug 2016 20:32:06 +0000 (22:32 +0200)
DD or FD prefix, followed by 76 was interpreted as a valid 3 byte instruction, and displayed as 'HALT'.
Didnt work, certainly.

ddtz.z80

index 2eda49dcf16d609220aa8d7fde114a8f85e04176..5d282913e1b038cba6a1d748b66892fe1e5d0879 100644 (file)
--- a/ddtz.z80
+++ b/ddtz.z80
@@ -1923,14 +1923,7 @@ expr_p2:
 \r
 expr_buf:\r
        db      'DDT/Z',TAB\r
-       db      '[8101]',CR,LF,'$'\r
-       db      000h            ;0b2b   00      .\r
-       db      06dh            ;0b2c   6d      m\r
-       db      085h            ;0b2d   85      .\r
-       db      0cch            ;0b2e   cc      .\r
-       db      0f6h            ;0b2f   f6      .\r
-       db      053h            ;0b30   53      S\r
-       db      05bh            ;0b31   5b      [\r
+       db      '[8101] 001',CR,LF,'$'\r
 \r
        ds      EXPR_BUF_SIZE - ($ - expr_buf)\r
 expr_bufe:\r
@@ -4228,7 +4221,7 @@ l19edh:
        and a                   ;19ed   a7      .\r
        ret                     ;19ee   c9      .\r
 \r
-; DD/FD 4 byte (ix+d)\r
+; DD/FD 3 byte (ix+d)/(iy+d)\r
 b_19ef_start:\r
        defb 034h               ;19ef   34      4\r
        defb 035h               ;19f0   35      5\r
@@ -4245,8 +4238,6 @@ b_19ef_start:
        defb 073h               ;19fb   73      s\r
        defb 074h               ;19fc   74      t\r
        defb 075h               ;19fd   75      u\r
-; ????\r
-       defb 076h               ;19fe   76      v       ????\r
        defb 077h               ;19ff   77      w\r
        defb 07eh               ;1a00   7e      ~\r
        defb 086h               ;1a01   86      .\r
@@ -4259,7 +4250,7 @@ b_19ef_start:
        defb 0beh               ;1a08   be      .\r
        defb 0                  ;1a09   00      .\r
 \r
-; DD/DF 3 byte\r
+; DD/FD 2 byte\r
 l1a0ah:\r
        defb 009h               ;1a0a   09      .\r
        defb 019h               ;1a0b   19      .\r