]> 4ch.mooo.com Git - 16.git/commitdiff
more on segment experiment
authorsparky4 <sparky4@cock.li>
Tue, 28 Jul 2015 16:09:37 +0000 (11:09 -0500)
committersparky4 <sparky4@cock.li>
Tue, 28 Jul 2015 16:09:37 +0000 (11:09 -0500)
modified:   16/segm/BPEE
modified:   16/segm/PEE.EXE
modified:   16/segm/WPEE
modified:   16/segm/pee.c

16/segm/BPEE
16/segm/PEE.EXE
16/segm/WPEE
16/segm/pee.c

index 3b0c51e9f5abb4012f21f272d1dab23446970dd7..f131e9b1e1a84cfb1d369a75b1187a3afe8dfc60 100644 (file)
@@ -1,26 +1,32 @@
 ==This is the results of borland c's segment pointers==\r
 These are the various memory models of the 8088 that are demonstrated here!\r
 ==tiny==\r
-local variable bee=            168E:FFF4\r
-far pointer value of pee=      168E:168E\r
-pointer value of pee=          168E\r
+local variable bee=            16B8:FFF4\r
+local variable bee=            FFF4\r
+far pointer value of pee=      16B8:16B8\r
+pointer value of pee=          16B8\r
 ==small==\r
-local variable bee=            0116:FFF4\r
-far pointer value of pee=      0116:0116\r
-pointer value of pee=          0116\r
+local variable bee=            0130:FFF4\r
+local variable bee=            FFF4\r
+far pointer value of pee=      0130:0130\r
+pointer value of pee=          0130\r
 ==medium==\r
-local variable bee=            02FB:FFF2\r
-far pointer value of pee=      02FB:02FB\r
-pointer value of pee=          02FB\r
+local variable bee=            0340:FFF2\r
+local variable bee=            FFF2\r
+far pointer value of pee=      0340:0340\r
+pointer value of pee=          0340\r
 ==compact is what project 16 uses==\r
-local variable bee=            04DC:1000\r
-far pointer value of pee=      0104:0104\r
-pointer value of pee=          0104:0104\r
+local variable bee=            0524:1000\r
+local variable bee=            0524:1000\r
+far pointer value of pee=      011E:011E\r
+pointer value of pee=          011E:011E\r
 ==large==\r
-local variable bee=            04E7:0FFE\r
-far pointer value of pee=      02FB:02FB\r
-pointer value of pee=          02FB:02FB\r
+local variable bee=            0530:0FFE\r
+local variable bee=            0530:0FFE\r
+far pointer value of pee=      0340:0340\r
+pointer value of pee=          0340:0340\r
 ==HUGE GUTS!==\r
-local variable bee=            0508:0FFE\r
-far pointer value of pee=      04C9:0134\r
-pointer value of pee=          04C9:0134\r
+local variable bee=            054F:0FFE\r
+local variable bee=            054F:0FFE\r
+far pointer value of pee=      0510:0134\r
+pointer value of pee=          0510:0134\r
index 9322ef7f7ffe8e343538bae821982a26728183e3..d251d9ceaf2bae14ec4d3086b65504346f189ccf 100644 (file)
Binary files a/16/segm/PEE.EXE and b/16/segm/PEE.EXE differ
index 66f69454f0a1fa24039f2740c46710012824d019..918ae5bf423c32d5246cb5c4df7f72e70d28ee4c 100644 (file)
@@ -1,26 +1,27 @@
 ==This is the results of open watcom's base pointers==\r
 These are the various memory models of the 8088 that are demonstrated here!\r
 ==tiny is not found so default==\r
-local variable bee=            0508:0FFE\r
-far pointer value of pee=      04C9:0134\r
-pointer value of pee=          04C9:0134\r
+local variable bee=            06ae:0bfc\r
+far pointer value of pee=      06ae:0000\r
+pointer value of pee=          06ae:0000\r
 ==small==\r
-local variable bee=            0508:0FFE\r
-far pointer value of pee=      04C9:0134\r
-pointer value of pee=          04C9:0134\r
+local variable bee=            06ae:0bfc\r
+far pointer value of pee=      06ae:0000\r
+pointer value of pee=          06ae:0000\r
 ==medium==\r
-local variable bee=            0508:0FFE\r
-far pointer value of pee=      04C9:0134\r
-pointer value of pee=          04C9:0134\r
+local variable bee=            06ae:0bfc\r
+far pointer value of pee=      06ae:0000\r
+pointer value of pee=          06ae:0000\r
 ==compact is what project 16 uses==\r
-local variable bee=            0508:0FFE\r
-far pointer value of pee=      04C9:0134\r
-pointer value of pee=          04C9:0134\r
+local variable bee=            06ae:0bfc\r
+far pointer value of pee=      06ae:0000\r
+pointer value of pee=          06ae:0000\r
 ==large==\r
-local variable bee=            0508:0FFE\r
-far pointer value of pee=      04C9:0134\r
-pointer value of pee=          04C9:0134\r
+local variable bee=            06ae:0bfc\r
+far pointer value of pee=      06ae:0000\r
+pointer value of pee=          06ae:0000\r
 ==HUGE GUTS!==\r
-local variable bee=            0669:0bfc\r
-far pointer value of pee=      0669:0000\r
-pointer value of pee=          0669:0000\r
+local variable bee=            06af:0c0a\r
+local variable bee=            06af:0c0a\r
+far pointer value of pee=      06af:0000\r
+pointer value of pee=          06af:0000\r
index 6ac4cbeef87bedf99b11a60f4ea30e0daf5ae06a..bb4708d855309b747bb066d8b1225b588872c131 100644 (file)
@@ -36,6 +36,7 @@ main(/*int argc, char *argv[]*/)
        unsigned bee=0;
        memptr pee;
        printf("local variable bee=             %Fp\n", &bee);
+       printf("local variable bee=             %p\n", &bee);
        printf("far pointer value of pee=       %Fp\n", pee);
        printf("pointer value of pee=           %p\n", pee);
 }