{"id":313132,"date":"2020-11-14T15:00:36","date_gmt":"2020-11-14T15:00:36","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=313132"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=313132","title":{"rendered":"\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 Obj \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a \u0432 KolibriOS \u0432 \u044f\u0437\u044b\u043a\u0430\u0445 \u0432\u044b\u0441\u043e\u043a\u043e\u0433\u043e \u0443\u0440\u043e\u0432\u043d\u044f"},"content":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\">\n<h3 id=\"vstuplenie\">\u0412\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u0435<\/h3>\n<p>  <\/p>\n<p>\u0412 KolibriOS \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u0438\u043c\u0435\u044e\u0442 \u0444\u043e\u0440\u043c\u0430\u0442 MS COFF \u0438 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435 Obj. \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u043d\u043e \u043a\u0430\u043a \u0438\u0445 \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432 C&#8212;, GCC \u0438 TinyC.<\/p>\n<p><a name=\"habracut\"><\/a>  <\/p>\n<h3 id=\"svn\">SVN<\/h3>\n<p>  <\/p>\n<p>\u0412\u0441\u0435\u0433\u0434\u0430 \u043a\u043e\u0433\u0434\u0430 \u0434\u0435\u043b\u0430\u0435\u0442\u0435 \u0447\u0442\u043e \u043b\u0438\u0431\u043e \u0434\u043b\u044f KolibriOS \u043d\u0443\u0436\u043d\u043e \u0438\u043c\u0435\u0442\u044c \u0432\u044b\u043a\u0430\u0447\u0430\u043d\u043d\u044b\u0439 SVN.<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">svn co svn:\/\/kolibrios.org<\/code><\/pre>\n<p>  <\/p>\n<p>\u041e\u043d \u0432\u044b\u043a\u0430\u0447\u0430\u0435\u0442\u0441\u044f \u0432 \u0442\u0435\u043a\u0443\u0449\u0443\u044e \u043f\u0430\u043f\u043a\u0443.<\/p>\n<p>  <\/p>\n<h3 id=\"c_layer\">C_Layer<\/h3>\n<p>  <\/p>\n<p>\u0414\u043b\u044f \u0442\u043e\u0433\u043e \u0447\u0442\u043e\u0431\u044b \u0443\u0434\u043e\u0431\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u0432 kos32-gcc \u0431\u044b\u043b \u0441\u043e\u0437\u0434\u0430\u043d C_Layer (<a href=\"http:\/\/board.kolibrios.org\/viewtopic.php?f=33&amp;t=3269\" rel=\"nofollow\">\u0442\u0435\u043c\u0430 \u043d\u0430 \u0444\u043e\u0440\u0443\u043c\u0435<\/a>, <a href=\"http:\/\/websvn.kolibrios.org\/listing.php?repname=Kolibri+OS&amp;path=%2Fcontrib%2FC_Layer%2F&amp;#a3b9ce1a54fea8efc839f777ce1b565cb\" rel=\"nofollow\">\u043d\u0430 WebSVN<\/a>).<\/p>\n<p>  <\/p>\n<h3 id=\"gcc\">GCC<\/h3>\n<p>  <\/p>\n<p><strong>console.obj<\/strong><br \/>  \u042d\u0442\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u043a\u043e\u043d\u0441\u043e\u043b\u044c \u0432 KolibriOS. \u041f\u0440\u0438\u043c\u0435\u0440 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0432 <a href=\"http:\/\/websvn.kolibrios.org\/listing.php?repname=Kolibri+OS&amp;path=%2Fcontrib%2Fsdk%2Fsamples%2Fcpp_hello%2F&amp;#a3c3c1f0d66dff42a7e063490f7f7429e\" rel=\"nofollow\">SVN\/contrib\/sdk\/samples\/cpp_hello<\/a> (\u041a \u0442\u043e\u043c\u0443 \u0436\u0435 \u043e\u043d \u043d\u0430 \u0421++, \u043d\u043e \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0438 C). \u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0432 \u0444\u0430\u0439\u043b\u0435 <em>console_obj.h<\/em><br \/>  <strong>\u0414\u0440\u0443\u0433\u0438\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043e\u043c C_Layer<\/strong><br \/>  \u041f\u0435\u0440\u0435\u0439\u0434\u0438\u0442\u0435 \u0432 \u043f\u0430\u043f\u043a\u0443 \u0433\u0434\u0435 \u0443 \u0432\u0430\u0441 \u0432\u044b\u043a\u0430\u0447\u0430\u043d SVN. \u0414\u0430\u043b\u0435\u0435 \u043f\u0435\u0440\u0435\u0439\u0434\u0438\u0442\u0435 \u0432 \/contrib\/C_Layer\/ASM \u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0435 \u0442\u0430\u043c <em>make<\/em> (\u0447\u0442\u043e\u0431\u044b \u043e\u043d\u043e \u0441\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e \u043d\u0443\u0436\u043d\u043e \u0438\u043c\u0435\u0442\u044c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0439 <em>fasm<\/em>). \u0414\u0430\u043b\u0435\u0435 \u043f\u0435\u0440\u0435\u0439\u0434\u0438\u0442\u0435 \u0432 \u043f\u0430\u043f\u043a\u0443 \/contrib\/C_Layer\/EXAMPLE. \u0422\u0430\u043c \u043d\u0430\u0445\u043e\u0434\u044f\u0442\u0441\u044f \u043f\u0430\u0440\u0443 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432. \u0414\u043b\u044f \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0442\u043e\u0436\u0435 <em>make<\/em>.<\/p>\n<p>  <\/p>\n<h3 id=\"tinyc\">TinyC<\/h3>\n<p>  <\/p>\n<p><strong>console.obj<\/strong><br \/>  \u0417\u0434\u0435\u0441\u044c \u0432\u0441\u0435 \u043f\u0440\u043e\u0449\u0435. \u0412 <u>\/programs\/develop\/ktcc\/trunk\/samples\/consoleio.c<\/u> \u043f\u0440\u0438\u043c\u0435\u0440 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f. \u0417\u0434\u0435\u0441\u044c \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0432 <em>conio.h<\/em><br \/>  <strong>\u0414\u0440\u0443\u0433\u0438\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438<\/strong><br \/>  \u0418\u043c\u043f\u043e\u0440\u0442 \u043e\u0434\u043d\u0438\u0445 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a \u0431\u044b\u043b \u0441\u0434\u0435\u043b\u0430\u043d \u0441\u0430\u043c\u043e\u0434\u0435\u043b\u044c\u043d\u043e, \u0434\u043b\u044f \u0434\u0440\u0443\u0433\u0438\u0445 \u043f\u0435\u0440\u0435\u043d\u0435\u0441\u0435\u043d\u0430 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0438\u0437 C_Layer. \u041f\u0440\u0438\u043c\u0435\u0440\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a \u0432 <u>\/programs\/develop\/ktcc\/trunk\/samples\/clayer<\/u>. \u0418\u043c\u043f\u043e\u0440\u0442 <em>boxlib<\/em> \u0438 \u043f\u0440\u0438\u043c\u0435\u0440 \u043a \u043d\u0435\u043c\u0443 \u043f\u0438\u0441\u0430\u043b \u044f. \u041a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u044e\u0442\u0441\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u043c \u0434\u043b\u044f KolibriOS build_all.sh. \u041d\u0430\u0439\u0442\u0438 \u0435\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u0438 \u0432 \u0441\u0430\u043c\u043e\u043c iso, \/kolibrios\/develop\/ktcc\/, \u0438 \u043d\u0430 SVN. \u041d\u043e \u043c\u043e\u0436\u043d\u043e \u0438 \u0438\u0437-\u043f\u043e\u0434 windows \u0438\u043b\u0438 linux.<\/p>\n<p>  <\/p>\n<h3 id=\"c--\">C&#8212;<\/h3>\n<p>  <\/p>\n<p>(\u041a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440 \u043b\u0435\u0436\u0438\u0442 \u0432 <u>\/programs\/cmm\/c&#8212;<\/u><br \/>  c&#8212;.elf \u0432\u0435\u0440\u0441\u0438\u044f \u0434\u043b\u044f linux, c&#8212;.exe \u0434\u043b\u044f windows \u0438 c&#8212; \u0434\u043b\u044f KolibriOS. \u0415\u0441\u043b\u0438 \u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c, \u043f\u0438\u0448\u0438\u0442\u0435 \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438, \u0442\u043e\u0433\u0434\u0430 \u0431\u0443\u0434\u0435\u0442 \u0441\u0442\u0430\u0442\u044c\u044f).<br \/>  \u041d\u0435\u0441\u043e\u043c\u043d\u0435\u043d\u043d\u043e \u0432 \u044d\u0442\u043e\u043c \u044f\u0437\u044b\u043a\u0435 \u043f\u0440\u043e\u0449\u0435 \u0447\u0435\u043c \u0432 \u0434\u0440\u0443\u0433\u0438\u0445 \u0434\u0435\u043b\u0430\u0442\u044c \u0438\u043c\u043f\u043e\u0440\u0442 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a.<br \/>  \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u0438\u0438\u043d\u043a\u043b\u0443\u0434\u0438\u0442\u044c \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0439 \u0444\u0430\u0439\u043b. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0434\u043b\u044f <em>boxlib<\/em>:<\/p>\n<p>  <\/p>\n<pre><code class=\"cpp\">#include &quot;..\/lib\/obj\/box_lib.h&quot;<\/code><\/pre>\n<p>  <\/p>\n<p>\u0414\u043b\u044f \u0434\u0440\u0443\u0433\u0438\u0445 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e. \u0414\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 .h:<\/p>\n<p>  <\/p>\n<ul>\n<li>box_lib.h<\/li>\n<li>libio.h<\/li>\n<li>console.h<\/li>\n<li>librasterworks.h<\/li>\n<li>http.h<\/li>\n<li>netcode.h<\/li>\n<li>iconv.h<\/li>\n<li>network.h<\/li>\n<li>libimg.h<\/li>\n<li>proc_lib.h<\/li>\n<li>libini.h<\/li>\n<li>xml.h<\/li>\n<\/ul>\n<p>  <\/p>\n<p>\u0410 \u0434\u0430\u043b\u0435\u0435 \u043d\u0443\u0436\u043d\u043e \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c:<\/p>\n<p>  <\/p>\n<pre><code class=\"cpp\">load_dll(boxlib, #box_lib_init, 0);<\/code><\/pre>\n<p>  <\/p>\n<p>\u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 <strong>1<\/strong> \u0434\u043b\u044f \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a:<\/p>\n<p>  <\/p>\n<ul>\n<li>libgfx<\/li>\n<li>libimg<\/li>\n<li>libini<\/li>\n<li>libio<br \/>  \u0410 \u0434\u043b\u044f \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0445 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a 0.<br \/>  \u041a\u0430\u043a\u043e\u0439 \u0432\u0442\u043e\u0440\u043e\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440, \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u043c .h \u0444\u0430\u0439\u043b\u0435, \u0438\u043b\u0438 \u0432 \u0434\u0440\u0443\u0433\u0438\u0445 \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0438\u0445 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430\u0445 \u043d\u0430 C&#8212;.<\/li>\n<\/ul>\n<p>  <\/p>\n<p>\u041e\u0431 \u043d\u0435\u0442\u043e\u0447\u043d\u043e\u0441\u0442\u044f\u0445 \u0438 \u0432\u043e\u043f\u0440\u043e\u0441\u0430\u0445 \u043f\u0438\u0448\u0438\u0442\u0435 \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445<\/p>\n<\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/528048\/\"> https:\/\/habr.com\/ru\/post\/528048\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\">\n<h3 id=\"vstuplenie\">\u0412\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u0435<\/h3>\n<p>  <\/p>\n<p>\u0412 KolibriOS \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u0438\u043c\u0435\u044e\u0442 \u0444\u043e\u0440\u043c\u0430\u0442 MS COFF \u0438 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435 Obj. \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u043d\u043e \u043a\u0430\u043a \u0438\u0445 \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432 C&#8212;, GCC \u0438 TinyC.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-313132","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/313132","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=313132"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/313132\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=313132"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=313132"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=313132"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}