AltairZ80: Fixed NUM_CHIP_TYPE warning and added missing declaration
This commit is contained in:
parent
3d7c4dc510
commit
9d2b7ee968
2 changed files with 4 additions and 0 deletions
|
@ -164,6 +164,7 @@ int32 dsk12(const int32 port, const int32 io, const int32 data);
|
||||||
static t_stat dsk_boot(int32 unitno, DEVICE *dptr);
|
static t_stat dsk_boot(int32 unitno, DEVICE *dptr);
|
||||||
static t_stat dsk_reset(DEVICE *dptr);
|
static t_stat dsk_reset(DEVICE *dptr);
|
||||||
static t_stat dsk_attach(UNIT *uptr, CONST char *cptr);
|
static t_stat dsk_attach(UNIT *uptr, CONST char *cptr);
|
||||||
|
static const char* dsk_description(DEVICE *dptr);
|
||||||
|
|
||||||
extern UNIT cpu_unit;
|
extern UNIT cpu_unit;
|
||||||
extern uint32 PCX;
|
extern uint32 PCX;
|
||||||
|
|
|
@ -525,6 +525,9 @@ t_stat fprint_sym(FILE *of, t_addr addr, t_value *val, UNIT *uptr, int32 sw) {
|
||||||
r = m68k_disassemble(disasm_result, addr, M68K_CPU_TYPE_68000);
|
r = m68k_disassemble(disasm_result, addr, M68K_CPU_TYPE_68000);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
|
return SCPE_IERR;
|
||||||
|
|
||||||
}
|
}
|
||||||
fprintf(of, "%s", disasm_result);
|
fprintf(of, "%s", disasm_result);
|
||||||
return 1 - r;
|
return 1 - r;
|
||||||
|
|
Loading…
Add table
Reference in a new issue