From 79ef6da1ef02e32f0335839aa146a7773b45d66f Mon Sep 17 00:00:00 2001 From: sparky4 Date: Wed, 1 Jul 2015 12:47:50 -0500 Subject: [PATCH] basic 16.exe core implemented~ modified: 16.exe modified: data/g.pal modified: src/16.c modified: src/16.h --- 16.exe | Bin 52569 -> 53610 bytes data/g.pal | Bin 768 -> 768 bytes src/16.c | 24 +++++++++++++++++++++++- src/16.h | 4 ++++ 4 files changed, 27 insertions(+), 1 deletion(-) diff --git a/16.exe b/16.exe index cdf2d4fca573185cc5fbb6d671da663e7cc98b4e..d407dac141d591d9fa2508db9ccc8bcbbb848d09 100644 GIT binary patch delta 20044 zcmZv^3qVxW_CLPo%;E5c0fu3Ch=7W36CWr(2o+Jw2Z~~vIwEic<8@&WHFF@;JPwk! zwYrri>b1x1maki+H$(ARX})e3vC_1E_t03^)XbEa-)HYL1K9V^y?bVz&t7}&wbx#I z?X~wDyZoB|#~pgxl)0&7IN3yclKwiUbBQPMA|yGAkQk!_xeS;+;dtJe1uicTlcG5^@GI=X4hL`ASR=nM6nJfV3P^1(>x}exm-a@&K@*7IZ z7($*vk!|?+c`PCS9tVw53CTfu6=g5V=O{N&ZlUPL6B31zh%yx=6QvYo_5?!SMfr3R zAwjbU*@SWd<-<%uzCr0Rn~>=!i&2)KtVMYPXvNVL5~>}h`X%z&En>WMCEE|iOF8my7_ zv>fnjiP;BdS;V=qiRBeue%n4if6O z(YM7Y-8TMkc+dXd#icsGeWd36$+T91s9(p@XQlA?+(;$ufs%O(hUo?oUDbziN@H!a zbC{|A07*C1pAys6dvWxj6g9!48|F0a_L_$0x~YfbloQ|@k^v4kTYX%;j#MA>Q*L4s z8mm{`CgokLSKTM&MW*_zZYCN>yLg%{8@fXlyaU~)pxaTk&Feh}evkg{yBTN4RUh+F z$F*yt)48-sj;q(B8y~HkmPX=SdfT4Xwqe_kf7F~;ZtL!=_qx-~o}=P#cWWQoVf1lO z{WR7+G_zaS!B~3Fv+HBWB$IvWt#svfqBC)(sN8ohy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patch literal 768 QcmZQz7zLvtFmgix00RI30RR91 literal 768 zcmeIuK?=hl5J1ttl3BRXjk*wwga#}O77Pg~#rxkX=P2YI;Q+uYm9l0IVX>2;2#EVN3#hU diff --git a/src/16.c b/src/16.c index 5f3487fe..6ead54ba 100644 --- a/src/16.c +++ b/src/16.c @@ -20,8 +20,30 @@ * */ +#include "src/16.h" + void main(int argc, char *argv[]) { - + const char *cpus; + byte *dpal, *gpal; + /* save the palette */ + dpal = modexNewPal(); + modexPalSave(dpal); + modexFadeOff(4, dpal); + printf("pal load\n"); + gpal = modexNewPal(); + modexPalSave(gpal); + modexSavePalFile("data/g.pal", gpal); + modexPalBlack(); //so player will not see loadings~ + printf("wwww loop wwww\n"); + switch(detectcpu()) + { + case 0: cpus = "8086/8088 or 186/88"; break; + case 1: cpus = "286"; break; + case 2: cpus = "386 or newer"; break; + default: cpus = "internal error"; break; + } + printf("detected CPU type: %s\n", cpus); + modexFadeOn(4, dpal); } diff --git a/src/16.h b/src/16.h index 8cab0638..7f2e0976 100644 --- a/src/16.h +++ b/src/16.h @@ -23,5 +23,9 @@ #ifndef __16_H_ #define __16_H_ +#include "src/lib/lib_head.h" +#include "src/lib/modex16.h" +#include "src/lib/wcpu/wcpu.h" +#include "src/lib/planar.h" #endif /*__16_H_*/ -- 2.39.5