HuC explanation

explanation of forks

compatibility / changes for both versions

HuC Directives

Notes

        #incbin(level1, "level1.fmp") /* 256x256 */
        #incbin(level2, "level2.fmp") /* 256x256 */
        #incbin(level3, "level3.fmp") /* 256x256 */
        #incbin(level4, "level4.fmp") /* 256x256 */

        const int big_map[] = {
        /* width & height of all the maps
         * put together
         */
          512, 512,

        /* the following lines declare all
         * the small maps, one line per map :
         *
         * the two first values are the top/left
         * coordinates of the small map inside
         * the big map, the two followings values
         * are bottom/right coordinates (inclusive),
         * and the two last values are the map
         * address in ROM
         */

          0,   0, 255, 255, bank(level1), level1,
        256,   0, 511, 255, bank(level2), level2,
          0, 256, 255, 511, bank(level3), level3,
        256, 256, 511, 511, bank(level4), level4,

        /* -1 closes the table */

        -1
};