From 6859146cf29ca37563bbf13e58019798b1bf73ae Mon Sep 17 00:00:00 2001 From: "Kirill Lipatov (Leency)" Date: Wed, 27 Feb 2013 10:26:22 +0000 Subject: [PATCH] kolibri.h: MEM_SIZE definition git-svn-id: svn://kolibrios.org@3282 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/cmm/lib/kolibri.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/programs/cmm/lib/kolibri.h b/programs/cmm/lib/kolibri.h index 6a5003889a..b8b957f71d 100644 --- a/programs/cmm/lib/kolibri.h +++ b/programs/cmm/lib/kolibri.h @@ -7,8 +7,13 @@ char os_name[8] = {'M','E','N','U','E','T','0','1'}; dword os_version = 0x00000001; dword start_addr = #main; dword final_addr = #stop+32; -dword alloc_mem = #0x00100000; -dword x86esp_reg = #0x00100000; +#ifdef MEMSIZE + dword alloc_mem = MEMSIZE; + dword x86esp_reg = MEMSIZE; +#else + dword alloc_mem = #0x00100000; + dword x86esp_reg = #0x00100000; +#endif dword I_Param = #param; dword I_Path = #program_path; char param[4096];