From 763f998468f021c4cab3aeadc1ee0d6e3b89f9b0 Mon Sep 17 00:00:00 2001 From: sparky4 Date: Fri, 10 Feb 2017 09:26:37 -0600 Subject: [PATCH] cannot think on the pal maker --- TEST.L16 | 794 ++++++++++++++++++++++++++++++++++++++++++++++++++++- src/test.c | 8 +- 2 files changed, 799 insertions(+), 3 deletions(-) diff --git a/TEST.L16 b/TEST.L16 index c0b07783..2171f5a1 100755 --- a/TEST.L16 +++ b/TEST.L16 @@ -1,8 +1,798 @@ qqqqqqqq + +qqqqqqqq + +chkcolor start~ +1 (*z): 0 +1 (*i): 256 +wwwwwwwwwwwwwwww +!! a[16]: 0 +!! a[255]: 0 +wwwwwwwwwwwwwwww +2 (*z): 256 +2 (*i): 256 +chkcolor end~ +p[]=0 qp=48 p[]-qp=48 +p[]=1 qp=48 p[]-qp=49 +p[]=2 qp=48 p[]-qp=50 +p[]=3 qp=48 p[]-qp=51 +p[]=4 qp=48 p[]-qp=52 +p[]=5 qp=48 p[]-qp=53 +p[]=6 qp=48 p[]-qp=54 +p[]=7 qp=48 p[]-qp=55 +p[]=8 qp=48 p[]-qp=56 +p[]=9 qp=48 p[]-qp=57 +p[]=10 qp=48 p[]-qp=58 +p[]=11 qp=48 p[]-qp=59 +p[]=12 qp=48 p[]-qp=60 +p[]=13 qp=48 p[]-qp=61 +p[]=14 qp=48 p[]-qp=62 +p[]=15 qp=48 p[]-qp=63 +p[]=16 qp=48 p[]-qp=64 +p[]=17 qp=48 p[]-qp=65 +p[]=18 qp=48 p[]-qp=66 +p[]=19 qp=48 p[]-qp=67 +p[]=20 qp=48 p[]-qp=68 +p[]=21 qp=48 p[]-qp=69 +p[]=22 qp=48 p[]-qp=70 +p[]=23 qp=48 p[]-qp=71 + 48's color=24 + 49's color=24 + 50's color=24 + +qqqqqqqq + +p[]=0 qp=765 p[]-qp=765 +p[]=1 qp=765 p[]-qp=766 +p[]=2 qp=765 p[]-qp=767 +p[]=3 qp=765 p[]-qp=768 +p[]=4 qp=765 p[]-qp=769 +p[]=5 qp=765 p[]-qp=770 +p[]=6 qp=765 p[]-qp=771 +p[]=7 qp=765 p[]-qp=772 +p[]=8 qp=765 p[]-qp=773 +p[]=9 qp=765 p[]-qp=774 +p[]=10 qp=765 p[]-qp=775 +p[]=11 qp=765 p[]-qp=776 +p[]=12 qp=765 p[]-qp=777 +p[]=13 qp=765 p[]-qp=778 +p[]=14 qp=765 p[]-qp=779 +p[]=15 qp=765 p[]-qp=780 +p[]=16 qp=765 p[]-qp=781 +p[]=17 qp=765 p[]-qp=782 +p[]=18 qp=765 p[]-qp=783 +p[]=19 qp=765 p[]-qp=784 +p[]=20 qp=765 p[]-qp=785 +p[]=21 qp=765 p[]-qp=786 +p[]=22 qp=765 p[]-qp=787 +p[]=23 qp=765 p[]-qp=788 +p[]=24 qp=765 p[]-qp=789 +p[]=25 qp=765 p[]-qp=790 +p[]=26 qp=765 p[]-qp=791 +p[]=27 qp=765 p[]-qp=792 +p[]=28 qp=765 p[]-qp=793 +p[]=29 qp=765 p[]-qp=794 +p[]=30 qp=765 p[]-qp=795 +p[]=31 qp=765 p[]-qp=796 +p[]=32 qp=765 p[]-qp=797 +p[]=33 qp=765 p[]-qp=798 +p[]=34 qp=765 p[]-qp=799 +p[]=35 qp=765 p[]-qp=800 +p[]=36 qp=765 p[]-qp=801 +p[]=37 qp=765 p[]-qp=802 +p[]=38 qp=765 p[]-qp=803 +p[]=39 qp=765 p[]-qp=804 +p[]=40 qp=765 p[]-qp=805 +p[]=41 qp=765 p[]-qp=806 +p[]=42 qp=765 p[]-qp=807 +p[]=43 qp=765 p[]-qp=808 +p[]=44 qp=765 p[]-qp=809 +p[]=45 qp=765 p[]-qp=810 +p[]=46 qp=765 p[]-qp=811 +p[]=47 qp=765 p[]-qp=812 +p[]=48 qp=765 p[]-qp=813 +p[]=49 qp=765 p[]-qp=814 +p[]=50 qp=765 p[]-qp=815 +p[]=51 qp=765 p[]-qp=816 +p[]=52 qp=765 p[]-qp=817 +p[]=53 qp=765 p[]-qp=818 +p[]=54 qp=765 p[]-qp=819 +p[]=55 qp=765 p[]-qp=820 +p[]=56 qp=765 p[]-qp=821 +p[]=57 qp=765 p[]-qp=822 +p[]=58 qp=765 p[]-qp=823 +p[]=59 qp=765 p[]-qp=824 +p[]=60 qp=765 p[]-qp=825 +p[]=61 qp=765 p[]-qp=826 +p[]=62 qp=765 p[]-qp=827 +p[]=63 qp=765 p[]-qp=828 +p[]=64 qp=765 p[]-qp=829 +p[]=65 qp=765 p[]-qp=830 +p[]=66 qp=765 p[]-qp=831 +p[]=67 qp=765 p[]-qp=832 +p[]=68 qp=765 p[]-qp=833 +p[]=69 qp=765 p[]-qp=834 +p[]=70 qp=765 p[]-qp=835 +p[]=71 qp=765 p[]-qp=836 +p[]=72 qp=765 p[]-qp=837 +p[]=73 qp=765 p[]-qp=838 +p[]=74 qp=765 p[]-qp=839 +p[]=75 qp=765 p[]-qp=840 +p[]=76 qp=765 p[]-qp=841 +p[]=77 qp=765 p[]-qp=842 +p[]=78 qp=765 p[]-qp=843 +p[]=79 qp=765 p[]-qp=844 +p[]=80 qp=765 p[]-qp=845 +p[]=81 qp=765 p[]-qp=846 +p[]=82 qp=765 p[]-qp=847 +p[]=83 qp=765 p[]-qp=848 +p[]=84 qp=765 p[]-qp=849 +p[]=85 qp=765 p[]-qp=850 +p[]=86 qp=765 p[]-qp=851 +p[]=87 qp=765 p[]-qp=852 +p[]=88 qp=765 p[]-qp=853 +p[]=89 qp=765 p[]-qp=854 +p[]=90 qp=765 p[]-qp=855 +p[]=91 qp=765 p[]-qp=856 +p[]=92 qp=765 p[]-qp=857 +p[]=93 qp=765 p[]-qp=858 +p[]=94 qp=765 p[]-qp=859 +p[]=95 qp=765 p[]-qp=860 +p[]=96 qp=765 p[]-qp=861 +p[]=97 qp=765 p[]-qp=862 +p[]=98 qp=765 p[]-qp=863 +p[]=99 qp=765 p[]-qp=864 +p[]=100 qp=765 p[]-qp=865 +p[]=101 qp=765 p[]-qp=866 +p[]=102 qp=765 p[]-qp=867 +p[]=103 qp=765 p[]-qp=868 +p[]=104 qp=765 p[]-qp=869 +p[]=105 qp=765 p[]-qp=870 +p[]=106 qp=765 p[]-qp=871 +p[]=107 qp=765 p[]-qp=872 +p[]=108 qp=765 p[]-qp=873 +p[]=109 qp=765 p[]-qp=874 +p[]=110 qp=765 p[]-qp=875 +p[]=111 qp=765 p[]-qp=876 +p[]=112 qp=765 p[]-qp=877 +p[]=113 qp=765 p[]-qp=878 +p[]=114 qp=765 p[]-qp=879 +p[]=115 qp=765 p[]-qp=880 +p[]=116 qp=765 p[]-qp=881 +p[]=117 qp=765 p[]-qp=882 +p[]=118 qp=765 p[]-qp=883 +p[]=119 qp=765 p[]-qp=884 +p[]=120 qp=765 p[]-qp=885 +p[]=121 qp=765 p[]-qp=886 +p[]=122 qp=765 p[]-qp=887 +p[]=123 qp=765 p[]-qp=888 +p[]=124 qp=765 p[]-qp=889 +p[]=125 qp=765 p[]-qp=890 +p[]=126 qp=765 p[]-qp=891 +p[]=127 qp=765 p[]-qp=892 +p[]=128 qp=765 p[]-qp=893 +p[]=129 qp=765 p[]-qp=894 +p[]=130 qp=765 p[]-qp=895 +p[]=131 qp=765 p[]-qp=896 +p[]=132 qp=765 p[]-qp=897 +p[]=133 qp=765 p[]-qp=898 +p[]=134 qp=765 p[]-qp=899 +p[]=135 qp=765 p[]-qp=900 +p[]=136 qp=765 p[]-qp=901 +p[]=137 qp=765 p[]-qp=902 +p[]=138 qp=765 p[]-qp=903 +p[]=139 qp=765 p[]-qp=904 +p[]=140 qp=765 p[]-qp=905 +p[]=141 qp=765 p[]-qp=906 +p[]=142 qp=765 p[]-qp=907 +p[]=143 qp=765 p[]-qp=908 +p[]=144 qp=765 p[]-qp=909 +p[]=145 qp=765 p[]-qp=910 +p[]=146 qp=765 p[]-qp=911 +p[]=147 qp=765 p[]-qp=912 +p[]=148 qp=765 p[]-qp=913 +p[]=149 qp=765 p[]-qp=914 +p[]=150 qp=765 p[]-qp=915 +p[]=151 qp=765 p[]-qp=916 +p[]=152 qp=765 p[]-qp=917 +p[]=153 qp=765 p[]-qp=918 +p[]=154 qp=765 p[]-qp=919 +p[]=155 qp=765 p[]-qp=920 +p[]=156 qp=765 p[]-qp=921 +p[]=157 qp=765 p[]-qp=922 +p[]=158 qp=765 p[]-qp=923 +p[]=159 qp=765 p[]-qp=924 +p[]=160 qp=765 p[]-qp=925 +p[]=161 qp=765 p[]-qp=926 +p[]=162 qp=765 p[]-qp=927 +p[]=163 qp=765 p[]-qp=928 +p[]=164 qp=765 p[]-qp=929 +p[]=165 qp=765 p[]-qp=930 +p[]=166 qp=765 p[]-qp=931 +p[]=167 qp=765 p[]-qp=932 +p[]=168 qp=765 p[]-qp=933 +p[]=169 qp=765 p[]-qp=934 +p[]=170 qp=765 p[]-qp=935 +p[]=171 qp=765 p[]-qp=936 +p[]=172 qp=765 p[]-qp=937 +p[]=173 qp=765 p[]-qp=938 +p[]=174 qp=765 p[]-qp=939 +p[]=175 qp=765 p[]-qp=940 +p[]=176 qp=765 p[]-qp=941 +p[]=177 qp=765 p[]-qp=942 +p[]=178 qp=765 p[]-qp=943 +p[]=179 qp=765 p[]-qp=944 +p[]=180 qp=765 p[]-qp=945 +p[]=181 qp=765 p[]-qp=946 +p[]=182 qp=765 p[]-qp=947 +p[]=183 qp=765 p[]-qp=948 +p[]=184 qp=765 p[]-qp=949 +p[]=185 qp=765 p[]-qp=950 +p[]=186 qp=765 p[]-qp=951 +p[]=187 qp=765 p[]-qp=952 +p[]=188 qp=765 p[]-qp=953 +p[]=189 qp=765 p[]-qp=954 +p[]=190 qp=765 p[]-qp=955 +p[]=191 qp=765 p[]-qp=956 +p[]=192 qp=765 p[]-qp=957 +p[]=193 qp=765 p[]-qp=958 +p[]=194 qp=765 p[]-qp=959 +p[]=195 qp=765 p[]-qp=960 +p[]=196 qp=765 p[]-qp=961 +p[]=197 qp=765 p[]-qp=962 +p[]=198 qp=765 p[]-qp=963 +p[]=199 qp=765 p[]-qp=964 +p[]=200 qp=765 p[]-qp=965 +p[]=201 qp=765 p[]-qp=966 +p[]=202 qp=765 p[]-qp=967 +p[]=203 qp=765 p[]-qp=968 +p[]=204 qp=765 p[]-qp=969 +p[]=205 qp=765 p[]-qp=970 +p[]=206 qp=765 p[]-qp=971 +p[]=207 qp=765 p[]-qp=972 +p[]=208 qp=765 p[]-qp=973 +p[]=209 qp=765 p[]-qp=974 +p[]=210 qp=765 p[]-qp=975 +p[]=211 qp=765 p[]-qp=976 +p[]=212 qp=765 p[]-qp=977 +p[]=213 qp=765 p[]-qp=978 +p[]=214 qp=765 p[]-qp=979 +p[]=215 qp=765 p[]-qp=980 +p[]=216 qp=765 p[]-qp=981 +p[]=217 qp=765 p[]-qp=982 +p[]=218 qp=765 p[]-qp=983 +p[]=219 qp=765 p[]-qp=984 +p[]=220 qp=765 p[]-qp=985 +p[]=221 qp=765 p[]-qp=986 +p[]=222 qp=765 p[]-qp=987 +p[]=223 qp=765 p[]-qp=988 +p[]=224 qp=765 p[]-qp=989 +p[]=225 qp=765 p[]-qp=990 +p[]=226 qp=765 p[]-qp=991 +p[]=227 qp=765 p[]-qp=992 +p[]=228 qp=765 p[]-qp=993 +p[]=229 qp=765 p[]-qp=994 +p[]=230 qp=765 p[]-qp=995 +p[]=231 qp=765 p[]-qp=996 +p[]=232 qp=765 p[]-qp=997 +p[]=233 qp=765 p[]-qp=998 +p[]=234 qp=765 p[]-qp=999 +p[]=235 qp=765 p[]-qp=1000 +p[]=236 qp=765 p[]-qp=1001 +p[]=237 qp=765 p[]-qp=1002 +p[]=238 qp=765 p[]-qp=1003 +p[]=239 qp=765 p[]-qp=1004 +p[]=240 qp=765 p[]-qp=1005 +p[]=241 qp=765 p[]-qp=1006 +p[]=242 qp=765 p[]-qp=1007 +p[]=243 qp=765 p[]-qp=1008 +p[]=244 qp=765 p[]-qp=1009 +p[]=245 qp=765 p[]-qp=1010 +p[]=246 qp=765 p[]-qp=1011 +p[]=247 qp=765 p[]-qp=1012 +p[]=248 qp=765 p[]-qp=1013 +p[]=249 qp=765 p[]-qp=1014 +p[]=250 qp=765 p[]-qp=1015 +p[]=251 qp=765 p[]-qp=1016 +p[]=252 qp=765 p[]-qp=1017 +p[]=253 qp=765 p[]-qp=1018 +p[]=254 qp=765 p[]-qp=1019 +p[]=255 qp=765 p[]-qp=1020 +p[]=256 qp=765 p[]-qp=1021 +p[]=257 qp=765 p[]-qp=1022 +p[]=258 qp=765 p[]-qp=1023 +p[]=259 qp=765 p[]-qp=1024 +p[]=260 qp=765 p[]-qp=1025 +p[]=261 qp=765 p[]-qp=1026 +p[]=262 qp=765 p[]-qp=1027 +p[]=263 qp=765 p[]-qp=1028 +p[]=264 qp=765 p[]-qp=1029 +p[]=265 qp=765 p[]-qp=1030 +p[]=266 qp=765 p[]-qp=1031 +p[]=267 qp=765 p[]-qp=1032 +p[]=268 qp=765 p[]-qp=1033 +p[]=269 qp=765 p[]-qp=1034 +p[]=270 qp=765 p[]-qp=1035 +p[]=271 qp=765 p[]-qp=1036 +p[]=272 qp=765 p[]-qp=1037 +p[]=273 qp=765 p[]-qp=1038 +p[]=274 qp=765 p[]-qp=1039 +p[]=275 qp=765 p[]-qp=1040 +p[]=276 qp=765 p[]-qp=1041 +p[]=277 qp=765 p[]-qp=1042 +p[]=278 qp=765 p[]-qp=1043 +p[]=279 qp=765 p[]-qp=1044 +p[]=280 qp=765 p[]-qp=1045 +p[]=281 qp=765 p[]-qp=1046 +p[]=282 qp=765 p[]-qp=1047 +p[]=283 qp=765 p[]-qp=1048 +p[]=284 qp=765 p[]-qp=1049 +p[]=285 qp=765 p[]-qp=1050 +p[]=286 qp=765 p[]-qp=1051 +p[]=287 qp=765 p[]-qp=1052 +p[]=288 qp=765 p[]-qp=1053 +p[]=289 qp=765 p[]-qp=1054 +p[]=290 qp=765 p[]-qp=1055 +p[]=291 qp=765 p[]-qp=1056 +p[]=292 qp=765 p[]-qp=1057 +p[]=293 qp=765 p[]-qp=1058 +p[]=294 qp=765 p[]-qp=1059 +p[]=295 qp=765 p[]-qp=1060 +p[]=296 qp=765 p[]-qp=1061 +p[]=297 qp=765 p[]-qp=1062 +p[]=298 qp=765 p[]-qp=1063 +p[]=299 qp=765 p[]-qp=1064 +p[]=300 qp=765 p[]-qp=1065 +p[]=301 qp=765 p[]-qp=1066 +p[]=302 qp=765 p[]-qp=1067 +p[]=303 qp=765 p[]-qp=1068 +p[]=304 qp=765 p[]-qp=1069 +p[]=305 qp=765 p[]-qp=1070 +p[]=306 qp=765 p[]-qp=1071 +p[]=307 qp=765 p[]-qp=1072 +p[]=308 qp=765 p[]-qp=1073 +p[]=309 qp=765 p[]-qp=1074 +p[]=310 qp=765 p[]-qp=1075 +p[]=311 qp=765 p[]-qp=1076 +p[]=312 qp=765 p[]-qp=1077 +p[]=313 qp=765 p[]-qp=1078 +p[]=314 qp=765 p[]-qp=1079 +p[]=315 qp=765 p[]-qp=1080 +p[]=316 qp=765 p[]-qp=1081 +p[]=317 qp=765 p[]-qp=1082 +p[]=318 qp=765 p[]-qp=1083 +p[]=319 qp=765 p[]-qp=1084 +p[]=320 qp=765 p[]-qp=1085 +p[]=321 qp=765 p[]-qp=1086 +p[]=322 qp=765 p[]-qp=1087 +p[]=323 qp=765 p[]-qp=1088 +p[]=324 qp=765 p[]-qp=1089 +p[]=325 qp=765 p[]-qp=1090 +p[]=326 qp=765 p[]-qp=1091 +p[]=327 qp=765 p[]-qp=1092 +p[]=328 qp=765 p[]-qp=1093 +p[]=329 qp=765 p[]-qp=1094 +p[]=330 qp=765 p[]-qp=1095 +p[]=331 qp=765 p[]-qp=1096 +p[]=332 qp=765 p[]-qp=1097 +p[]=333 qp=765 p[]-qp=1098 +p[]=334 qp=765 p[]-qp=1099 +p[]=335 qp=765 p[]-qp=1100 +p[]=336 qp=765 p[]-qp=1101 +p[]=337 qp=765 p[]-qp=1102 +p[]=338 qp=765 p[]-qp=1103 +p[]=339 qp=765 p[]-qp=1104 +p[]=340 qp=765 p[]-qp=1105 +p[]=341 qp=765 p[]-qp=1106 +p[]=342 qp=765 p[]-qp=1107 +p[]=343 qp=765 p[]-qp=1108 +p[]=344 qp=765 p[]-qp=1109 +p[]=345 qp=765 p[]-qp=1110 +p[]=346 qp=765 p[]-qp=1111 +p[]=347 qp=765 p[]-qp=1112 +p[]=348 qp=765 p[]-qp=1113 +p[]=349 qp=765 p[]-qp=1114 +p[]=350 qp=765 p[]-qp=1115 +p[]=351 qp=765 p[]-qp=1116 +p[]=352 qp=765 p[]-qp=1117 +p[]=353 qp=765 p[]-qp=1118 +p[]=354 qp=765 p[]-qp=1119 +p[]=355 qp=765 p[]-qp=1120 +p[]=356 qp=765 p[]-qp=1121 +p[]=357 qp=765 p[]-qp=1122 +p[]=358 qp=765 p[]-qp=1123 +p[]=359 qp=765 p[]-qp=1124 +p[]=360 qp=765 p[]-qp=1125 +p[]=361 qp=765 p[]-qp=1126 +p[]=362 qp=765 p[]-qp=1127 +p[]=363 qp=765 p[]-qp=1128 +p[]=364 qp=765 p[]-qp=1129 +p[]=365 qp=765 p[]-qp=1130 +p[]=366 qp=765 p[]-qp=1131 +p[]=367 qp=765 p[]-qp=1132 +p[]=368 qp=765 p[]-qp=1133 +p[]=369 qp=765 p[]-qp=1134 +p[]=370 qp=765 p[]-qp=1135 +p[]=371 qp=765 p[]-qp=1136 +p[]=372 qp=765 p[]-qp=1137 +p[]=373 qp=765 p[]-qp=1138 +p[]=374 qp=765 p[]-qp=1139 +p[]=375 qp=765 p[]-qp=1140 +p[]=376 qp=765 p[]-qp=1141 +p[]=377 qp=765 p[]-qp=1142 +p[]=378 qp=765 p[]-qp=1143 +p[]=379 qp=765 p[]-qp=1144 +p[]=380 qp=765 p[]-qp=1145 +p[]=381 qp=765 p[]-qp=1146 +p[]=382 qp=765 p[]-qp=1147 +p[]=383 qp=765 p[]-qp=1148 +p[]=384 qp=765 p[]-qp=1149 +p[]=385 qp=765 p[]-qp=1150 +p[]=386 qp=765 p[]-qp=1151 +p[]=387 qp=765 p[]-qp=1152 +p[]=388 qp=765 p[]-qp=1153 +p[]=389 qp=765 p[]-qp=1154 +p[]=390 qp=765 p[]-qp=1155 +p[]=391 qp=765 p[]-qp=1156 +p[]=392 qp=765 p[]-qp=1157 +p[]=393 qp=765 p[]-qp=1158 +p[]=394 qp=765 p[]-qp=1159 +p[]=395 qp=765 p[]-qp=1160 +p[]=396 qp=765 p[]-qp=1161 +p[]=397 qp=765 p[]-qp=1162 +p[]=398 qp=765 p[]-qp=1163 +p[]=399 qp=765 p[]-qp=1164 +p[]=400 qp=765 p[]-qp=1165 +p[]=401 qp=765 p[]-qp=1166 +p[]=402 qp=765 p[]-qp=1167 +p[]=403 qp=765 p[]-qp=1168 +p[]=404 qp=765 p[]-qp=1169 +p[]=405 qp=765 p[]-qp=1170 +p[]=406 qp=765 p[]-qp=1171 +p[]=407 qp=765 p[]-qp=1172 +p[]=408 qp=765 p[]-qp=1173 +p[]=409 qp=765 p[]-qp=1174 +p[]=410 qp=765 p[]-qp=1175 +p[]=411 qp=765 p[]-qp=1176 +p[]=412 qp=765 p[]-qp=1177 +p[]=413 qp=765 p[]-qp=1178 +p[]=414 qp=765 p[]-qp=1179 +p[]=415 qp=765 p[]-qp=1180 +p[]=416 qp=765 p[]-qp=1181 +p[]=417 qp=765 p[]-qp=1182 +p[]=418 qp=765 p[]-qp=1183 +p[]=419 qp=765 p[]-qp=1184 +p[]=420 qp=765 p[]-qp=1185 +p[]=421 qp=765 p[]-qp=1186 +p[]=422 qp=765 p[]-qp=1187 +p[]=423 qp=765 p[]-qp=1188 +p[]=424 qp=765 p[]-qp=1189 +p[]=425 qp=765 p[]-qp=1190 +p[]=426 qp=765 p[]-qp=1191 +p[]=427 qp=765 p[]-qp=1192 +p[]=428 qp=765 p[]-qp=1193 +p[]=429 qp=765 p[]-qp=1194 +p[]=430 qp=765 p[]-qp=1195 +p[]=431 qp=765 p[]-qp=1196 +p[]=432 qp=765 p[]-qp=1197 +p[]=433 qp=765 p[]-qp=1198 +p[]=434 qp=765 p[]-qp=1199 +p[]=435 qp=765 p[]-qp=1200 +p[]=436 qp=765 p[]-qp=1201 +p[]=437 qp=765 p[]-qp=1202 +p[]=438 qp=765 p[]-qp=1203 +p[]=439 qp=765 p[]-qp=1204 +p[]=440 qp=765 p[]-qp=1205 +p[]=441 qp=765 p[]-qp=1206 +p[]=442 qp=765 p[]-qp=1207 +p[]=443 qp=765 p[]-qp=1208 +p[]=444 qp=765 p[]-qp=1209 +p[]=445 qp=765 p[]-qp=1210 +p[]=446 qp=765 p[]-qp=1211 +p[]=447 qp=765 p[]-qp=1212 +p[]=448 qp=765 p[]-qp=1213 +p[]=449 qp=765 p[]-qp=1214 +p[]=450 qp=765 p[]-qp=1215 +p[]=451 qp=765 p[]-qp=1216 +p[]=452 qp=765 p[]-qp=1217 +p[]=453 qp=765 p[]-qp=1218 +p[]=454 qp=765 p[]-qp=1219 +p[]=455 qp=765 p[]-qp=1220 +p[]=456 qp=765 p[]-qp=1221 +p[]=457 qp=765 p[]-qp=1222 +p[]=458 qp=765 p[]-qp=1223 +p[]=459 qp=765 p[]-qp=1224 +p[]=460 qp=765 p[]-qp=1225 +p[]=461 qp=765 p[]-qp=1226 +p[]=462 qp=765 p[]-qp=1227 +p[]=463 qp=765 p[]-qp=1228 +p[]=464 qp=765 p[]-qp=1229 +p[]=465 qp=765 p[]-qp=1230 +p[]=466 qp=765 p[]-qp=1231 +p[]=467 qp=765 p[]-qp=1232 +p[]=468 qp=765 p[]-qp=1233 +p[]=469 qp=765 p[]-qp=1234 +p[]=470 qp=765 p[]-qp=1235 +p[]=471 qp=765 p[]-qp=1236 +p[]=472 qp=765 p[]-qp=1237 +p[]=473 qp=765 p[]-qp=1238 +p[]=474 qp=765 p[]-qp=1239 +p[]=475 qp=765 p[]-qp=1240 +p[]=476 qp=765 p[]-qp=1241 +p[]=477 qp=765 p[]-qp=1242 +p[]=478 qp=765 p[]-qp=1243 +p[]=479 qp=765 p[]-qp=1244 +p[]=480 qp=765 p[]-qp=1245 +p[]=481 qp=765 p[]-qp=1246 +p[]=482 qp=765 p[]-qp=1247 +p[]=483 qp=765 p[]-qp=1248 +p[]=484 qp=765 p[]-qp=1249 +p[]=485 qp=765 p[]-qp=1250 +p[]=486 qp=765 p[]-qp=1251 +p[]=487 qp=765 p[]-qp=1252 +p[]=488 qp=765 p[]-qp=1253 +p[]=489 qp=765 p[]-qp=1254 +p[]=490 qp=765 p[]-qp=1255 +p[]=491 qp=765 p[]-qp=1256 +p[]=492 qp=765 p[]-qp=1257 +p[]=493 qp=765 p[]-qp=1258 +p[]=494 qp=765 p[]-qp=1259 +p[]=495 qp=765 p[]-qp=1260 +p[]=496 qp=765 p[]-qp=1261 +p[]=497 qp=765 p[]-qp=1262 +p[]=498 qp=765 p[]-qp=1263 +p[]=499 qp=765 p[]-qp=1264 +p[]=500 qp=765 p[]-qp=1265 +p[]=501 qp=765 p[]-qp=1266 +p[]=502 qp=765 p[]-qp=1267 +p[]=503 qp=765 p[]-qp=1268 +p[]=504 qp=765 p[]-qp=1269 +p[]=505 qp=765 p[]-qp=1270 +p[]=506 qp=765 p[]-qp=1271 +p[]=507 qp=765 p[]-qp=1272 +p[]=508 qp=765 p[]-qp=1273 +p[]=509 qp=765 p[]-qp=1274 +p[]=510 qp=765 p[]-qp=1275 +p[]=511 qp=765 p[]-qp=1276 +p[]=512 qp=765 p[]-qp=1277 +p[]=513 qp=765 p[]-qp=1278 +p[]=514 qp=765 p[]-qp=1279 +p[]=515 qp=765 p[]-qp=1280 +p[]=516 qp=765 p[]-qp=1281 +p[]=517 qp=765 p[]-qp=1282 +p[]=518 qp=765 p[]-qp=1283 +p[]=519 qp=765 p[]-qp=1284 +p[]=520 qp=765 p[]-qp=1285 +p[]=521 qp=765 p[]-qp=1286 +p[]=522 qp=765 p[]-qp=1287 +p[]=523 qp=765 p[]-qp=1288 +p[]=524 qp=765 p[]-qp=1289 +p[]=525 qp=765 p[]-qp=1290 +p[]=526 qp=765 p[]-qp=1291 +p[]=527 qp=765 p[]-qp=1292 +p[]=528 qp=765 p[]-qp=1293 +p[]=529 qp=765 p[]-qp=1294 +p[]=530 qp=765 p[]-qp=1295 +p[]=531 qp=765 p[]-qp=1296 +p[]=532 qp=765 p[]-qp=1297 +p[]=533 qp=765 p[]-qp=1298 +p[]=534 qp=765 p[]-qp=1299 +p[]=535 qp=765 p[]-qp=1300 +p[]=536 qp=765 p[]-qp=1301 +p[]=537 qp=765 p[]-qp=1302 +p[]=538 qp=765 p[]-qp=1303 +p[]=539 qp=765 p[]-qp=1304 +p[]=540 qp=765 p[]-qp=1305 +p[]=541 qp=765 p[]-qp=1306 +p[]=542 qp=765 p[]-qp=1307 +p[]=543 qp=765 p[]-qp=1308 +p[]=544 qp=765 p[]-qp=1309 +p[]=545 qp=765 p[]-qp=1310 +p[]=546 qp=765 p[]-qp=1311 +p[]=547 qp=765 p[]-qp=1312 +p[]=548 qp=765 p[]-qp=1313 +p[]=549 qp=765 p[]-qp=1314 +p[]=550 qp=765 p[]-qp=1315 +p[]=551 qp=765 p[]-qp=1316 +p[]=552 qp=765 p[]-qp=1317 +p[]=553 qp=765 p[]-qp=1318 +p[]=554 qp=765 p[]-qp=1319 +p[]=555 qp=765 p[]-qp=1320 +p[]=556 qp=765 p[]-qp=1321 +p[]=557 qp=765 p[]-qp=1322 +p[]=558 qp=765 p[]-qp=1323 +p[]=559 qp=765 p[]-qp=1324 +p[]=560 qp=765 p[]-qp=1325 +p[]=561 qp=765 p[]-qp=1326 +p[]=562 qp=765 p[]-qp=1327 +p[]=563 qp=765 p[]-qp=1328 +p[]=564 qp=765 p[]-qp=1329 +p[]=565 qp=765 p[]-qp=1330 +p[]=566 qp=765 p[]-qp=1331 +p[]=567 qp=765 p[]-qp=1332 +p[]=568 qp=765 p[]-qp=1333 +p[]=569 qp=765 p[]-qp=1334 +p[]=570 qp=765 p[]-qp=1335 +p[]=571 qp=765 p[]-qp=1336 +p[]=572 qp=765 p[]-qp=1337 +p[]=573 qp=765 p[]-qp=1338 +p[]=574 qp=765 p[]-qp=1339 +p[]=575 qp=765 p[]-qp=1340 +p[]=576 qp=765 p[]-qp=1341 +p[]=577 qp=765 p[]-qp=1342 +p[]=578 qp=765 p[]-qp=1343 +p[]=579 qp=765 p[]-qp=1344 +p[]=580 qp=765 p[]-qp=1345 +p[]=581 qp=765 p[]-qp=1346 +p[]=582 qp=765 p[]-qp=1347 +p[]=583 qp=765 p[]-qp=1348 +p[]=584 qp=765 p[]-qp=1349 +p[]=585 qp=765 p[]-qp=1350 +p[]=586 qp=765 p[]-qp=1351 +p[]=587 qp=765 p[]-qp=1352 +p[]=588 qp=765 p[]-qp=1353 +p[]=589 qp=765 p[]-qp=1354 +p[]=590 qp=765 p[]-qp=1355 +p[]=591 qp=765 p[]-qp=1356 +p[]=592 qp=765 p[]-qp=1357 +p[]=593 qp=765 p[]-qp=1358 +p[]=594 qp=765 p[]-qp=1359 +p[]=595 qp=765 p[]-qp=1360 +p[]=596 qp=765 p[]-qp=1361 +p[]=597 qp=765 p[]-qp=1362 +p[]=598 qp=765 p[]-qp=1363 +p[]=599 qp=765 p[]-qp=1364 +p[]=600 qp=765 p[]-qp=1365 +p[]=601 qp=765 p[]-qp=1366 +p[]=602 qp=765 p[]-qp=1367 +p[]=603 qp=765 p[]-qp=1368 +p[]=604 qp=765 p[]-qp=1369 +p[]=605 qp=765 p[]-qp=1370 +p[]=606 qp=765 p[]-qp=1371 +p[]=607 qp=765 p[]-qp=1372 +p[]=608 qp=765 p[]-qp=1373 +p[]=609 qp=765 p[]-qp=1374 +p[]=610 qp=765 p[]-qp=1375 +p[]=611 qp=765 p[]-qp=1376 +p[]=612 qp=765 p[]-qp=1377 +p[]=613 qp=765 p[]-qp=1378 +p[]=614 qp=765 p[]-qp=1379 +p[]=615 qp=765 p[]-qp=1380 +p[]=616 qp=765 p[]-qp=1381 +p[]=617 qp=765 p[]-qp=1382 +p[]=618 qp=765 p[]-qp=1383 +p[]=619 qp=765 p[]-qp=1384 +p[]=620 qp=765 p[]-qp=1385 +p[]=621 qp=765 p[]-qp=1386 +p[]=622 qp=765 p[]-qp=1387 +p[]=623 qp=765 p[]-qp=1388 +p[]=624 qp=765 p[]-qp=1389 +p[]=625 qp=765 p[]-qp=1390 +p[]=626 qp=765 p[]-qp=1391 +p[]=627 qp=765 p[]-qp=1392 +p[]=628 qp=765 p[]-qp=1393 +p[]=629 qp=765 p[]-qp=1394 +p[]=630 qp=765 p[]-qp=1395 +p[]=631 qp=765 p[]-qp=1396 +p[]=632 qp=765 p[]-qp=1397 +p[]=633 qp=765 p[]-qp=1398 +p[]=634 qp=765 p[]-qp=1399 +p[]=635 qp=765 p[]-qp=1400 +p[]=636 qp=765 p[]-qp=1401 +p[]=637 qp=765 p[]-qp=1402 +p[]=638 qp=765 p[]-qp=1403 +p[]=639 qp=765 p[]-qp=1404 +p[]=640 qp=765 p[]-qp=1405 +p[]=641 qp=765 p[]-qp=1406 +p[]=642 qp=765 p[]-qp=1407 +p[]=643 qp=765 p[]-qp=1408 +p[]=644 qp=765 p[]-qp=1409 +p[]=645 qp=765 p[]-qp=1410 +p[]=646 qp=765 p[]-qp=1411 +p[]=647 qp=765 p[]-qp=1412 +p[]=648 qp=765 p[]-qp=1413 +p[]=649 qp=765 p[]-qp=1414 +p[]=650 qp=765 p[]-qp=1415 +p[]=651 qp=765 p[]-qp=1416 +p[]=652 qp=765 p[]-qp=1417 +p[]=653 qp=765 p[]-qp=1418 +p[]=654 qp=765 p[]-qp=1419 +p[]=655 qp=765 p[]-qp=1420 +p[]=656 qp=765 p[]-qp=1421 +p[]=657 qp=765 p[]-qp=1422 +p[]=658 qp=765 p[]-qp=1423 +p[]=659 qp=765 p[]-qp=1424 +p[]=660 qp=765 p[]-qp=1425 +p[]=661 qp=765 p[]-qp=1426 +p[]=662 qp=765 p[]-qp=1427 +p[]=663 qp=765 p[]-qp=1428 +p[]=664 qp=765 p[]-qp=1429 +p[]=665 qp=765 p[]-qp=1430 +p[]=666 qp=765 p[]-qp=1431 +p[]=667 qp=765 p[]-qp=1432 +p[]=668 qp=765 p[]-qp=1433 +p[]=669 qp=765 p[]-qp=1434 +p[]=670 qp=765 p[]-qp=1435 +p[]=671 qp=765 p[]-qp=1436 +p[]=672 qp=765 p[]-qp=1437 +p[]=673 qp=765 p[]-qp=1438 +p[]=674 qp=765 p[]-qp=1439 +p[]=675 qp=765 p[]-qp=1440 +p[]=676 qp=765 p[]-qp=1441 +p[]=677 qp=765 p[]-qp=1442 +p[]=678 qp=765 p[]-qp=1443 +p[]=679 qp=765 p[]-qp=1444 +p[]=680 qp=765 p[]-qp=1445 +p[]=681 qp=765 p[]-qp=1446 +p[]=682 qp=765 p[]-qp=1447 +p[]=683 qp=765 p[]-qp=1448 +p[]=684 qp=765 p[]-qp=1449 +p[]=685 qp=765 p[]-qp=1450 +p[]=686 qp=765 p[]-qp=1451 +p[]=687 qp=765 p[]-qp=1452 +p[]=688 qp=765 p[]-qp=1453 +p[]=689 qp=765 p[]-qp=1454 +p[]=690 qp=765 p[]-qp=1455 +p[]=691 qp=765 p[]-qp=1456 +p[]=692 qp=765 p[]-qp=1457 +p[]=693 qp=765 p[]-qp=1458 +p[]=694 qp=765 p[]-qp=1459 +p[]=695 qp=765 p[]-qp=1460 +p[]=696 qp=765 p[]-qp=1461 +p[]=697 qp=765 p[]-qp=1462 +p[]=698 qp=765 p[]-qp=1463 +p[]=699 qp=765 p[]-qp=1464 +p[]=700 qp=765 p[]-qp=1465 +p[]=701 qp=765 p[]-qp=1466 +p[]=702 qp=765 p[]-qp=1467 +p[]=703 qp=765 p[]-qp=1468 +p[]=704 qp=765 p[]-qp=1469 +p[]=705 qp=765 p[]-qp=1470 +p[]=706 qp=765 p[]-qp=1471 +p[]=707 qp=765 p[]-qp=1472 +p[]=708 qp=765 p[]-qp=1473 +p[]=709 qp=765 p[]-qp=1474 +p[]=710 qp=765 p[]-qp=1475 +p[]=711 qp=765 p[]-qp=1476 +p[]=712 qp=765 p[]-qp=1477 +p[]=713 qp=765 p[]-qp=1478 +p[]=714 qp=765 p[]-qp=1479 +p[]=715 qp=765 p[]-qp=1480 +p[]=716 qp=765 p[]-qp=1481 +p[]=717 qp=765 p[]-qp=1482 +p[]=718 qp=765 p[]-qp=1483 +p[]=719 qp=765 p[]-qp=1484 +p[]=720 qp=765 p[]-qp=1485 +p[]=721 qp=765 p[]-qp=1486 +p[]=722 qp=765 p[]-qp=1487 +p[]=723 qp=765 p[]-qp=1488 +p[]=724 qp=765 p[]-qp=1489 +p[]=725 qp=765 p[]-qp=1490 +p[]=726 qp=765 p[]-qp=1491 +p[]=727 qp=765 p[]-qp=1492 +p[]=728 qp=765 p[]-qp=1493 +p[]=729 qp=765 p[]-qp=1494 +p[]=730 qp=765 p[]-qp=1495 +p[]=731 qp=765 p[]-qp=1496 +p[]=732 qp=765 p[]-qp=1497 +p[]=733 qp=765 p[]-qp=1498 +p[]=734 qp=765 p[]-qp=1499 +p[]=735 qp=765 p[]-qp=1500 +p[]=736 qp=765 p[]-qp=1501 +p[]=737 qp=765 p[]-qp=1502 +p[]=738 qp=765 p[]-qp=1503 +p[]=739 qp=765 p[]-qp=1504 +p[]=740 qp=765 p[]-qp=1505 + 765's color=741 + 766's color=741 + 767's color=741 + +qqqqqqqq + Project 16 test.exe. This is just a test file! -version Feb 10 2017 09:14:32 +version Feb 10 2017 09:25:47 VL_PrintmodexmemInfo: Virtual Screen: 352x272 Tile: 22x17=((Virtual Screen)/16) Screen: 320x240 Tile: 20x15=((Screen)/16) @@ -14,6 +804,6 @@ VL_PrintmodexmemInfo: tx=1 ty=1 player.d=2 ==== -0 paloffset= 8 +0 paloffset= 255 ==== diff --git a/src/test.c b/src/test.c index e5d503de..ceca4f24 100755 --- a/src/test.c +++ b/src/test.c @@ -30,6 +30,7 @@ #define HGQ 55 static word far* clockw= (word far*) 0x046C; /* 18.2hz clock */ +static byte palette[PAL_SIZE]; void main(int argc, char *argv[]) { @@ -45,9 +46,10 @@ void main(int argc, char *argv[]) word k; imgtestpal_t bmp1, bmp2; + + bmp1.width=bmp2.width= 40; bmp1.width=bmp2.height= 30; - //====byte *pal, *pal2; //====word colo=LGQ; @@ -98,6 +100,10 @@ void main(int argc, char *argv[]) VL_LoadPalFile("data/16.pal", &gvar.video.palette); bmp1.offset=(paloffset/3); VL_palette(&bmp1, &gvar.video.palette, &paloffset, 0, 0); + + VL_LoadPalFile("data/default.pal", &palette); + bmp2.offset=(paloffset/3); + VL_palette(&bmp2, &palette, &paloffset, 0, 0); //====modexLoadPalFile("data/default.pal", &pal2); /* overscan show */ -- 2.39.5