]> 4ch.mooo.com Git - 16.git/commitdiff
hmm
authorsparky4 <sparky4@cock.li>
Tue, 28 Jul 2015 21:55:54 +0000 (16:55 -0500)
committersparky4 <sparky4@cock.li>
Tue, 28 Jul 2015 21:55:54 +0000 (16:55 -0500)
modified:   16/segm/WPEE
modified:   16/segm/pee.c
modified:   16/segm/pee.exe

16/segm/WPEE
16/segm/pee.c
16/segm/pee.exe

index 5317ade1f2a3d023f18862ffbc1446105260f4b9..83b9911e669780857a1a1f2b6c6f431d99b181f9 100644 (file)
@@ -1,32 +1,32 @@
 ==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=            0000:0bc6\r
-local variable bee=            0bc6\r
+local variable bee=            0000:0bd6\r
+local variable bee=            0bd6\r
 far pointer value of pee=      0000:0000\r
 pointer value of pee=          0000\r
 ==small==\r
-local variable bee=            0000:0bc6\r
-local variable bee=            0bc6\r
+local variable bee=            0000:0bd6\r
+local variable bee=            0bd6\r
 far pointer value of pee=      0000:0000\r
 pointer value of pee=          0000\r
 ==medium==\r
-local variable bee=            0000:0bce\r
-local variable bee=            0bce\r
+local variable bee=            0000:0bde\r
+local variable bee=            0bde\r
 far pointer value of pee=      0000:0000\r
 pointer value of pee=          0000\r
 ==compact is what project 16 uses==\r
 local variable bee=            05d5:0c32\r
 local variable bee=            05d5:0c32\r
-far pointer value of pee=      0000:0000\r
-pointer value of pee=          0000:0000\r
+far pointer value of pee=      05d5:0000\r
+pointer value of pee=          05d5:0000\r
 ==large==\r
 local variable bee=            05e1:0c3a\r
 local variable bee=            05e1:0c3a\r
-far pointer value of pee=      0000:0000\r
-pointer value of pee=          0000:0000\r
+far pointer value of pee=      05e1:0000\r
+pointer value of pee=          05e1:0000\r
 ==HUGE GUTS!==\r
 local variable bee=            06af:0c0a\r
 local variable bee=            06af:0c0a\r
-far pointer value of pee=      0000:0000\r
-pointer value of pee=          0000:0000\r
+far pointer value of pee=      06af:0000\r
+pointer value of pee=          06af:0000\r
index 65c82894164f144f681ee1d7625f8c413e5c86d4..98caebc990beff5d1d759c13e511c5157dcdbf10 100644 (file)
        Segment experiment!
 */
 #include <stdio.h>
+
+__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;
index 6a00ab3d687347b8abc6741a2209fbdf1bbbcfc9..5da6ee6d4cc8fc87904dbd972d9f37f4fbf32321 100644 (file)
Binary files a/16/segm/pee.exe and b/16/segm/pee.exe differ