Merge pull request #35 from penfold42/options

Updated options.txt
This commit is contained in:
Stephen White 2018-07-02 18:24:18 +10:00 committed by GitHub
commit 44de6efd0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 24 additions and 9 deletions

View File

@ -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) // If you would like to change the dirve number then spcity it here (8 is the default)
//deviceID = 9 //deviceID = 9
@ -18,11 +22,16 @@
//ROM2 = Jiffy.bin //ROM2 = Jiffy.bin
//ROM3 = d1541II //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. // 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 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. // 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 // If you would ever like to disable browse mode completely ypu can do so here
//DisableSD2IECCommands = 1 //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 // 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 //SoundOnGPIO = 1
//soundOnGPIODuration = 1000 // Length of buzz in micro seconds //SoundOnGPIODuration = 1000 // Length of buzz in micro seconds
//soundOnGPIOFreq = 1200 // Frequency of buzz in Hz //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. // 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 // 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 // If you are using a LCD screen then specify it here
//LCDName = ssd1306_128x64 //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 // 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. // 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)) // (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 = 0 //SDA - pin 27 SCL - pin 28
//i2cBusMaster = 1 //SDA - pin 3 SCL - pin 5 //i2cBusMaster = 1 //SDA - pin 3 SCL - pin 5
//i2cLcdFlip = 1 // Flips i2c LCD screen vertically //i2cLcdAddress = 60 // I2C display address in decimal and shifted. 60 == 0x78, 61 == 0x7A
//i2cLcdOnContrast = 127 // Allows you to adjust the contrast on your i2c LCD screen //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

View File

@ -183,7 +183,7 @@ void Options::Process(char* buffer)
/*char* equals = */GetToken(); /*char* equals = */GetToken();
char* pValue = GetToken(); char* pValue = GetToken();
if ((strcasecmp(pOption, "Font") == 0)) if ((strcasecmp(pOption, "Font") == 0) || (strcasecmp(pOption, "ChargenFont") == 0))
{ {
strncpy(ROMFontName, pValue, 255); strncpy(ROMFontName, pValue, 255);
} }