From: sparky4 Date: Thu, 23 Jul 2015 13:48:09 +0000 (-0500) Subject: added segment experiment! X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=e8cde0f17dff4874f4b1baa5f949940e24e89638;p=16.git added segment experiment! modified: 16.exe modified: 16.hed new file: 16/segm/pee.c modified: exmmtest.exe modified: fontgfx.exe modified: fonttest.exe modified: inputest.exe modified: maptest.exe modified: palettec.exe modified: pcxtest.exe modified: sountest.exe modified: test.exe modified: test2.exe modified: tsthimem.exe --- diff --git a/16.exe b/16.exe index 1798b360..50e959ff 100644 Binary files a/16.exe and b/16.exe differ diff --git a/16.hed b/16.hed index ab3e0297..e4b49e1a 100644 Binary files a/16.hed and b/16.hed differ diff --git a/16/segm/pee.c b/16/segm/pee.c new file mode 100644 index 00000000..49e9dae9 --- /dev/null +++ b/16/segm/pee.c @@ -0,0 +1,38 @@ +/* Project 16 Source Code~ + * Copyright (C) 2012-2015 sparky4 & pngwen & andrius4669 + * + * This file is part of Project 16. + * + * Project 16 is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * Project 16 is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see , or + * write to the Free Software Foundation, Inc., 51 Franklin Street, + * Fifth Floor, Boston, MA 02110-1301 USA. + * + */ +/* + Segment experiment! +*/ +#include +#ifdef __WATCOMC__ +typedef void __based(__self) * memptr; +#endif +#ifdef __BORLANDC__ +typedef void _seg * memptr; +#endif + +void +main(int argc, char *argv[]) +{ + memptr pee; + printf("pee=%FP\n", pee); +} diff --git a/exmmtest.exe b/exmmtest.exe index 0b50c78d..16ed980b 100644 Binary files a/exmmtest.exe and b/exmmtest.exe differ diff --git a/fontgfx.exe b/fontgfx.exe index 95023801..55d03ac4 100644 Binary files a/fontgfx.exe and b/fontgfx.exe differ diff --git a/fonttest.exe b/fonttest.exe index 474ba8a4..7f7af800 100644 Binary files a/fonttest.exe and b/fonttest.exe differ diff --git a/inputest.exe b/inputest.exe index 6168822c..842c7b7d 100644 Binary files a/inputest.exe and b/inputest.exe differ diff --git a/maptest.exe b/maptest.exe index 33739243..c73928d6 100644 Binary files a/maptest.exe and b/maptest.exe differ diff --git a/palettec.exe b/palettec.exe index 0066ab52..31f055c1 100644 Binary files a/palettec.exe and b/palettec.exe differ diff --git a/pcxtest.exe b/pcxtest.exe index 401a18c5..b9814b6d 100644 Binary files a/pcxtest.exe and b/pcxtest.exe differ diff --git a/sountest.exe b/sountest.exe index 69b1620e..eb47aad2 100644 Binary files a/sountest.exe and b/sountest.exe differ diff --git a/test.exe b/test.exe index 60ad10da..bcd6c01d 100644 Binary files a/test.exe and b/test.exe differ diff --git a/test2.exe b/test2.exe index 4131aea0..2e214f45 100644 Binary files a/test2.exe and b/test2.exe differ diff --git a/tsthimem.exe b/tsthimem.exe index 8fe053e6..465bcca1 100644 Binary files a/tsthimem.exe and b/tsthimem.exe differ