ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/mon/src/mon_cmd.cpp
(Generate patch)

Comparing mon/src/mon_cmd.cpp (file contents):
Revision 1.8 by cebix, 2000-10-06T00:04:22Z vs.
Revision 1.9 by cebix, 2000-10-15T15:07:13Z

# Line 1 | Line 1
1   /*
2 < *  mon_cmd.cpp - mon standard commands
2 > *  mon_cmd.cpp - cxmon standard commands
3   *
4 < *  mon (C) 1997-1999 Christian Bauer, Marc Hellwig
4 > *  cxmon (C) 1997-1999 Christian Bauer, Marc Hellwig
5   *
6   *  This program is free software; you can redistribute it and/or modify
7   *  it under the terms of the GNU General Public License as published by
# Line 298 | Line 298 | void binary_dump(void)
298   *  d68 [start [end]]
299   *  d80 [start [end]]
300   *  d86 [start [end]]
301 + *  d8086 [start [end]]
302   */
303  
304   enum CPUType {
305          CPU_PPC,
306          CPU_6502,
307          CPU_680x0,
308 <        CPU_8080,
308 >        CPU_Z80,
309          CPU_80x86_32,
310          CPU_80x86_16
311   };
# Line 343 | Line 344 | static void disassemble(CPUType type)
344                          }
345                          break;
346  
347 <                case CPU_8080:
347 >                case CPU_Z80:
348                          while (adr <= end_adr && !mon_aborted()) {
348                                uint8 op = mon_read_byte(adr);
349                                uint8 lo = mon_read_byte(adr + 1);
350                                uint8 hi = mon_read_byte(adr + 2);
349                                  fprintf(monout, "%08x: ", mon_use_real_mem ? adr : adr % mon_mem_size);
350 <                                adr += disass_8080(monout, mon_use_real_mem ? adr : adr % mon_mem_size, op, lo, hi);
350 >                                adr += disass_z80(monout, mon_use_real_mem ? adr : adr % mon_mem_size);
351                          }
352                          break;
353  
# Line 386 | Line 384 | void disassemble_680x0(void)
384          disassemble(CPU_680x0);
385   }
386  
387 < void disassemble_8080(void)
387 > void disassemble_z80(void)
388   {
389 <        disassemble(CPU_8080);
389 >        disassemble(CPU_Z80);
390   }
391  
392   void disassemble_80x86_32(void)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines