Snake

What he does

Played by the cartridge with the emulated joystick (tools/snake.py gif): every frame, the keys to 0xCA08 and 0xCA07 and the game loop (p01:741A), and the whole room is painted, as on screen, at the MSX's pace (one game frame every 5 of the VDP, measured in openMSX). It is room 0 of zone 0, where the game starts.

Walking, up, left, down and right:

Walking

Crawling (both triggers at once to lie down):

Crawling

The punch (trigger 2, disparo_2, p03:A360: state 3 for 4 frames), in the four directions; trigger 1 uses the weapon:

The punch

With the handgun (0xCB20 = 1):

With the handgun

Inside the cardboard box (ダンボール, 0xCB21 = 0x0A): a single drawing, 0x0B, with its fixed colours (p12:7AE5), which slides along:

Inside the box

Under the bucket (バケツ, 0xCB21 = 0x0B):

Under the bucket

All his drawings

Each drawing only once (those that look the same, removed), one row per drawing number: 0, 1, 2, 3, 4, 8, 9, 0x0A, 0x0B, 0x0C and 0x0E. Number 9 (p63:B27A) looks like 0 but is not: each picture differs in 20 to 67 dots.

Snake's drawings, no repeats

How he is painted

Snake is four 16 x 16 sprites: two on top and two 16 dots lower, and in each pair the second carries the CC bit, which adds its colours to those of the first (dibuja_snake, p12:7688). His patterns are not fixed: every frame the four of the drawing in use are copied into the sprite pattern table (0xF800) from page 3 of the VRAM (p12:76E9), and his colours come, line by line, from the runs at p63:B282 and p63:B620. The drawing is 0xCB01; going through its tables (p63:B1CC-B282) gives 98 different ones. The game starts with 0x0D, which puts the sprites away, until Snake arrives. Number 7 (turning round while crawling) has not come out playing.

The weapons (F2)

WEAPON SELECT

Snake carries his things in four-byte records: 13 weapons at 0xD600 and 34 pieces of equipment at 0xD638 ([has it] [the count, in BCD] [...]). F2 opens the weapon screen (p10:AED6) and F3 the equipment one (p10:AF30); the sign of whatever is under the cursor comes from the table at p50:8046 or p50:8048 (letrero_de_lo_elegido, p10:B8C7). Both screens, with everything in them, are painted by the cartridge (tools/equipo.py).

The F2 signs, as the ROM has them:

| Slot | | | Sign | Translation | |---:|---|---|---|---| | 0 | | | (none) | | | 1 | | p51:B546 | ハンドガン [ベレッタM92F] アメリカ軍用セイシキピストルとしてサイヨウされているセミオートマチックピストル。サイレンサーソウチャクカ。タマホキュウカ。 | HANDGUN [Beretta M92F]. Semi-automatic pistol adopted as the official US military pistol. Takes a silencer. Ammunition can be resupplied. | | 2 | | p51:B59A | サブマシンガン [イングラムM11] アメリカのコガタケイリョウSMG。ショットキーをおしつづけるとフルオートになる。サイレンサーソウチャクカ。タマホキュウカ。 | SUBMACHINE GUN [Ingram M11]. Small, light American SMG. Keep the shot key pressed for full auto. Takes a silencer. Ammunition can be resupplied. | | 3 | | p51:B5ED | グレネード [M68] アメリカセイ、チャクハツシンカンシキハヘンシュリュウダン。ジメンにトウタツするとバクハツする。ラッカチテンはターゲット上。 | GRENADE [M68]. American impact-fuse fragmentation grenade. It explodes when it hits the ground. It lands on the target. | | 4 | | | (none) | | | 5 | | p51:B63B | タイクウミサイル [スティンガー] ケイタイシキ、タイクウミサイル。レーダー内のショウジュンをカーソルイドウさせ、ショットキーでハッシャする。レーダー内カノウ。 | ANTI-AIR MISSILE [Stinger]. Portable anti-air missile. Move the sight cursor on the radar and fire with the shot key. Usable within the radar. | | 6 | | p51:B690 | リモコンミサイル [M47ドラゴン] シュ動モクシセン指令ホウシキによりハッシャゴのミサイルとモクヒョウをモクシによるカーソルソウサでホウコウをシュウセイできる。 | REMOTE-CONTROLLED MISSILE [M47 Dragon]. With manual line-of-sight guidance, the course of the missile can be corrected after launch by steering a cursor on sight. | | 7 | | p51:B6E7 | プラスチック・バクダン ヘンケイカノウなケイリョウコウセイノウバクヤク。 | PLASTIC EXPLOSIVE. Light, high-performance explosive that can be shaped. | | 8 | | p51:B70E | ジライ [M 78] ショットキーでセット、ホフクで真上を通るとカイシュウ。タンチキがあればレーダー上にうつる。レーダー内にサイダイ16コセットカ。 | MINE [M 78]. Set with the shot key; picked up by crawling right over it. With the detector it shows on the radar. Up to 16 can be set within the radar. | | 9 | | p51:B808 | カモフラージュ・マット [ファントム07] あらゆるVRAMにタイオウできるカモフラージュ・マット。ショットキーでセット、真上を通るとカイシュウ。下に潜れば見えなくなる。 | CAMOUFLAGE MAT [Phantom 07]. A camouflage mat compatible with any VRAM. Set with the shot key, picked up by going right over it. Get under it and you can't be seen. | | 10 | | p51:B761 | ムリョク化ガス [ABC M25A2] ボウドウチンアツ用シュリュウダン。バクハツするとCN1ガスをかざ下にフンシュツする。かざ上でのシヨウはキケン。 | DISABLING GAS [ABC M25A2]. Riot control grenade. When it explodes it spreads CN1 gas downwind. Using it upwind is dangerous. | | 11 | | p51:B7B3 | マウス [ジェリー2] シカケやセンサーを発見するのにつかうダミーロボット。物音モードのカイジョにもつかえる。ショットキーでプレイヤーの前方へはしる。 | MOUSE [Jerry 2]. Dummy robot used to find traps and sensors. It can also switch off the noise mode. With the shot key it runs ahead of the player. | | 12 | | p51:B866 | ライター [JR TOKAI]。 どこにでもうっている100エンライター。シヨウホウホウはフメイ。 | LIGHTER [JR TOKAI]. A 100-yen lighter sold everywhere. How to use it: unknown. | | 13 | | | (none) | |

The equipment (F3)

EQUIPMENT SELECT

| Slot | | | Sign | Translation | |---:|---|---|---|---| | 0 | | | (none) | | | 1 | | p51:B89A | タバコ [ラッキー・ストライカー] ゼンカイにひきつづき、SNAKEアイヨウのタバコ。コドクな戦場にはイキヌキもヒツヨウ。しかし・・・真のシヨウホウホウはフメイ。 | CIGARETTES [Lucky Striker]. SNAKE's favourite cigarettes, as last time. A break is needed on the lonely battlefield too. But... their true use is unknown. | | 2 | | p51:BA39 | ソウガンキョウ [ニコス F500] これをつかうとプレイヤーを中心に上下左右のガメンを見ることができる。 | BINOCULARS [Nikos F500]. With them you can see the screens up, down, left and right of the player. | | 3 | | p51:BB19 | ナイトビュア クラヤミでも真ヒルのように見えるアンシゴーグル。これをソウビすればいかなるクラヤミでも見えるようになる。 | NIGHT VIEWER. Night vision goggles that show the dark as in broad daylight. Equipped, you can see in any darkness. | | 4 | | p51:B943 | ガスマスク[ライアット・フェイス・マスク] これをソウビするとドクガス・エリアでO2ゲージが2バイになり、へり方もおそくなりタイキュウ時間がのびる。ムリョク化ガスにもカ。 | GAS MASK [Riot Face Mask]. Equipped, the O2 gauge doubles in poison gas areas and drops more slowly, so you last longer. Also works against disabling gas. | | 5 | | p51:B8F2 | ボディ・アーマー [S・P・S] テキからのダメージがハンゲンするボウダンチョッキ。サイレント・パートナー・スペシャルといわれ、ジュウダンにのみユウコウ。 | BODY ARMOUR [S.P.S.]. Bulletproof vest that halves the enemy's damage. Called Silent Partner Special; it only works against bullets. | | 6 | | | (none) | | | 7 | | p51:B9E7 | サンソボンベ これをソウビすると水中でのO2ゲージが2バイになり、へり方もおそくなり潜水時間がながくなる。水上に上がればマンタンにもどる。 | OXYGEN TANK. Equipped, the O2 gauge doubles under water and drops more slowly, so you can dive longer. It refills when you surface. | | 8 | | p51:B99F | ジライタンチキ これをソウビするとジライがレーダー上にしろいコウテンとなってうつる。プレイヤーのしかけたジライもドウヨウにハンノウする。 | MINE DETECTOR. Equipped, mines show on the radar as white dots. The player's own mines show too. | | 9 | | p51:BAF4 | ハングライダー 戦場でのリヨウカチはなし。シヨウホウホウはフメイ。 | HANG GLIDER. No use on the battlefield. How to use it: unknown. | | 10 | | p51:BA77 | ダンボール タッキュウビンのどこにでもあるようなダンボールのハコ。ザンジバーランドいきのデンピョウがはられている。シヨウホウホウはフメイ。 | CARDBOARD BOX. An ordinary cardboard box like any parcel service's. It has a label for Zanzibar Land. How to use it: unknown. | | 11 | | p51:BABF | バケツ トイレそうじ用のカネセイのゴミバケツ。かなりじょうぶなシロモノだ。シヨウホウホウはフメイ。 | BUCKET. A metal bin for cleaning toilets. Quite a sturdy thing. How to use it: unknown. | | 12 | | p51:BBF4 | カゼグスリ [PLカル ホワイト] エン化リゾチームハイゴウのビエン用カゼグスリ。くしゃみ、はな水、はなづまり、なみだ目にきく。15サイ以上、1かい、1カプセル。 | COLD MEDICINE [PL Cal White]. Nasal cold medicine with lysozyme chloride. For sneezing, runny nose, blocked nose and watery eyes. Over 15: 1 capsule each time. | | 13 | | p51:BB84 | カセットテープ ナターシャのロッカーにあったカセットテープ。ザンジバーランドのコッカがロクオンされている。 | CASSETTE TAPE. The tape that was in Natasha's locker. The national anthem of Zanzibar Land is recorded on it. | | 14 | | p51:BB5A | タマゴ バイオラボにあったタマゴ。たべられそうにはない。シヨウホウホウはフメイ。 | EGG. An egg from the bio lab. It doesn't look edible. How to use it: unknown. | | 15 | | p51:BB5A | タマゴ (= 14) | (= 14) | | 16 | | p51:BC4E | ブローチ ナターシャがくれたブローチ。ザンジバーランドのマークがモチーフされている。シヨウホウホウはフメイ。ナターシャのにおいがする。 | BROOCH. The brooch Natasha gave him. Its motif is the emblem of Zanzibar Land. How to use it: unknown. It smells of Natasha. | | 17 | | p51:BD04 | レッド・カード カード1から3をダイヨウするマスター・カード。 | RED CARD. Master card that stands for cards 1 to 3. | | 18 | | p51:BD25 | ブルー・カード カード4から6をダイヨウするマスター・カード。 | BLUE CARD. Master card that stands for cards 4 to 6. | | 19 | | p51:BD46 | グリーン・カード カード7から9をダイヨウするマスター・カード。 | GREEN CARD. Master card that stands for cards 7 to 9. | | 20 | | p51:BCE7 | カード ザンジバーランドでシヨウされているICカード。 | CARD. IC card used in Zanzibar Land. | | 21 | | p51:BCE7 | カード (= 20) | (= 20) | | 22 | | p51:BCE7 | カード (= 20) | (= 20) | | 23 | | p51:BCE7 | カード (= 20) | (= 20) | | 24 | | p51:BCE7 | カード (= 20) | (= 20) | | 25 | | p51:BCE7 | カード (= 20) | (= 20) | | 26 | | p51:BCE7 | カード (= 20) | (= 20) | | 27 | | p51:BCE7 | カード (= 20) | (= 20) | | 28 | | p51:BCE7 | カード (= 20) | (= 20) | | 29 | | p51:BC94 | スプレー [ミセス・スプレー] ジメチエーテル、LPガスをつかったキョウネンセイのラッカー用スプレー。カキゲンキンとかかれている。イロはメタリックグレイだ。 | SPRAY [Mrs. Spray]. Lacquer spray with dimethyl ether and LP gas, highly flammable. It says «keep away from fire». The colour is metallic grey. | | 30 | | | (none) | | | 31 | | p51:BBBC | カートリッジ マルフののこしたゲームカートリッジ。この中にOILIXのマイクロフィルムがかくされている。 | CARTRIDGE. The game cartridge Marv left. The OILIX microfilm is hidden in it. | | 32 | | p51:BD68 | Cレーション [B1ユニット] ショットキーでタイリョクのカイフクができるギュウニク、ブタニク、ハムエッグ、ツナフィッシュ、チョコレート、クラッカーをふくむ。 | C RATION [B1 unit]. Restores life with the shot key. Contains beef, pork, ham and egg, tuna fish, chocolate and crackers. | | 33 | | p51:BDBB | Cレーション [B2ユニット] ショットキーでタイリョクのカイフクができるマメとミートボールのトマトニ、マメとフランクフルト、ギュウニクのポテトニをふくむ。 | C RATION [B2 unit]. Restores life with the shot key. Contains beans and meatballs in tomato, beans and frankfurters, and beef with potatoes. | | 34 | | p51:BE0D | Cレーション [B3ユニット] ショットキーでタイリョクのカイフクができるスライスハム、ニワトリとシチメンチョウ、スパゲッティ、チーズ、コーヒーをふくむ。 | C RATION [B3 unit]. Restores life with the shot key. Contains sliced ham, chicken and turkey, spaghetti, cheese and coffee. |

The radar

The radar, played: sweep, dots, alert 2 and alert 1

The box on the right (pon_radar, p12:6F49) draws the 3 x 3 rooms around Snake's from the map at 0xD900 (fondo_del_radar, p12:6EC8), a line that sweeps it (p12:6D78) and, at the end of each sweep, a dot for each enemy (p12:6CE0).

When an enemy sees Snake (alerta_sin_musica, p04:9955) the radar is replaced by alert 2: 危険 with LEVEL and LIFE; with alert 1 (p04:934C), 回避 with LEVEL and TIME. LEVEL is the alert plus one (at most 3); LIFE, Snake's life (0xCA53); TIME, the count 0xD42B divided by 8 (rotulos_de_alerta, p04:984C). The GIF is played by the cartridge (tools/radar.py) in room 2 of zone 6, at the MSX's pace: the radar alone, alert 2 at frame 200 (as an enemy who sees Snake sets it, p04:9955) and alert 1 at frame 300.

The radar's room drawings (their bitmaps) are in the RAM at 0x8000, not in the cartridge: on entering the zone the game puts its RAM in that window (ENASLT with the slot at 0xC386) and copies them there (p00:5BE0), and dibujo_a_7000 (p12:6F93) reads them the same way. Painted without that RAM, the radar comes out full of noise, as if jammed.