AltairZ80: mfdc: Only display ROM write attempt error messages when debug is enabled
This commit is contained in:
parent
46d7bfc660
commit
569cfaf591
1 changed files with 3 additions and 3 deletions
|
@ -2,8 +2,8 @@
|
||||||
* *
|
* *
|
||||||
* $Id: mfdc.c 1995 2008-07-15 03:59:13Z hharte $ *
|
* $Id: mfdc.c 1995 2008-07-15 03:59:13Z hharte $ *
|
||||||
* *
|
* *
|
||||||
* Copyright (c) 2007-2008 Howard M. Harte. *
|
* Copyright (c) 2007-2015 Howard M. Harte. *
|
||||||
* http://www.hartetec.com *
|
* hharte@magicandroidapps.com *
|
||||||
* *
|
* *
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining *
|
* Permission is hereby granted, free of charge, to any person obtaining *
|
||||||
* a copy of this software and associated documentation files (the *
|
* a copy of this software and associated documentation files (the *
|
||||||
|
@ -353,7 +353,7 @@ static int32 mdskdev(const int32 Addr, const int32 rw, const int32 data)
|
||||||
if(rw == 0) { /* Read boot ROM */
|
if(rw == 0) { /* Read boot ROM */
|
||||||
return(mfdc_rom[Addr & 0xFF]);
|
return(mfdc_rom[Addr & 0xFF]);
|
||||||
} else {
|
} else {
|
||||||
sim_printf("MFDC: Attempt to write to boot ROM." NLP);
|
sim_debug(VERBOSE_MSG, &mfdc_dev, "MFDC: " ADDRESS_FORMAT " Attempt to write to boot ROM." NLP, PCX);
|
||||||
return (-1);
|
return (-1);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Reference in a new issue