{"id":2996,"date":"2021-08-02T14:36:34","date_gmt":"2021-08-02T11:36:34","guid":{"rendered":"https:\/\/demensdeum.com\/blog\/?p=2996"},"modified":"2024-12-16T22:32:22","modified_gmt":"2024-12-16T19:32:22","slug":"writing-stuff-in-assembly-for-sega-genesis-4","status":"publish","type":"post","link":"https:\/\/demensdeum.com\/blog\/ru\/2021\/08\/02\/writing-stuff-in-assembly-for-sega-genesis-4\/","title":{"rendered":"\u041f\u0438\u0448\u0435\u043c \u043d\u0430 \u0410\u0441\u0441\u0435\u043c\u0431\u043b\u0435\u0440\u0435 \u0434\u043b\u044f Sega Genesis #4"},"content":{"rendered":"<p>\u0412 \u044d\u0442\u043e\u0439 \u0437\u0430\u043c\u0435\u0442\u043a\u0435 \u044f \u043e\u043f\u0438\u0448\u0443 \u043a\u0430\u043a \u0440\u0438\u0441\u043e\u0432\u0430\u0442\u044c \u0441\u043f\u0440\u0430\u0439\u0442\u044b \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e VDP \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440\u0430 \u043f\u0440\u0438\u0441\u0442\u0430\u0432\u043a\u0438 Sega Genesis.<br \/>\u041f\u0440\u043e\u0446\u0435\u0441\u0441 \u043e\u0442\u0440\u0438\u0441\u043e\u0432\u043a\u0438 \u0441\u043f\u0440\u0430\u0439\u0442\u043e\u0432 \u043e\u0447\u0435\u043d\u044c \u0441\u0445\u043e\u0436 \u0441 \u0440\u0435\u043d\u0434\u0435\u0440\u0438\u043d\u0433\u043e\u043c \u0442\u0430\u0439\u043b\u043e\u0432:<\/p>\n<ol>\n<li>\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u0446\u0432\u0435\u0442\u043e\u0432 \u0432 CRAM<\/li>\n<li>\u0412\u044b\u0433\u0440\u0443\u0437\u043a\u0430 \u0447\u0430\u0441\u0442\u0435\u0439 \u0441\u043f\u0440\u0430\u0439\u0442\u043e\u0432 8&#215;8 \u0432 VRAM<\/li>\n<li>\u0417\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 Sprite Table \u0432 VRAM<\/li>\n<\/ol>\n<p>\u0414\u043b\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u0432\u043e\u0437\u044c\u043c\u0435\u043c \u0441\u043f\u0440\u0430\u0439\u0442 \u0441\u043a\u0435\u043b\u0435\u0442\u0430 \u0441 \u043c\u0435\u0447\u043e\u043c 32&#215;32 \u043f\u0438\u043a\u0441\u0435\u043b\u044f<br \/><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3001\" src=\"https:\/\/demensdeum.com\/blog\/wp-content\/uploads\/2021\/08\/skull.png\" alt=\"\" width=\"32\" height=\"32\" \/><br \/>\n<a href=\"https:\/\/opengameart.org\/content\/skeleton-guy-animated\" target=\"_blank\" rel=\"noopener\">Skeleton Guy [Animated] by Disthorn<\/a><\/p>\n<h3>CRAM<\/h3>\n<p>\u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e ImaGenesis \u0441\u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u0443\u0435\u043c \u0435\u0433\u043e \u0432 \u0446\u0432\u0435\u0442\u0430 CRAM \u0438 \u043f\u0430\u0442\u0442\u0435\u0440\u043d\u044b VRAM \u0434\u043b\u044f \u0430\u0441\u0441\u0435\u043c\u0431\u043b\u0435\u0440\u0430. \u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u0434\u0432\u0430 \u0444\u0430\u0439\u043b\u0430 \u0430 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 asm, \u0434\u0430\u043b\u0435\u0435 \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u0446\u0432\u0435\u0442\u0430 \u043d\u0430 \u0440\u0430\u0437\u043c\u0435\u0440 word, \u0430 \u0442\u0430\u0439\u043b\u044b \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u044c \u0432 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u043c \u043f\u043e\u0440\u044f\u0434\u043a\u0435 \u0434\u043b\u044f \u043e\u0442\u0440\u0438\u0441\u043e\u0432\u043a\u0438.<br \/><em><strong>\u0418\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0430\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f: \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0430\u0432\u0442\u043e\u0438\u043d\u043a\u0440\u0435\u043c\u0435\u043d\u0442 VDP \u0447\u0435\u0440\u0435\u0437 \u0440\u0435\u0433\u0438\u0441\u0442\u0440 0xF \u043d\u0430 \u0440\u0430\u0437\u043c\u0435\u0440 word, \u044d\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442 \u0443\u0431\u0440\u0430\u0442\u044c \u0438\u043d\u043a\u0440\u0435\u043c\u0435\u043d\u0442 \u0430\u0434\u0440\u0435\u0441\u0430 \u0438\u0437 \u043a\u043e\u0434\u0430 \u0437\u0430\u043b\u0438\u0432\u043a\u0438 \u0446\u0432\u0435\u0442\u043e\u0432 CRAM.<\/strong><\/em><\/p>\n<h3>VRAM<\/h3>\n<p>\u0412 \u043c\u0430\u043d\u0443\u0430\u043b\u0435 \u0441\u0435\u0433\u0438 \u0435\u0441\u0442\u044c \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u044b\u0439 \u043f\u043e\u0440\u044f\u0434\u043e\u043a \u0442\u0430\u0439\u043b\u043e\u0432 \u0434\u043b\u044f \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u0441\u043f\u0440\u0430\u0439\u0442\u043e\u0432, \u043d\u043e \u043c\u044b \u0443\u043c\u043d\u0435\u0435, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432\u043e\u0437\u044c\u043c\u0435\u043c \u0438\u043d\u0434\u0435\u043a\u0441\u044b \u0438\u0437 \u0431\u043b\u043e\u0433\u0430 <a href=\"https:\/\/www.chibiakumas.com\/68000\/genesis.php\" target=\"_blank\" rel=\"noopener\">ChibiAkumas<\/a>, \u043d\u0430\u0447\u043d\u0435\u043c \u043f\u043e\u0434\u0441\u0447\u0435\u0442 \u0441 \u0438\u043d\u0434\u0435\u043a\u0441\u0430 0:<\/p>\n<p>0 4 8 12<\/p>\n<p>1 5 9 13<\/p>\n<p>2 6 10 14<\/p>\n<p>3 7 11 15<\/p>\n<p>\u041f\u043e\u0447\u0435\u043c\u0443 \u0432\u0441\u0435 \u043a\u0432\u0435\u0440\u0445 \u043d\u043e\u0433\u0430\u043c\u0438? \u0410 \u0447\u0442\u043e \u0432\u044b \u0445\u043e\u0442\u0438\u0442\u0435, \u0432\u0435\u0434\u044c \u043f\u0440\u0438\u0441\u0442\u0430\u0432\u043a\u0430 \u044f\u043f\u043e\u043d\u0441\u043a\u0430\u044f! \u041c\u043e\u0433\u043b\u043e \u0431\u044b\u0442\u044c \u0432\u043e\u043e\u0431\u0449\u0435 \u0441\u043f\u0440\u0430\u0432\u0430 \u043d\u0430\u043b\u0435\u0432\u043e!<br \/>\u041f\u043e\u043c\u0435\u043d\u044f\u0435\u043c \u0432\u0440\u0443\u0447\u043d\u0443\u044e \u043f\u043e\u0440\u044f\u0434\u043e\u043a \u0432 asm \u0444\u0430\u0439\u043b\u0435 \u0441\u043f\u0440\u0430\u0439\u0442\u0430:<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-unknown\" data-lang=\"unknown\"><code>\tdc.l\t$11111111\t; Tile #0 \n\tdc.l\t$11111111 \n\tdc.l\t$11111111 \n\tdc.l\t$11111111 \n\tdc.l\t$11111111 \n\tdc.l\t$11111111 \n\tdc.l\t$11111111 \n\tdc.l\t$11111111 \n\tdc.l\t$11111111\t; Tile #4 \n\tdc.l\t$11111111 \n\tdc.l\t$11111111 \n\tdc.l\t$11111111 \n\tdc.l\t$11111111 \n\tdc.l\t$11111111 \n\tdc.l\t$11111111 \n\tdc.l\t$11111111\n\tdc.l\t$11111111\t; Tile #8 \n\tdc.l\t$11111111 \n\tdc.l\t$11111111 \n\tdc.l\t$11111111 \n\tdc.l\t$11111111 \n\tdc.l\t$11111122 \n\tdc.l\t$11111122 \n\tdc.l\t$11111166 \n\tdc.l\t$11111166\t; Tile #12 \n\tdc.l\t$11111166 \n\tdc.l\t$11111166 \n\t\u0438 \u0442.\u0434. \n<\/code><\/pre>\n<\/div>\n<p>\u041f\u0440\u043e\u0433\u0440\u0443\u0437\u0438\u043c \u0441\u043f\u0440\u0430\u0439\u0442 \u043a\u0430\u043a \u043e\u0431\u044b\u0447\u043d\u044b\u0435 \u0442\u0430\u0439\u043b\u044b\/\u043f\u0430\u0442\u0442\u0435\u0440\u043d\u044b:<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-unknown\" data-lang=\"unknown\"><code>  lea Sprite,a0 \n  move.l #$40200000,vdp_control_port; write to VRAM command \n  move.w #128,d0 ; (16*8 rows of sprite) counter \nSpriteVRAMLoop: \n  move.l (a0)+,vdp_data_port; \n  dbra d0,SpriteVRAMLoop \n<\/code><\/pre>\n<\/div>\n<p>\u0414\u043b\u044f \u043e\u0442\u0440\u0438\u0441\u043e\u0432\u043a\u0438 \u0441\u043f\u0440\u0430\u0439\u0442\u0430 \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0437\u0430\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u0441\u043f\u0440\u0430\u0439\u0442\u043e\u0432 (Sprite Table)<\/p>\n<h3>Sprite Table<\/h3>\n<p>\u0422\u0430\u0431\u043b\u0438\u0446\u0430 \u0441\u043f\u0440\u0430\u0439\u0442\u043e\u0432 \u0437\u0430\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u0432 VRAM, \u0430\u0434\u0440\u0435\u0441 \u0435\u0435 \u043d\u0430\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0432 VDP \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0435 0x05, \u0430\u0434\u0440\u0435\u0441 \u043e\u043f\u044f\u0442\u044c \u0445\u0438\u0442\u0440\u044b\u0439, \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043c\u043e\u0436\u043d\u043e \u0432 \u043c\u0430\u043d\u0443\u0430\u043b\u0435, \u043f\u0440\u0438\u043c\u0435\u0440 \u0434\u043b\u044f \u0430\u0434\u0440\u0435\u0441\u0430 F000:<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-unknown\" data-lang=\"unknown\"><code><\/code><\/pre>\n<\/div>\n<p>\u041e\u043a, \u0442\u0435\u043f\u0435\u0440\u044c \u0437\u0430\u043f\u0438\u0448\u0435\u043c \u043d\u0430\u0448 \u0441\u043f\u0440\u0430\u0439\u0442 \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0443. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0443\u0436\u043d\u043e \u0437\u0430\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u201c\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443\u201d \u0434\u0430\u043d\u043d\u044b\u0445 \u0441\u043e\u0441\u0442\u043e\u044f\u0449\u0443\u044e \u0438\u0437 \u0447\u0435\u0442\u044b\u0440\u0435\u0445 word. \u0411\u0438\u043d\u0430\u0440\u043d\u043e\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043d\u0430\u0439\u0442\u0438 \u0432 \u043c\u0430\u043d\u0443\u0430\u043b\u0435. \u041b\u0438\u0447\u043d\u043e \u044f \u0441\u0434\u0435\u043b\u0430\u043b \u043f\u0440\u043e\u0449\u0435, \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u0441\u043f\u0440\u0430\u0439\u0442\u043e\u0432 \u043c\u043e\u0436\u043d\u043e \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u0440\u0443\u0447\u043d\u0443\u044e \u0432 \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440\u0435 Exodus.<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3002\" src=\"https:\/\/demensdeum.com\/blog\/wp-content\/uploads\/2021\/08\/spriteTable.png\" alt=\"\" width=\"804\" height=\"652\" srcset=\"https:\/\/demensdeum.com\/blog\/wp-content\/uploads\/2021\/08\/spriteTable.png 804w, https:\/\/demensdeum.com\/blog\/wp-content\/uploads\/2021\/08\/spriteTable-300x243.png 300w, https:\/\/demensdeum.com\/blog\/wp-content\/uploads\/2021\/08\/spriteTable-768x623.png 768w\" sizes=\"auto, (max-width: 804px) 100vw, 804px\" \/><br \/>\n\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u044b \u0438\u0437 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044f, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 XPos, YPos &#8211; \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b, Tiles &#8211; \u043d\u043e\u043c\u0435\u0440 \u0441\u0442\u0430\u0440\u0442\u043e\u0432\u043e\u0433\u043e \u0442\u0430\u0439\u043b\u0430 \u0434\u043b\u044f \u043e\u0442\u0440\u0438\u0441\u043e\u0432\u043a\u0438, HSize, VSize &#8211; \u0440\u0430\u0437\u043c\u0435\u0440\u044b \u0441\u043f\u0440\u0430\u0439\u0442\u0430 \u043f\u0443\u0442\u0435\u043c \u0441\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0447\u0430\u0441\u0442\u0435\u0439 8&#215;8, HFlip, VFlip &#8211; \u0430\u043f\u043f\u0430\u0440\u0430\u0442\u043d\u044b\u0435 \u043f\u043e\u0432\u043e\u0440\u043e\u0442\u044b \u0441\u043f\u0440\u0430\u0439\u0442\u0430 \u043f\u043e \u0433\u043e\u0440\u0438\u0437\u043e\u043d\u0442\u0430\u043b\u0438 \u0438 \u0432\u0435\u0440\u0442\u0438\u043a\u0430\u043b\u0438.<br \/><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3003\" src=\"https:\/\/demensdeum.com\/blog\/wp-content\/uploads\/2021\/08\/spriteTableExample.png\" alt=\"\" width=\"805\" height=\"660\" srcset=\"https:\/\/demensdeum.com\/blog\/wp-content\/uploads\/2021\/08\/spriteTableExample.png 805w, https:\/\/demensdeum.com\/blog\/wp-content\/uploads\/2021\/08\/spriteTableExample-300x246.png 300w, https:\/\/demensdeum.com\/blog\/wp-content\/uploads\/2021\/08\/spriteTableExample-768x630.png 768w\" sizes=\"auto, (max-width: 805px) 100vw, 805px\" \/><br \/>\n<strong><em>\u041e\u0447\u0435\u043d\u044c \u0432\u0430\u0436\u043d\u043e \u043f\u043e\u043c\u043d\u0438\u0442\u044c \u0447\u0442\u043e \u0441\u043f\u0440\u0430\u0439\u0442\u044b \u043c\u043e\u0433\u0443\u0442 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u044c\u0441\u044f \u0432\u043d\u0435 \u044d\u043a\u0440\u0430\u043d\u0430, \u044d\u0442\u043e \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0435 \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435, \u0442.\u043a. \u0432\u044b\u0433\u0440\u0443\u0436\u0430\u0442\u044c \u0438\u0437 \u043f\u0430\u043c\u044f\u0442\u0438 \u0441\u043f\u0440\u0430\u0439\u0442\u044b \u0432\u043d\u0435 \u044d\u043a\u0440\u0430\u043d\u0430 &#8211; \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0435\u043c\u043a\u043e\u0435 \u0437\u0430\u043d\u044f\u0442\u0438\u0435.<\/em><\/strong><br \/>\u041f\u043e\u0441\u043b\u0435 \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440\u0435, \u0438\u0445 \u043d\u0443\u0436\u043d\u043e \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438\u0437 VRAM \u043f\u043e \u0430\u0434\u0440\u0435\u0441\u0443 0xF000, Exodus \u0442\u0430\u043a\u0436\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u044d\u0442\u0443 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c.<br \/>\u041f\u043e \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0438 \u0441 \u043e\u0442\u0440\u0438\u0441\u043e\u0432\u043a\u043e\u0439 \u0442\u0430\u0439\u043b\u043e\u0432, \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u043e\u0431\u0440\u0430\u0449\u0430\u0435\u043c\u0441\u044f \u0432 \u043f\u043e\u0440\u0442 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044f VDP \u0434\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0437\u0430\u043f\u0438\u0441\u0438 \u043f\u043e \u0430\u0434\u0440\u0435\u0441\u0443 0xF000, \u0437\u0430\u0442\u0435\u043c \u0432 \u043f\u043e\u0440\u0442 \u0434\u0430\u043d\u043d\u044b\u0445 \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443.<br \/>\u041d\u0430\u043f\u043e\u043c\u043d\u044e \u0447\u0442\u043e \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0430\u0434\u0440\u0435\u0441\u0430\u0446\u0438\u0438 VRAM \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u0432 \u043c\u0430\u043d\u0443\u0430\u043b\u0435, \u043b\u0438\u0431\u043e \u0432 \u0431\u043b\u043e\u0433\u0435 <a href=\"https:\/\/namelessalgorithm.com\/genesis\/blog\/vdp\/\" target=\"_blank\" rel=\"noopener\">Nameless Algorithm<\/a>.<\/p>\n<p>\u0412\u043a\u0440\u0430\u0442\u0446\u0435 \u0430\u0434\u0440\u0435\u0441\u0430\u0446\u0438\u044f VDP \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0442\u0430\u043a:<br \/>[..DC BA98 7654 3210 &#8230;. &#8230;. &#8230;. ..FE]<br \/>\u0413\u0434\u0435 hex \u044d\u0442\u043e \u043f\u043e\u0437\u0438\u0446\u0438\u044f \u0431\u0438\u0442\u0430 \u0432 \u0436\u0435\u043b\u0430\u0435\u043c\u043e\u043c \u0430\u0434\u0440\u0435\u0441\u0435. \u041f\u0435\u0440\u0432\u044b\u0435 \u0434\u0432\u0430 \u0431\u0438\u0442\u0430 \u044d\u0442\u043e \u0442\u0438\u043f \u0437\u0430\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0435\u043c\u043e\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u044b, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 01 &#8211; \u0437\u0430\u043f\u0438\u0441\u044c \u0432 VRAM. \u0422\u043e\u0433\u0434\u0430 \u0434\u043b\u044f \u0430\u0434\u0440\u0435\u0441\u0430 0XF000 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f:<br \/>0111 0000 0000 0000 0000 0000 0000 0011 (70000003)<\/p>\n<p>\u0412 \u0438\u0442\u043e\u0433\u0435 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u043a\u043e\u0434:<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-unknown\" data-lang=\"unknown\"><code>  move.l #$70000003,vdp_control_port \n  move.w #$0100,vdp_data_port \n  move.w #$0F00,vdp_data_port \n  move.w #$0001,vdp_data_port \n  move.w #$0100,vdp_data_port \n<\/code><\/pre>\n<\/div>\n<p>\u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u0441\u043f\u0440\u0430\u0439\u0442 \u0441\u043a\u0435\u043b\u0435\u0442\u0430 \u043e\u0442\u043e\u0431\u0440\u0430\u0437\u0438\u0442\u0441\u044f \u0432 \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u0430\u0445 256, 256. \u041a\u0440\u0443\u0442\u043e \u0434\u0430?<\/p>\n<h3>\u0421\u0441\u044b\u043b\u043a\u0438<\/h3>\n<p><a href=\"https:\/\/gitlab.com\/demensdeum\/segagenesissamples\/-\/tree\/main\/7Sprite\/vasm\" target=\"_blank\" rel=\"noopener\">https:\/\/gitlab.com\/demensdeum\/segagenesissamples\/-\/tree\/main\/7Sprite\/vasm<\/a><br \/><a href=\"https:\/\/opengameart.org\/content\/skeleton-guy-animated\" target=\"_blank\" rel=\"noopener\">https:\/\/opengameart.org\/content\/skeleton-guy-animated<\/a><\/p>\n<h3>\u0418\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0438<\/h3>\n<p><a href=\"https:\/\/namelessalgorithm.com\/genesis\/blog\/vdp\/\" target=\"_blank\" rel=\"noopener\">https:\/\/namelessalgorithm.com\/genesis\/blog\/vdp\/<\/a><br \/><a href=\"https:\/\/www.chibiakumas.com\/68000\/platform3.php#LessonP27\" target=\"_blank\" rel=\"noopener\">https:\/\/www.chibiakumas.com\/68000\/platform3.php#LessonP27<\/a><br \/>\n<a href=\"https:\/\/plutiedev.com\/sprites\" target=\"_blank\" rel=\"noopener\">https:\/\/plutiedev.com\/sprites<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0412 \u044d\u0442\u043e\u0439 \u0437\u0430\u043c\u0435\u0442\u043a\u0435 \u044f \u043e\u043f\u0438\u0448\u0443 \u043a\u0430\u043a \u0440\u0438\u0441\u043e\u0432\u0430\u0442\u044c \u0441\u043f\u0440\u0430\u0439\u0442\u044b \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e VDP \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440\u0430 \u043f\u0440\u0438\u0441\u0442\u0430\u0432\u043a\u0438 Sega Genesis.\u041f\u0440\u043e\u0446\u0435\u0441\u0441 \u043e\u0442\u0440\u0438\u0441\u043e\u0432\u043a\u0438 \u0441\u043f\u0440\u0430\u0439\u0442\u043e\u0432 \u043e\u0447\u0435\u043d\u044c \u0441\u0445\u043e\u0436 \u0441 \u0440\u0435\u043d\u0434\u0435\u0440\u0438\u043d\u0433\u043e\u043c \u0442\u0430\u0439\u043b\u043e\u0432: \u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u0446\u0432\u0435\u0442\u043e\u0432 \u0432 CRAM \u0412\u044b\u0433\u0440\u0443\u0437\u043a\u0430 \u0447\u0430\u0441\u0442\u0435\u0439 \u0441\u043f\u0440\u0430\u0439\u0442\u043e\u0432 8&#215;8 \u0432 VRAM \u0417\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 Sprite Table \u0432 VRAM \u0414\u043b\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u0432\u043e\u0437\u044c\u043c\u0435\u043c \u0441\u043f\u0440\u0430\u0439\u0442 \u0441\u043a\u0435\u043b\u0435\u0442\u0430 \u0441 \u043c\u0435\u0447\u043e\u043c 32&#215;32 \u043f\u0438\u043a\u0441\u0435\u043b\u044f Skeleton Guy [Animated] by Disthorn CRAM \u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e ImaGenesis<a class=\"more-link\" href=\"https:\/\/demensdeum.com\/blog\/ru\/2021\/08\/02\/writing-stuff-in-assembly-for-sega-genesis-4\/\">Continue reading <span class=\"screen-reader-text\">&#8220;\u041f\u0438\u0448\u0435\u043c \u043d\u0430 \u0410\u0441\u0441\u0435\u043c\u0431\u043b\u0435\u0440\u0435 \u0434\u043b\u044f Sega Genesis #4&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[61,52],"tags":[165,172,174],"class_list":["post-2996","post","type-post","status-publish","format-standard","hentry","category-techie","category-tutorials","tag-asm","tag-roms","tag-vasm","entry"],"translation":{"provider":"WPGlobus","version":"3.0.2","language":"ru","enabled_languages":["en","ru","zh","de","fr","ja","pt","hi"],"languages":{"en":{"title":true,"content":true,"excerpt":false},"ru":{"title":true,"content":true,"excerpt":false},"zh":{"title":true,"content":true,"excerpt":false},"de":{"title":true,"content":true,"excerpt":false},"fr":{"title":true,"content":true,"excerpt":false},"ja":{"title":true,"content":true,"excerpt":false},"pt":{"title":true,"content":true,"excerpt":false},"hi":{"title":false,"content":false,"excerpt":false}}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/demensdeum.com\/blog\/ru\/wp-json\/wp\/v2\/posts\/2996","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/demensdeum.com\/blog\/ru\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/demensdeum.com\/blog\/ru\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/demensdeum.com\/blog\/ru\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/demensdeum.com\/blog\/ru\/wp-json\/wp\/v2\/comments?post=2996"}],"version-history":[{"count":13,"href":"https:\/\/demensdeum.com\/blog\/ru\/wp-json\/wp\/v2\/posts\/2996\/revisions"}],"predecessor-version":[{"id":3895,"href":"https:\/\/demensdeum.com\/blog\/ru\/wp-json\/wp\/v2\/posts\/2996\/revisions\/3895"}],"wp:attachment":[{"href":"https:\/\/demensdeum.com\/blog\/ru\/wp-json\/wp\/v2\/media?parent=2996"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/demensdeum.com\/blog\/ru\/wp-json\/wp\/v2\/categories?post=2996"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/demensdeum.com\/blog\/ru\/wp-json\/wp\/v2\/tags?post=2996"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}