From: sparky4 Date: Tue, 28 Jul 2015 21:55:54 +0000 (-0500) Subject: hmm X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=a8fc24a25a319e5e4f367462e5f07f079e675f61;p=16.git hmm modified: 16/segm/WPEE modified: 16/segm/pee.c modified: 16/segm/pee.exe --- diff --git a/16/segm/WPEE b/16/segm/WPEE index 5317ade1..83b9911e 100644 --- a/16/segm/WPEE +++ b/16/segm/WPEE @@ -1,32 +1,32 @@ ==This is the results of open watcom's base pointers== These are the various memory models of the 8088 that are demonstrated here! ==tiny is not found so default== -local variable bee= 0000:0bc6 -local variable bee= 0bc6 +local variable bee= 0000:0bd6 +local variable bee= 0bd6 far pointer value of pee= 0000:0000 pointer value of pee= 0000 ==small== -local variable bee= 0000:0bc6 -local variable bee= 0bc6 +local variable bee= 0000:0bd6 +local variable bee= 0bd6 far pointer value of pee= 0000:0000 pointer value of pee= 0000 ==medium== -local variable bee= 0000:0bce -local variable bee= 0bce +local variable bee= 0000:0bde +local variable bee= 0bde far pointer value of pee= 0000:0000 pointer value of pee= 0000 ==compact is what project 16 uses== local variable bee= 05d5:0c32 local variable bee= 05d5:0c32 -far pointer value of pee= 0000:0000 -pointer value of pee= 0000:0000 +far pointer value of pee= 05d5:0000 +pointer value of pee= 05d5:0000 ==large== local variable bee= 05e1:0c3a local variable bee= 05e1:0c3a -far pointer value of pee= 0000:0000 -pointer value of pee= 0000:0000 +far pointer value of pee= 05e1:0000 +pointer value of pee= 05e1:0000 ==HUGE GUTS!== local variable bee= 06af:0c0a local variable bee= 06af:0c0a -far pointer value of pee= 0000:0000 -pointer value of pee= 0000:0000 +far pointer value of pee= 06af:0000 +pointer value of pee= 06af:0000 diff --git a/16/segm/pee.c b/16/segm/pee.c index 65c82894..98caebc9 100644 --- a/16/segm/pee.c +++ b/16/segm/pee.c @@ -23,9 +23,13 @@ Segment experiment! */ #include + +__segment segu; + #ifdef __WATCOMC__ //typedef void __based(__self) * memptr; -typedef __segment * memptr; +//typedef __segment * memptr; +typedef void __based(segu) * memptr; #endif #ifdef __BORLANDC__ typedef void _seg * memptr; diff --git a/16/segm/pee.exe b/16/segm/pee.exe index 6a00ab3d..5da6ee6d 100644 Binary files a/16/segm/pee.exe and b/16/segm/pee.exe differ