{"id":304929,"date":"2020-06-06T09:00:22","date_gmt":"2020-06-06T09:00:22","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=304929"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=304929","title":{"rendered":"\u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0434\u043b\u044f \u0411\u041a0010 \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c Android"},"content":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/505592\/\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/422\/d74\/390\/422d74390f31fed6f67b30f51819a055.jpg\" alt=\"image\"><\/p>\n<p>  \u0418\u0441\u0442\u043e\u0440\u0438\u044f \u043f\u0440\u043e\u0438\u0437\u043e\u0448\u043b\u0430 \u0432 Telegram-\u043a\u0430\u043d\u0430\u043b\u0435 \u0411\u041a00010, \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u043e\u043c \u0431\u044b\u043b \u044f.<\/p>\n<p>  \u0412\u043e\u0437\u043d\u0438\u043a \u0432\u043e\u043f\u0440\u043e\u0441: \u043a\u0430\u043a \u043f\u0438\u0441\u0430\u0442\u044c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b? <a href=\"https:\/\/play.google.com\/store\/apps\/details?id=su.comp.bk&amp;hl=ru\" rel=\"nofollow\">\u042d\u043c\u0443\u043b\u044f\u0442\u043e\u0440<\/a> \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0437\u0430\u043f\u0438\u0441\u044c \u0434\u0438\u0441\u043a\u043e\u0432, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0430\u0441\u0441\u0435\u043c\u0431\u043b\u0435\u0440 \u0432 \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440\u0435 \u0432\u0440\u044f\u0434 \u043b\u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0441\u044f. \u0412 \u0434\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0435 \u0432\u0441\u0435\u0445 \u0431\u0435\u0434 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0430 \u043d\u0430 \u0441\u043c\u0430\u0440\u0442\u0444\u043e\u043d\u0430\u0445 \u043e\u0447\u0435\u043d\u044c \u043c\u0435\u043b\u043a\u0430\u044f.<br \/>  <a name=\"habracut\"><\/a><br \/>  \u0411\u044b\u043b\u043e \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u0435(<a href=\"https:\/\/habr.com\/ru\/users\/smaslovski\/\" class=\"user_link\">smaslovski<\/a>), \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u044f \u043e\u043f\u0438\u0448\u0443. \u041d\u0443\u0436\u043d\u043e \u0441\u043a\u0430\u0447\u0430\u0442\u044c Termux, \u0432\u0435\u0440\u0441\u0438\u044f \u0434\u043b\u044f Android 5.0 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0430 <a href=\"https:\/\/archive.org\/details\/termux-repositories-legacy\" rel=\"nofollow\">\u0437\u0434\u0435\u0441\u044c<\/a>, \u0444\u0430\u0439\u043b termux-app-git-debug.apk. \u0412\u0435\u0440\u0441\u0438\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b 0.83, \u043e\u043d\u0430 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0443 \u043f\u0430\u043d\u0435\u043b\u0438 \u043a\u043b\u0430\u0432\u0438\u0448.<\/p>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430 Termux \u044f \u043f\u0435\u0440\u0435\u043d\u0430\u0441\u0442\u0440\u043e\u0438\u043b \u043a\u043b\u0430\u0432\u0438\u0448\u0438, \u043f\u043e\u0440\u044f\u0434\u043e\u043a \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439 \u0442\u0430\u043a\u043e\u0439:<\/p>\n<pre><code class=\"plaintext\">mkdir $HOME\/.termux  echo &quot;extra-keys = [['ESC','\/','-','HOME','UP','END','PGUP'],['TAB','CTRL','ALT','LEFT','DOWN','RIGHT','PGDN']]&quot; &gt; $HOME\/.termux\/termux.properties  termux-reload-settings <\/code><\/pre>\n<p>  \u0421\u0442\u0430\u043b\u043e \u0443\u0434\u043e\u0431\u043d\u0435\u0435<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/c93\/ca3\/1e7\/c93ca31e747a5174edaf850f049c70ad.png\" alt=\"image\"><\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0443\u0436\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0435<br \/>  <code>pkg install build-essential<br \/>  pkg install git<br \/>  <\/code><\/p>\n<p>  \u0413\u043e\u0442\u043e\u0432\u043e, \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0430\u0441\u0441\u0435\u043c\u0431\u043b\u0435\u0440\u0430 \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f .BIN \u0431\u0443\u0434\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d MACRO-11:<\/p>\n<pre><code class=\"plaintext\">mkdir src cd src git clone https:\/\/gitlab.com\/Rhialto\/macro11.git<\/code><\/pre>\n<p>  \u041f\u043e\u0442\u043e\u043c \u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b \u043e\u0431\u043e\u043b\u043e\u0447\u043a\u0443:<\/p>\n<pre><code class=\"plaintext\">pkg install mc<\/code><\/pre>\n<p>  \u0438 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u0439 \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440<\/p>\n<pre><code class=\"plaintext\">pkg install nano<\/code><\/pre>\n<p>  \u0432 \u043f\u0430\u043f\u043a\u0435 <b>src\\macro11<\/b> \u043d\u0443\u0436\u043d\u043e \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c <b>Makefile<\/b>, \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c<\/p>\n<pre><code class=\"plaintext\">OBJFORMAT = -DDEFAULT_OBJECTFORMAT_RT11=1<\/code><\/pre>\n<p>  \u043d\u0430\u0431\u0440\u0430\u0442\u044c <b>make <\/b>\u0438 \u0436\u0434\u0430\u0442\u044c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430<\/p>\n<p>  \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c<\/p>\n<pre><code class=\"plaintext\">cp macro11 $PREFIX\/bin  cp dumpobj $PREFIX\/bin<\/code><\/pre>\n<p>  \u0414\u043b\u044f \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438 \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f \u0441\u043a\u0440\u0438\u043f\u0442 \u0434\u043b\u044f \u0441\u0431\u043e\u0440\u043a\u0438<\/p>\n<pre><code class=\"plaintext\">cd ~\/src  git clone https:\/\/github.com\/smaslovski\/pdp11dasm.git cd pdp11dasm\/utils chmod 755 obj2bkb cp obj2bkb $PREFIX\/bin<\/code><\/pre>\n<p>  \u0441\u043a\u0440\u0438\u043f\u0442 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438, \u044f \u043d\u0430\u0437\u0432\u0430\u043b <b>compile<\/b>:<\/p>\n<pre><code class=\"plaintext\">#!\/data\/data\/com.termux\/files\/usr\/bin\/sh n=$1 macro11 $n.mac -o $n.obj -l $n.lst obj2bkb --binary --base=01000 -o $n.bin $n.obj du -b $n.bin cp $n.bin \/sdcard <\/code><\/pre>\n<p>  (\u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c <b>nano compile<\/b>)<\/p>\n<p>  \u0421\u043a\u0440\u0438\u043f\u0442 \u043d\u0443\u0436\u043d\u043e \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c<\/p>\n<pre><code class=\"plaintext\">chmod 755 compile cp compile $PREFIX\/bin <\/code><\/pre>\n<p>  \u0414\u043b\u044f \u043f\u0440\u043e\u0431\u044b \u044f \u043d\u0430\u043f\u0438\u0441\u0430\u043b \u043f\u0440\u043e\u0441\u0442\u0443\u044e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443 <b>gg.mac<\/b>:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/e05\/abc\/132\/e05abc132e121421c56b0223b6aa913f.png\" alt=\"image\"><\/p>\n<pre><code class=\"plaintext\">.title proga .psect code .=1000   MOV #40000,R0 M: mov r0,(r0)+  tst r0  bpl m  halt .end<\/code><\/pre>\n<p>  \u0437\u0430\u043f\u0443\u0441\u043a: <b>compile gg<\/b><br \/>  \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443 <b>gg.bin<\/b> \u043c\u043e\u0436\u043d\u043e \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u0432 \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440\u0435.<\/p>\n<p>  \u0418, \u0432 \u0437\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0438, \u043f\u043e\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043d\u0435\u0447\u0442\u043e \u043e\u043f\u0442\u0438\u043c\u0438\u0441\u0442\u0438\u0447\u043d\u043e\u0435 \u0438 \u0436\u0438\u0437\u043d\u0435\u0440\u0430\u0434\u043e\u0441\u0442\u043d\u043e\u0435, \u043d\u043e \u044f \u043d\u0430\u0440\u0443\u0448\u0443 \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u0438 \u043f\u0440\u0438\u0432\u0435\u0434\u0443 \u043f\u0440\u0438\u043c\u0435\u0440 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043d\u0430\u043f\u0438\u0441\u0430\u043b \u0432\u0435\u0447\u0435\u0440\u043e\u043c:<\/p>\n<pre><code class=\"plaintext\">\t.title small \t.ASECT \t.=1000   ;clr r0  ;clr r1 M: ; inc r0  add pc,r1 ; mov r1,r2  bic #49152.,r1 ; add #40000,r1  sub r1,40000(r1)  br M \t.end <\/code><\/pre>\n<p>  \u041a\u0442\u043e \u043d\u0430\u043f\u0438\u0448\u0435\u0442 \u043a\u043e\u0434 \u043c\u0435\u043d\u044c\u0448\u0438\u043c \u0440\u0430\u0437\u043c\u0435\u0440\u043e\u043c? \u0414\u0435\u0440\u0437\u0430\u0439\u0442\u0435.<\/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\/505592\/\"> https:\/\/habr.com\/ru\/post\/505592\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/505592\/\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/422\/d74\/390\/422d74390f31fed6f67b30f51819a055.jpg\" alt=\"image\"><\/p>\n<p>  \u0418\u0441\u0442\u043e\u0440\u0438\u044f \u043f\u0440\u043e\u0438\u0437\u043e\u0448\u043b\u0430 \u0432 Telegram-\u043a\u0430\u043d\u0430\u043b\u0435 \u0411\u041a00010, \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u043e\u043c \u0431\u044b\u043b \u044f.<\/p>\n<p>  \u0412\u043e\u0437\u043d\u0438\u043a \u0432\u043e\u043f\u0440\u043e\u0441: \u043a\u0430\u043a \u043f\u0438\u0441\u0430\u0442\u044c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b? <a href=\"https:\/\/play.google.com\/store\/apps\/details?id=su.comp.bk&amp;hl=ru\" rel=\"nofollow\">\u042d\u043c\u0443\u043b\u044f\u0442\u043e\u0440<\/a> \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0437\u0430\u043f\u0438\u0441\u044c \u0434\u0438\u0441\u043a\u043e\u0432, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0430\u0441\u0441\u0435\u043c\u0431\u043b\u0435\u0440 \u0432 \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440\u0435 \u0432\u0440\u044f\u0434 \u043b\u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0441\u044f. \u0412 \u0434\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0435 \u0432\u0441\u0435\u0445 \u0431\u0435\u0434 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0430 \u043d\u0430 \u0441\u043c\u0430\u0440\u0442\u0444\u043e\u043d\u0430\u0445 \u043e\u0447\u0435\u043d\u044c \u043c\u0435\u043b\u043a\u0430\u044f.  <\/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-304929","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/304929","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=304929"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/304929\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=304929"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=304929"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=304929"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}