]> 4ch.mooo.com Git - 16.git/commitdiff
made it more documented the segment experiment
authorsparky4 <sparky4@cock.li>
Thu, 23 Jul 2015 17:58:43 +0000 (12:58 -0500)
committersparky4 <sparky4@cock.li>
Thu, 23 Jul 2015 17:58:43 +0000 (12:58 -0500)
modified:   16/segm/BPEE
modified:   16/segm/PEE.EXE
modified:   16/segm/WPEE
modified:   16/segm/b.bat
modified:   16/segm/pee.c
modified:   16/segm/w.bat

16/segm/BPEE
16/segm/PEE.EXE
16/segm/WPEE
16/segm/b.bat
16/segm/pee.c
16/segm/w.bat

index 6bcc9bb0014d590336a35bdeaba2425c7fb099eb..49232ca2734e00cb7e0f8c3ecc444fd8aaf94712 100644 (file)
@@ -1,35 +1,32 @@
-bee=18DC:FFF4\r
-pee=18DC:18DC\r
-pee=18DC\r
-pee=18dc\r
-pee=6364\r
-"===="\r
-bee=0354:FFF4\r
-pee=0354:0354\r
-pee=0354\r
-pee=354\r
-pee=852\r
-"===="\r
-bee=035A:FFF2\r
-pee=035A:035A\r
-pee=035A\r
-pee=35a\r
-pee=858\r
-"===="\r
-bee=051E:1000\r
-pee=0388:0388\r
-pee=0388:0388\r
-pee=388\r
-pee=904\r
-"===="\r
-bee=052B:0FFE\r
-pee=038E:038E\r
-pee=038E:038E\r
-pee=38e\r
-pee=910\r
-"===="\r
-bee=054A:0FFE\r
-pee=050B:03E2\r
-pee=050B:03E2\r
+==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=18E4:FFF4\r
+pee=18E4:18E4\r
+pee=18E4\r
+pee=18e4\r
+==small==\r
+local variable bee=035C:FFF4\r
+pee=035C:035C\r
+pee=035C\r
+pee=35c\r
+==medium==\r
+local variable bee=0362:FFF2\r
+pee=0362:0362\r
+pee=0362\r
+pee=362\r
+==compact is what project 16 uses==\r
+local variable bee=051E:1000\r
+pee=0390:0390\r
+pee=0390:0390\r
+pee=390\r
+==large==\r
+local variable bee=052A:0FFE\r
+pee=0396:0396\r
+pee=0396:0396\r
+pee=396\r
+==HUGE GUTS!==\r
+local variable bee=054B:0FFE\r
+pee=050C:03E2\r
+pee=050C:03E2\r
 pee=3e2\r
-pee=994\r
index 77c43a6532a581fc5b80314fa0524d68d3e11365..bf43da3fe1397c16cd84ed8d83f91bd4972ab220 100644 (file)
Binary files a/16/segm/PEE.EXE and b/16/segm/PEE.EXE differ
index 27374aa179559731ea40497e7ff00874e5e68988..fa3d8e06aa47bc798c6509cd867cd3cbdd9e856d 100644 (file)
@@ -1,35 +1,32 @@
-bee=054A:0FFE\r
-pee=050B:03E2\r
-pee=050B:03E2\r
+==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=054B:0FFE\r
+pee=050C:03E2\r
+pee=050C:03E2\r
 pee=3e2\r
-pee=994\r
-"===="\r
-bee=054A:0FFE\r
-pee=050B:03E2\r
-pee=050B:03E2\r
+==small==\r
+local variable bee=054B:0FFE\r
+pee=050C:03E2\r
+pee=050C:03E2\r
 pee=3e2\r
-pee=994\r
-"===="\r
-bee=054A:0FFE\r
-pee=050B:03E2\r
-pee=050B:03E2\r
+==medium==\r
+local variable bee=054B:0FFE\r
+pee=050C:03E2\r
+pee=050C:03E2\r
 pee=3e2\r
-pee=994\r
-"===="\r
-bee=054A:0FFE\r
-pee=050B:03E2\r
-pee=050B:03E2\r
+==compact is what project 16 uses==\r
+local variable bee=054B:0FFE\r
+pee=050C:03E2\r
+pee=050C:03E2\r
 pee=3e2\r
-pee=994\r
-"===="\r
-bee=054A:0FFE\r
-pee=050B:03E2\r
-pee=050B:03E2\r
+==large==\r
+local variable bee=054B:0FFE\r
+pee=050C:03E2\r
+pee=050C:03E2\r
 pee=3e2\r
-pee=994\r
-"===="\r
-bee=06af:0bcc\r
-pee=06af:0000\r
-pee=06af:0000\r
-pee=0\r
+==HUGE GUTS!==\r
+local variable bee=06ae:0bcc\r
+pee=06ae:0000\r
+pee=06ae:0000\r
 pee=0\r
index e99229cc7425df3d5237dc0bbec8a99cc9e23bee..f8ecdb1ba4c9ebeba77b7eb4c6cd4e3ba3be62a9 100644 (file)
@@ -1,18 +1,21 @@
 @echo off
+echo ==This is the results of borland c's segment pointers== > bpee
+echo These are the various memory models of the 8088 that are demonstrated here! >> bpee
+echo ==tiny== >> bpee
 bcc -mt pee.c
-pee.exe > bpee
-echo "====" >> bpee
+pee.exe >> bpee
+echo ==small== >> bpee
 bcc -ms pee.c
 pee.exe >> bpee
-echo "====" >> bpee
+echo ==medium== >> bpee
 bcc -mm pee.c
 pee.exe >> bpee
-echo "====" >> bpee
+echo ==compact is what project 16 uses== >> bpee
 bcc -mc pee.c
 pee.exe >> bpee
-echo "====" >> bpee
+echo ==large== >> bpee
 bcc -ml pee.c
 pee.exe >> bpee
-echo "====" >> bpee
+echo ==HUGE GUTS!== >> bpee
 bcc -mh pee.c
 pee.exe >> bpee
\ No newline at end of file
index d8519df9ca179500008eae62de4827569361f141..8a042827f36f006f135b986d58f6cff38862ca90 100644 (file)
@@ -33,11 +33,10 @@ typedef void _seg * memptr;
 void
 main(/*int argc, char *argv[]*/)\r
 {
-       short bee=0;
+       unsigned bee=0;
        memptr pee;
-       printf("bee=%Fp\n", &bee);
+       printf("local variable bee=%Fp\n", &bee);
        printf("pee=%Fp\n", pee);
        printf("pee=%p\n", pee);
        printf("pee=%x\n", pee);
-       printf("pee=%u\n", pee);
 }
index 82c3c09df00b2afa496dfc9e3a14a9e2d95d9da3..257607cde205a82a427d6be87564573ace577f80 100644 (file)
@@ -1,18 +1,21 @@
 @echo off
+echo ==This is the results of open watcom's base pointers== > wpee
+echo These are the various memory models of the 8088 that are demonstrated here! >> wpee
+echo ==tiny is not found so default== >> wpee
 wcc -0 -mt pee.c
-pee.exe > wpee
-echo "====" >> wpee
+pee.exe >> wpee
+echo ==small== >> wpee
 wcc -0 -ms pee.c
 pee.exe >> wpee
-echo "====" >> wpee
+echo ==medium== >> wpee
 wcc -0 -mm pee.c
 pee.exe >> wpee
-echo "====" >> wpee
+echo ==compact is what project 16 uses== >> wpee
 wcc -0 -mc pee.c
 pee.exe >> wpee
-echo "====" >> wpee
+echo ==large== >> wpee
 wcc -0 -ml pee.c
 pee.exe >> wpee
-echo "====" >> wpee
+echo ==HUGE GUTS!== >> wpee
 wcl -0 -mh pee.c
 pee.exe >> wpee
\ No newline at end of file