Home

Awesome

TPP1

This repository aims to define and specify a GB/GBC mapper.

There is a test ROM available here. In order to build it, you will need RGBDS version 0.5.1 or later.

Once that is done, you can build the test ROM using the make command in the repository's main directory; the output will be called testrom.gb. Using make clean will remove the built files.

The compilation of the test ROM can be parameterized via four variables passed to make, those being ROMSIZE, RAMSIZE, RTC and RUMBLE. For instance, in order to set all of them to their maximum possible values, compile the test ROM as make ROMSIZE=F RAMSIZE=9 RTC=ON RUMBLE=MULTI.

The values these variables can take are as follows:

ROMSIZE: sets the size of the ROM. Default value is 9.

ValueBanksSize
0232 kiB
1464 kiB
28128 kiB
316256 kiB
432512 kiB
5641 MiB
61282 MiB
72564 MiB
85128 MiB
91,02416 MiB
A2,04832 MiB
B4,09664 MiB
C8,192128 MiB
D16,384256 MiB
E32,768512 MiB
F65,5361 GiB

RAMSIZE: sets the size of the SRAM. Default value is 5.

ValueBanksSize
00no SRAM
118 kiB
2216 kiB
3432 kiB
4864 kiB
516128 kiB
632256 kiB
764512 kiB
81281 MiB
92562 MiB

RTC: enables or disables RTC support in the header. Any non-empty value will enable RTC support; set the variable to an empty value to disable it. Default value is on.

RUMBLE: sets the type of rumble supported in the header. Setting the variable to the value MULTI will enable three rumble speeds; any other non-empty value will enable a single speed, and an empty value will disable rumble altogether. Default is 3 speeds.