From a8fc24a25a319e5e4f367462e5f07f079e675f61 Mon Sep 17 00:00:00 2001 From: sparky4 Date: Tue, 28 Jul 2015 16:55:54 -0500 Subject: [PATCH] hmm modified: 16/segm/WPEE modified: 16/segm/pee.c modified: 16/segm/pee.exe --- 16/segm/WPEE | 24 ++++++++++++------------ 16/segm/pee.c | 6 +++++- 16/segm/pee.exe | Bin 15344 -> 15344 bytes 3 files changed, 17 insertions(+), 13 deletions(-) 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 6a00ab3d687347b8abc6741a2209fbdf1bbbcfc9..5da6ee6d4cc8fc87904dbd972d9f37f4fbf32321 100644 GIT binary patch delta 318 zcmexR{-Jz>D3hhzKd}I@9ZC!Vd@mXpCNv-6=mm@HvSA3~dyxkg5epXE5eigb_acq~ zr~t^_Rl*Ro*^fz#kx_1QDzhGtnmmOim2uwYUo0$499+!Zd_2qx`8Kn$w=lA>F)!wr z+{Y2c%Ea6)#xnUWhXgwl^KLeV#VnI~I1e*2ZN9*1BO)Zi%uw>O%k7!L6Nj0dhdVFs z5Zf##*Uru;FnO7(KO@uRZ>otvGD59Xh>cmTTaJTSt<#K+xsye$M~-9ieKiSPHlXPo z%!aptu5|fZqIgseD0`#lR=0V#Khy4fX1*7Dc_#GT25aKu*sP)+%fu+Qxk>Xd7l#DP zu6*XxJESK2n&>l%O|CUDW)WjvEHZhEi8rIjBvVgDkD3fK_Kd~UO9ZC!Vd@mXpCNv-6=!J;bfJE}ZB7wnTJ3@h6yBBc`Km{Of z2}8hUKPE9oMw!j2%z8j-@)VX-#yOjRv9K_4a4>iCaWOCC+04e?!pOqHyqIlrA4e1` z19P_+)8w}t66_4jyV)2PGfn2#F7L&?i7w`T@V9AIW}gsPBRwfP8PKuIkw67)g*LTfTpuC8{P)G z(&cZ7;!!!E?2VpV-R9l?OuO@$`Cjbhnb3C|tcj0pvx<5w6QjuHCe6cK9AYfH@|jQX zkeKXiqR%KYxz@y(MTB{=(Bv&9-i$(%Og$NeHhY==U}Th<>}p -- 2.39.5