diff --git a/options.txt b/options.txt index de71cd8..1c47300 100644 --- a/options.txt +++ b/options.txt @@ -1,3 +1,7 @@ +// Sample options.txt configuration file for Pi1541 + + + // If you would like to change the dirve number then spcity it here (8 is the default) //deviceID = 9 @@ -18,11 +22,16 @@ //ROM2 = Jiffy.bin //ROM3 = d1541II +// Enable RAMBoard emulation - 8k drive RAM expansion at 0x8000 +//RAMBOard = 1 + +//ChargenFont = chargen // 8 bit font file + // If using CBMFileBrowser then it is best to specify this option. When the computer resets the Pi will always revert back to the root folder ready to load CBMFileBrowser again. OnResetChangeToStartingFolder = 1 // If you use FB64 (CBMFileBrowser) and want to use a fast loader cartridge (AR6, EFL, FC3) to load it then use this option to autmatically mount it. -//autoMountImage = fb.d64 +//AutoMountImage = fb.d64 // If you would ever like to disable browse mode completely ypu can do so here //DisableSD2IECCommands = 1 @@ -32,23 +41,29 @@ GraphIEC = 1 // If you have hardware with a peizo buzzer (the type without a generator) then you can use this option to hear the head step //SoundOnGPIO = 1 -//soundOnGPIODuration = 1000 // Length of buzz in micro seconds -//soundOnGPIOFreq = 1200 // Frequency of buzz in Hz +//SoundOnGPIODuration = 1000 // Length of buzz in micro seconds +//SoundOnGPIOFreq = 1200 // Frequency of buzz in Hz // You can create 320x240 PNG files with the same name as your disk images. With this option turned on they will be displayed on the Pi's screen. -//displayPNGIcons = 1 +//DisplayPNGIcons = 1 // If you would like to specify what file will be loaded by LOAD"*" in browse mode then specify it here -//starFileName = somefile +//StarFileName = somefile // If you are using a LCD screen then specify it here //LCDName = ssd1306_128x64 // If you are using a LCD screen and you would like PageUp and PageDown keys to work with it then specify this option -//keyboardBrowseLCDScreen = 1 +//KeyboardBrowseLCDScreen = 1 // If you are using I2C LCD you can optionally change what pins it is connected to. // (defaults to 0 for non-split lines (Option A) or 1 for split lines (Option B)) //i2cBusMaster = 0 //SDA - pin 27 SCL - pin 28 //i2cBusMaster = 1 //SDA - pin 3 SCL - pin 5 -//i2cLcdFlip = 1 // Flips i2c LCD screen vertically -//i2cLcdOnContrast = 127 // Allows you to adjust the contrast on your i2c LCD screen \ No newline at end of file +//i2cLcdAddress = 60 // I2C display address in decimal and shifted. 60 == 0x78, 61 == 0x7A +//i2cLcdFlip = 1 // Rotate i2c LCD screen 180 degrees +//i2cLcdOnContrast = 127 // Allows you to adjust the contrast on your i2c LCD screen + +//QuickBoot = 0 // faster startup +//ShowOptions = 0 // display some options on startup screen +//IgnoreReset = 0 + diff --git a/src/options.cpp b/src/options.cpp index c776e9b..f7d6a2a 100644 --- a/src/options.cpp +++ b/src/options.cpp @@ -183,7 +183,7 @@ void Options::Process(char* buffer) /*char* equals = */GetToken(); char* pValue = GetToken(); - if ((strcasecmp(pOption, "Font") == 0)) + if ((strcasecmp(pOption, "Font") == 0) || (strcasecmp(pOption, "ChargenFont") == 0)) { strncpy(ROMFontName, pValue, 255); }