Curiosities

Leftovers of the development disk

The disk does not use MSX-DOS: its sector 0 loads the kernel directly. But underneath there is a 720 KB MSX-DOS disk that nobody reads (checked sector by sector in tests/test_disco.py):

That is: during development the program was started from Disk BASIC, with AUTOEXEC.BAS and INIT. The shop disk does the same with its own boot sector, and the files were deleted without wiping their sectors.

An old kernel

Sectors 58-63 hold an earlier version of the kernel: the same code with the addresses shifted (in sector 63, the routine at 0x9014 calls 0x8F2A where the real one calls 0x8F69). No code reads them; sector 57, just before, is read: the title loads it at 0x9C00.

The person already on the list

Slot 1 of the list (sector 1438) already has a record: «ああああ». With it, without entering anybody, every fortune can be tried except the blood type, which needs two people.

The handy printer

Nine parts (p0B, p18, p1B, p1D, p1E, p24, p26, p27 and p28) print the fortunes on a handheld printer (はんでぃ ぷりんたー), the kind that is moved by hand over the paper: «move the printer», «put it where you want to print». Palm reading and the horoscope ask at the end «where do I output it?»: the TV or the printer. Its texts are in The texts.

The omikuji does not roll dice

The omikuji fortune (the one shown big) does not come from stopping the box: it is decided before, and with it how the 16 sticks (0x9213-0x9222) that give the text of each topic are handed out (see The fortunes). To decide it, part p1A mixes the R register, the counter at 0xD1C3 and the IY register and with that reads a byte of the sound driver (from 0x4000 on): the sound code works as a table of random numbers.

What the listing does not have clear yet

Open questions