-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
-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
@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
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);
}
@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