Added display of large file support status to SHOW VERSION

This commit is contained in:
Mark Pizzolato 2013-02-17 04:52:54 -08:00
parent 119ca2f03a
commit aaa5fb178a
3 changed files with 10 additions and 2 deletions

4
scp.c
View file

@ -2741,11 +2741,11 @@ if (vdelt)
fprintf (st, " %s", SIM_VERSION_MODE); fprintf (st, " %s", SIM_VERSION_MODE);
#endif #endif
if (flag) if (flag)
fprintf (st, " [%s, %s, %s]", sim_si64, sim_sa64, sim_snet); fprintf (st, "\n\t[%s, %s, %s, %s]", sim_si64, sim_sa64, sim_snet, sim_slarge_files);
#if defined(SIM_GIT_COMMIT_ID) #if defined(SIM_GIT_COMMIT_ID)
#define _xstr(a) _str(a) #define _xstr(a) _str(a)
#define _str(a) #a #define _str(a) #a
fprintf (st, " git commit id: %8.8s", _xstr(SIM_GIT_COMMIT_ID)); fprintf (st, "%sgit commit id: %8.8s", flag ? "\n " : " ", _xstr(SIM_GIT_COMMIT_ID));
#endif #endif
fprintf (st, "\n"); fprintf (st, "\n");
return SCPE_OK; return SCPE_OK;

View file

@ -364,3 +364,10 @@ return (t_addr)(ftell (st));
#endif #endif
uint32 sim_taddr_64 = _SIM_IO_FSEEK_EXT_; uint32 sim_taddr_64 = _SIM_IO_FSEEK_EXT_;
const char *sim_slarge_files =
#if _SIM_IO_FSEEK_EXT == 1
"Large File (>2GB) support";
#else
"No Large File support";
#endif

View file

@ -50,6 +50,7 @@ void sim_buf_swap_data (void *bptr, size_t size, size_t count);
void sim_buf_copy_swapped (void *dptr, void *bptr, size_t size, size_t count); void sim_buf_copy_swapped (void *dptr, void *bptr, size_t size, size_t count);
extern uint32 sim_taddr_64; extern uint32 sim_taddr_64;
extern const char *sim_slarge_files;
extern int32 sim_end; extern int32 sim_end;
#endif #endif