What the cartridge draws

Under each picture is where it comes from and what is on it.

The eighteen hole plans, the panel the game keeps down the right of the screen. 0x5DEC paints them: nineteen rows of ten cells from column 22, with the indices of plano_hoyo_NN over the code list accumulated from 0xB349. The mirrored ones come out of the loop itself, not from flipping them afterwards

The eighteen hole plans, the panel the game keeps down the right of the screen. 0x5DEC paints them: nineteen rows of ten cells from column 22, with the indices of plano_hoyo_NN over the code list accumulated from 0xB349. The mirrored ones come out of the loop itself, not from flipping them afterwards

The wordmark up close, palm tree and all. It is the 304 bytes at 0x4301 laid out in two blocks of the name table; against the emulator's VRAM they come out identical, byte for byte

The wordmark up close, palm tree and all. It is the 304 bytes at 0x4301 laid out in two blocks of the name table; against the emulator's VRAM they come out identical, byte for byte

The ten 16×16 sprites 0x60A2 decompresses and copies to VRAM 0x3800. Five of them are the ball at five sizes, which is how you watch it fly away. They are not the cartridge's only ones: the golfer's pieces go right behind them, at 0x3B00

The ten 16×16 sprites 0x60A2 decompresses and copies to VRAM 0x3800. Five of them are the ball at five sizes, which is how you watch it fly away. They are not the cartridge's only ones: the golfer's pieces go right behind them, at 0x3B00

The three golfers, with their six swing frames each. There is no picture of a golfer anywhere in the cartridge: every pose is up to nine overlapping 16×16 sprites, each in its own colour, placed by 0x4F8A from a list of pieces and a three-byte table. The club picks which of the three, which is why the size changes: that is how far away the camera is

The three golfers, with their six swing frames each. There is no picture of a golfer anywhere in the cartridge: every pose is up to nine overlapping 16×16 sprites, each in its own colour, placed by 0x4F8A from a list of pieces and a three-byte table. The club picks which of the three, which is why the size changes: that is how far away the camera is

The swing, played in openMSX (a Japanese MSX1, at 60 frames a second; just the space bar, nothing forced). 0xE06E holds the frame and the interrupt moves it on every 8 frames: 1 while aiming; on the first press, 2 and, if the power has gone past 0x40 (0x4DBB), 3, right at the top; on the second, 2 again and then 4, 5 and 6, which stays. Every recorded frame matches the pieces the ROM gives for its swing frame (tools/swing_cotejo.py)

The swing, played in openMSX (a Japanese MSX1, at 60 frames a second; just the space bar, nothing forced). 0xE06E holds the frame and the interrupt moves it on every 8 frames: 1 while aiming; on the first press, 2 and, if the power has gone past 0x40 (0x4DBB), 3, right at the top; on the second, 2 again and then 4, 5 and 6, which stays. Every recorded frame matches the pieces the ROM gives for its swing frame (tools/swing_cotejo.py)

The same shot on the whole screen: the POWER bar, the swing and the ball flying off. After the shot the view follows the ball and the golfer slides down out of the bottom

The same shot on the whole screen: the POWER bar, the swing and the ball flying off. After the shot the view follows the ball and the golfer slides down out of the bottom

The eighteen holes seen from the tee, their two white markers in the foreground. Each is its hole's first stretch, resolved cell by cell the way the cartridge does it: the index map against the accumulated code list, and from there to the 8×8 patterns

The eighteen holes seen from the tee, their two white markers in the foreground. Each is its hole's first stretch, resolved cell by cell the way the cartridge does it: the index map against the accumulated code list, and from there to the 8×8 patterns

The five stretches of hole 1, tee to green, drawn from the ROM. Each is a 19×21 map of indices assembled from two pieces: the five sky rows, shared by the whole hole, and the stretch's fourteen ground rows. The perspective is never computed anywhere: it comes pre-drawn

The five stretches of hole 1, tee to green, drawn from the ROM. Each is a 19×21 map of indices assembled from two pieces: the five sky rows, shared by the whole hole, and the stretch's fourteen ground rows. The perspective is never computed anywhere: it comes pre-drawn

The 570 uncompressed 8×8 patterns at 0x8B5E, which draw everything that is not a sprite. That these really are the game's is not an impression: 718 of the 768 cells of a real in-game frame come from here

The 570 uncompressed 8×8 patterns at 0x8B5E, which draw everything that is not a sprite. That these really are the game's is not an impression: 718 of the 768 cells of a real in-game frame come from here