I've done several tests with the bankswitch example, I've noticed some problems.
[ ] Does not work on several devices (simple NES clones, regular NES cart dumpers, etc).
[x] Not able to use bank 2 on 8000.
Hypotesis: There might be something awkard on the packing.
I've tested on the same devices, some ROM images the same mapper and also deals with bankswitch. To better track and my fix attempt, I've created an repository of the example with a build script: https://github.com/gutomaia/NES_bankswitch_example.
For the problem "Not able to use bank 2 on 8000", look code at branch "more_banks".
I've done several tests with the bankswitch example, I've noticed some problems.
Hypotesis: There might be something awkard on the packing.
I've tested on the same devices, some ROM images the same mapper and also deals with bankswitch. To better track and my fix attempt, I've created an repository of the example with a build script: https://github.com/gutomaia/NES_bankswitch_example.
For the problem "Not able to use bank 2 on 8000", look code at branch "more_banks".