From 403a2afcb791925d56ed1d3cab8e02287e22464a Mon Sep 17 00:00:00 2001 From: sparky4 Date: Tue, 14 Jul 2015 08:52:26 -0500 Subject: [PATCH] ansii rendering is working ^^ modified: fontgfx.exe modified: src/fontgfx.c modified: src/lib/16text.h --- fontgfx.exe | Bin 42563 -> 42631 bytes src/fontgfx.c | 17 ++++++++++++++++- src/lib/16text.h | 4 +++- 3 files changed, 19 insertions(+), 2 deletions(-) diff --git a/fontgfx.exe b/fontgfx.exe index d3f896aa566d5d79b351d3fbe0f00f8edd5ccec1..44865810bfc40e5f3dae3f0cbc5b24e2f0294044 100644 GIT binary patch delta 12000 zcmZvC30zc1wtn5Eo3$GdXci5EAgdcLxS+TpMny$XOkC(7(1HP)G!1B?0wFG!#@1Mg zF~&rZOfrA7jEc#iW-ELs=dzat2eeQQoovJ!@ zs_NXjw0$OS`dqA@yChQ>Mz)b?GFa&D9<3$rgn0HNB%G+%z-!q z7jzmFx`2>;&_PgaCLumqge(QU2Kowg$B&SgVQ;WMA>ILml!BHA5>gJ@5lE_uY#_u7 z^cbiFR1Mk;dKt72bOh7}x&R6dBIG*A7($2@Df$38M%Z2?`!f zNXu9PEkcHXrh#UFazRy~7El`~cswD~LB*hbphKYJpz9#F3Ge`DA}9-F2JHuZ402B< zq#tM)$T$&0HWS`Xe3TFi=$ToB>;yeb@S`xGgzdM|_Au`9ryrbxa_RHecnA#+THca-TFsuxRQ|yC>f7O6%%8?|8w_ zVG@*E%Z)ip+6dhtrg|KbZE1fbDVq+{>*A<>@5}lF?n$S#XJp@`eILk4`%chUX>4e| zsH8niYBY&k);pB6u7-0*PfGSyd&ftGbd5yanfMoon*-#Zgy6M!`Z1|-J$`N_HP(pA zRVD3qQscADA=*Er;O7A2X(N8_BsFdpl`ptEhc)< zdpvA)dWYby(JjV(x$YgmcDK0W${C@K-qO_IF+R#iXc!TIY+bsx9W zE}uU_J|!8)B;qJ?v*+|nykL`my;pZq&M>rGp?-d$-dZ8UG2X52q}I?ff{yk39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FsCSjnMQv8On9rf zX`GV4WyV9}$Yrysj`Np|WAtlW$9_)9WUeGTIpqsZInOByW~UDcVg0bumykX{4WO9j z@AQdznse5&XXRt?0Sg*iY^i|RVk?%9O3iiaFdj+diE(v=S>2b9VWuck+kJQM7WGpVK-1Fo|w~)P3Ph z3boxqFbesD3q85Z->IGBAJQujI?3_#@zniUKPL}(NfJ|O{ImW}(>T7IE_&8q&Hf)y zVs%|5gj)H7mTrO2TO7}zuLJ*@l$H$6a!ZQ&%qlTBn`xi1@n=?I;RRg5?vBeAD$j5}E2;>o=6zq`6jn+R!ZOe$hi*0dPe(~~o<<*i0nX(Q zZglhW{=VOGoPQf3C()z}P39;k@WFXRvqrpv!si66sJK#2VHFep;|Rs($YnF>ag_R! z7@o=K;XHbFa>_hTnFlKS3{Y&-?-YtUUlO;{{N4V(nH*;|3jTQ!Fj{1C-mF*Ge{mk$ zqinIIh-2+W)6aJMkDbqPR&e0oIH8+Gp)IOsJKM92(`hbqn2vqHUp>rm)DNjI_^HDt zFh!^$;1zWyfB1O;-GGPn{9*M%9*i&Xhi&xz7yO+DIPO8uz2F}r;srwz`Ijc{ZZ@_# zN(4Tc$gQ{K3HDE-68`;>H{Rk z|A#+^^I4rh$R0j>b(}JL5u@1ljs2X$$^}A>a+&Wq#XE;lGHKgRZ>L1o&59hF@T{Mv zoIki@EOV3*JivBy3NH|dKdeZ)J15>)Fl;Wjz3A_>h~sVa5b)(@#f?WMh8cv<^&?<#D}9TVCfP)Z&s_Wlnx C*b@N& diff --git a/src/fontgfx.c b/src/fontgfx.c index 85fb555b..d138cc75 100644 --- a/src/fontgfx.c +++ b/src/fontgfx.c @@ -27,9 +27,24 @@ void main(int argc, char near *argv[]) { + byte e; + word chx, chy; textInit(); modexEnter(); - modexprint(16, 16, 1, 15, "wwww"); + //modexprint(16, 16, 1, 15, "wwww"); + //getch(); + chx=0; + chy=0; + for(e='!'; e<='~'; e++) + { + modexprint(chx, chy, 1, 15, &e); + chx+=8; + if(chx+8>=SCREEN_WIDTH) + { + chx=0; + chy+=8; + } + } getch(); modexLeave(); } diff --git a/src/lib/16text.h b/src/lib/16text.h index 935fb67f..9f0034e4 100644 --- a/src/lib/16text.h +++ b/src/lib/16text.h @@ -5,7 +5,9 @@ * They copy the font characters directly to VGA. */ #ifndef TEXT_H -#define TEXT_H +#define TEXT_H +#include +#include #include "src/lib/types.h" /* font information type */ -- 2.39.5