Previous 15994 Revisions Next

r2431 Tuesday 22nd April, 2008 at 13:27:44 UTC by Robbbert
[Z80BIN] Included file info in message.
[src/mess/devices]z80bin.c

src/mess/devices/z80bin.c
r2430r2431
88*********************************************************************/
99
1010#include "driver.h"
11#include "ui.h"
1211#include "z80bin.h"
1312#include "snapquik.h"
1413
r2430r2431
4948      if (ch != '\0')
5049      {
5150         if (i >= (ARRAY_LENGTH(pgmname) - 1))
51         {
52            image_seterror(image, IMAGE_ERROR_INVALIDIMAGE, "File name too long");
5253            return INIT_FAIL;
54         }
5355
5456         pgmname[i] = ch;   /* build program name */
5557         i++;
r2430r2431
7173   size = (end_addr[0] - start_addr[0] + 1) & 0xffff;
7274
7375   /* display a message about the loaded quickload */
74   image_message(image, "size=%04X : start=%04X : end=%04X : exec=%04X", size,start_addr[0],end_addr[0],exec_addr[0]);
76   image_message(image, " %s\nsize=%04X : start=%04X : end=%04X : exec=%04X",pgmname,size,start_addr[0],end_addr[0],exec_addr[0]);
7577
7678   for (i = 0; i < size; i++)
7779   {

Previous 15994 Revisions Next


© 1998-2018 The MESS Team