pi1541 / Pi1541

Commodore 1541 emulator for the Raspberry Pi
GNU General Public License v3.0
369 stars 80 forks source link

i2cBusMaster option being overridden #235

Open kekopop opened 2 years ago

kekopop commented 2 years ago

Trying to hack Pi1541 to work with an old RPi1B rev2, SSD1306 screen on i2c1, and the simple "Option A" cable.

Noticed that in options.cpp, line 327, the variable i2cBusMaster is set to 0 if the options.txt parameter SplitIECLines is set to 0, effectively overriding the i2cBusMaster setting from options.txt.

Worked around it by simply commenting out line 327.

I'm no programmer, can't say if my workaround is the right way to do it. Leaving it to someone with the right knowhow to commit a proper fix if desired.