summaryrefslogtreecommitdiff
path: root/src/i_system.c
diff options
context:
space:
mode:
authorSimon Howard2005-07-23 19:42:56 +0000
committerSimon Howard2005-07-23 19:42:56 +0000
commit6af18ee0fbbde60e78d86baac9a3248b5bb17e6b (patch)
tree1319889b38cec8f90d68452f97b9baba0f71c194 /src/i_system.c
parent7e2991e5065363a59e45a8e6c16c927185e028bb (diff)
downloadchocolate-doom-6af18ee0fbbde60e78d86baac9a3248b5bb17e6b.tar.gz
chocolate-doom-6af18ee0fbbde60e78d86baac9a3248b5bb17e6b.tar.bz2
chocolate-doom-6af18ee0fbbde60e78d86baac9a3248b5bb17e6b.zip
Startup messages as in the DOS exes
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 22
Diffstat (limited to 'src/i_system.c')
-rw-r--r--src/i_system.c13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/i_system.c b/src/i_system.c
index e95b18b2..8e237fc4 100644
--- a/src/i_system.c
+++ b/src/i_system.c
@@ -1,7 +1,7 @@
// Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
-// $Id: i_system.c 18 2005-07-23 18:56:07Z fraggle $
+// $Id: i_system.c 22 2005-07-23 19:42:56Z fraggle $
//
// Copyright(C) 1993-1996 Id Software, Inc.
// Copyright(C) 2005 Simon Howard
@@ -22,6 +22,9 @@
// 02111-1307, USA.
//
// $Log$
+// Revision 1.4 2005/07/23 19:42:56 fraggle
+// Startup messages as in the DOS exes
+//
// Revision 1.3 2005/07/23 18:56:07 fraggle
// Remove unneccessary pragmas
//
@@ -37,7 +40,7 @@
//-----------------------------------------------------------------------------
static const char
-rcsid[] = "$Id: i_system.c 18 2005-07-23 18:56:07Z fraggle $";
+rcsid[] = "$Id: i_system.c 22 2005-07-23 19:42:56Z fraggle $";
#include <stdlib.h>
@@ -88,8 +91,12 @@ int I_GetHeapSize (void)
byte* I_ZoneBase (int* size)
{
+ byte *zonemem;
*size = mb_used*1024*1024;
- return (byte *) malloc (*size);
+ zonemem = malloc (*size);
+ printf("zone memory: %x, %x allocated for zone\n",
+ (long) zonemem, *size);
+ return zonemem;
}