+++ /dev/null
-Seg:0 Size:5212 Owner:0x76ff\r
-Seg:145c Size:256 Owner:0x6552\r
-Seg:155c Size:273 Owner:0x92aa\r
-Seg:1af9 Size:17 Owner:0x6532\r
-Seg:1cfa Size:49926 Owner:0x0\r
-Seg:e000 Size:4294909951 Owner:0x5bba\r
16FLAGS=-fh=16.hed
BAKAPIFLAGS=-fh=bakapi.hed
-
-SFLAGS=-k32768#51200#49152
+#-st -zu
+SFLAGS=-k24576#32768#51200#49152
DFLAGS=-DTARGET_MSDOS=16 -DMSDOS=1 $(SFLAGS)
-ZFLAGS=-zk0 -zq# -zu -zm# -zc# -zdp# -zp16 -zq
-CFLAGS=-mc -ei -wo -x# -r
+ZFLAGS=-zk0 -zq# -zu# -zm# -zc# -zdp# -zp16 -zq
+CFLAGS=-mc -ei -wo -x
OFLAGS=-otexanbhrml -ol+
FLAGS=-0 -d2 -lr $(OFLAGS) $(CFLAGS) $(DFLAGS) $(ZFLAGS)
//PM_UnlockMainMem();\r
CA_Startup();
printf(" done!\n");
- /*if(FP_SEG(*argv[0])==0)
- {
- MM_Report(&screen, &mm, &mmi);
- MM_Shutdown(&mm);
- printf("&main()=%Fp\n", *argv[0]);
- printf("&main() == %u\n", FP_SEG(*argv[0]));
- exit(-5);
- }*/
printf("&main()= %Fp\n", *argv[0]);
printf("bigbuffer= %Fp\n", bigbuffer);
printf("&bigbuffer= %Fp\n", &bigbuffer);
if (mm->bombonerror)
{
+ heapdump();
printf(OUT_OF_MEM_MSG,(size-mmi->nearheap));
printf("for stability reasons the program will shut down! wwww\n");
MM_Shutdown(mm);
#endif
-#define SAVENEARHEAP 0//x200 // space to leave in data segment
+#define SAVENEARHEAP 0//_memavl()/4 // space to leave in data segment
#define SAVEFARHEAP 0//x400 // space to leave in far heap
#define BUFFERSIZE 0x1000 // miscelanious, allways available buffer