AltairZ80: mfdc: Only display ROM write attempt error messages when debug is enabled

This commit is contained in:
Howard M. Harte 2015-03-20 19:19:29 -07:00 committed by Mark Pizzolato
parent 46d7bfc660
commit 569cfaf591

View file

@ -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;