FF.CFG 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291
  1. ## FF.CFG: Example FlashFloppy Configuration File
  2. # Place in the root folder or FF/ subfolder of your USB drive.
  3. # NOTE: If FF/ exists, IMG.CFG must reside there, not the root folder.
  4. # Uncommented lines below are the default settings.
  5. # Uncommented options cannot be overridden by settings in other config files.
  6. ##
  7. ## DRIVE EMULATION
  8. # Floppy-drive interface mode (interface pins 2 and 34)
  9. # jc: Specified by jumper JC (open: shugart, closed: ibmpc)
  10. # shugart: P2=DSKCHG, P34=RDY (Amiga, Atari ST, many others)
  11. # ibmpc: P2=unused, P34=DSKCHG (IBM PC interface)
  12. # ibmpc-hdout: P2=HD_OUT, P34=DSKCHG (not generally needed: prefer 'ibmpc')
  13. # jppc: P2=unused, P34=RDY (Japanese PC standard)
  14. # jppc-hdout: P2=HD_OUT, P34=RDY (Japanese PC alternate: prefer 'jppc')
  15. # akai-s950: Legacy alias of 'jppc-hdout', previously used for Akai S950
  16. # amiga: P2=DSKCHG, P34=DRIVE_ID (not generally needed: prefer 'shugart')
  17. interface = shugart
  18. # Host platform: Improves image-format detection for generic types such as IMG
  19. # acorn: Acorn ADFS
  20. # akai: Akai (S01, S20, S950), Korg, SC Prophet 3000
  21. # casio: Casio (FZ-1)
  22. # dec: DEC (RX33, RX50)
  23. # ensoniq: Ensoniq (ASR, TS, etc)
  24. # fluke: Fluke 9100
  25. # gem: General Music (S2, S3)
  26. # ibm-3174: IBM 3174 Establishment Controller
  27. # memotech: Memotech
  28. # msx: MSX
  29. # nascom: Nascom
  30. # pc98: NEC PC-98
  31. # pc-dos: PC DOS Format (geometry determined from Bios Parameter Block)
  32. # tandy-coco: Tandy Color Computer (CoCo)
  33. # ti99: TI-99/4A
  34. # uknc: UKNC / DVK Soviet PDP-11
  35. # unspecified: Common default geometries (including IBM PC)
  36. host = unspecified
  37. # Pins 2 & 34 output (drive->host) manual configuration
  38. # auto: Auto-configure from interface= setting
  39. # nc: Unused/No Connection [eg. if pin is an input (host->drive) on your host]
  40. # low: Always 0 volts (0v)
  41. # high: Always 5 volts (5v)
  42. # rdy: Drive ready (Ready = 0v)
  43. # nrdy: Logical complement of above
  44. # dens: Density mode (High Density = 0v)
  45. # ndens: Logical complement of above
  46. # chg: Disk changed (Changed = 0v)
  47. # nchg: Logical complement of above
  48. # Values: auto, nc, low, high, rdy, nrdy, dens, ndens, chg, nchg
  49. pin02 = auto
  50. pin34 = auto
  51. # Forcibly write-protect images, or respect the FAT read-only attribute?
  52. # Values: yes | no
  53. write-protect = no
  54. # Maximum cylinder that can be stepped to (255 is required for access to
  55. # Direct Access mode as used by image-selector utilities and Autoswap games).
  56. # Values: 0 <= N <= 255
  57. max-cyl = 255
  58. # Filter glitches in the SIDE-select signal shorter than N microseconds
  59. # Values: 0 <= N <= 255
  60. side-select-glitch-filter = 0
  61. # Rotational offset of disk after a track change
  62. # instant: No rotation during track change
  63. # realtime: Emulate rotation of disk while track is changing
  64. # Values: instant | realtime
  65. track-change = instant
  66. # Rotational offset of disk after draining a write to Flash
  67. # instant: No rotation
  68. # realtime: Disk rotates in real time during drain
  69. # eot: Disk rotates to (near) end of track
  70. # Values: instant | realtime | eot
  71. write-drain = instant
  72. # Index pulses suppressed when RDATA and WDATA inactive?
  73. # Values: yes | no
  74. index-suppression = yes
  75. # Milliseconds from head-step start to RDATA active.
  76. # Values: 0 <= N <= 255
  77. head-settle-ms = 12
  78. # Milliseconds delay from motor-on to drive ready.
  79. # On a standard unmodified Gotek the motor signal is not connected and a
  80. # non-default value here will have no effect. Most systems and software do
  81. # not care about correct motor behaviour, and default (ignore) works fine.
  82. # Values: ignore | 0 <= N <= 1000
  83. motor-delay = ignore
  84. # What causes the disk-change (chg) signal to reset after disk insertion?
  85. # step: Step command received
  86. # pa14: CHGRST (pin 1 on old Sony drives), connected to PA14 (JTCK/SWCLK)
  87. # delay-N: Automatically after N*0.5sec (0 <= N <= 15)
  88. chgrst = step
  89. ##
  90. ## STARTUP / INITIALISATION
  91. # Disk image loaded or ejected at startup?
  92. # Values: yes | no
  93. ejected-on-startup = no
  94. # Which image (or folder) is selected at startup?
  95. # last: Last-selected item at power-off (recorded in IMAGE_A.CFG)
  96. # static: Static path specified in INIT_A.CFG
  97. # init: First item in root folder
  98. # Values: last | static | init
  99. image-on-startup = last
  100. # Time in milliseconds to attempt to probe attached display.
  101. # You may set this to 0 if you have a 2-digit LED display attached.
  102. # Values: 0 <= N <= 65535
  103. display-probe-ms = 3000
  104. ##
  105. ## IMAGE NAVIGATION
  106. # Auto-select the current file after N seconds
  107. # N=0: disable auto-select
  108. # Values: 0 <= N <= 255
  109. autoselect-file-secs = 2
  110. # Auto-select the current folder after N seconds
  111. # N=0: disable auto-select
  112. # Values: 0 <= N <= 255
  113. autoselect-folder-secs = 2
  114. # Sorting of folder entries in native navigation mode.
  115. # always: Always sort folder entries. Large folders may be truncated.
  116. # never: Never sort folder entries, instead presenting them in FAT order.
  117. # small: Only sort folders which are small enough to sort in full.
  118. # Values: always | never | small
  119. folder-sort = always
  120. # Priority of files vs subfolders when sorting folder entries:
  121. # folders: Folders listed before files
  122. # files: Files listed before folders
  123. # none: Files and folders are not differentiated
  124. # Values: folders | files | none
  125. sort-priority = folders
  126. # Navigation mode for selecting images/slots
  127. # native: Navigate through all valid images/dirs
  128. # indexed: Navigate through DSKA0000, DSKA0001, ...
  129. # default: native unless overridden by HxC-compat-mode config
  130. nav-mode = default
  131. # When navigating slots or folder, loop at min/max?
  132. # Values: yes | no
  133. nav-loop = yes
  134. # Actions of first two buttons.
  135. # B1 | B2 | Both
  136. # zero: Prev | Next | Slot 0
  137. # eject: Prev | Next | Eject/Insert
  138. # htu: +10 | +1 | +100
  139. # rotary: Up-dir | Select/Eject/Insert | -
  140. # rotary-fast: Prev | Next | Up-dir [Prev/Next are accelerated]
  141. # reverse: Reverse sense of B1 and B2
  142. # Multiple values can be separated by commas, eg twobutton-action=eject,reverse
  143. twobutton-action = zero
  144. # Input sensor type at the rotary-encoder inputs (pins PC10 and PC11):
  145. # [full | half | quarter]:
  146. # Rotary encoder, identified by fraction of a Gray-code cycle performed
  147. # per detent/click. If default value ('full') requires multiple
  148. # clicks/detents to move position then change to 'half' (if 2 clicks
  149. # per move) or 'quarter' (if 4 clicks).
  150. # [trackball]:
  151. # Blackberry-style trackball (eg. using Hall-effect sensors).
  152. # [buttons]:
  153. # Push-to-ground Prev/Next buttons.
  154. # [reverse]:
  155. # If the input is working in reverse, use this option to swap directions.
  156. # [v2]:
  157. # Use the rotary encoder logic from FlashFloppy v2.x. Use this if the
  158. # v3 logic is too strict and results in no, or missing, movements.
  159. # Multiple values can be separated by commas, eg rotary=quarter,reverse
  160. # Values: none | quarter | half | full | trackball | buttons | reverse | v2
  161. rotary = full
  162. # Prefix for image names in indexed navigation mode. String can be empty ("").
  163. indexed-prefix = "DSKA"
  164. ##
  165. ## DISPLAY
  166. # Display Type.
  167. # auto: Auto-detect (7-seg LED, LCD, OLED)
  168. # lcd-CCxRR: CCxRR backlit LCD with I2C backpack (16<=CC<=40, 02<=RR<=04)
  169. # oled-128xNN: 128xNN I2C OLED (NN = 32 | 64)
  170. # -rotate: OLED view is rotated 180 degrees
  171. # -hflip: OLED view is flipped horizontally
  172. # -narrow[er]: OLED view is restricted to Gotek display cutout
  173. # (-narrow: 18 chars; -narrower: 16 chars)
  174. # -inverse: Inverse/reverse video (black text on white background)
  175. # -ztech: ZHONGJY_TECH 2.23" 128x32 SSD1305 OLED display
  176. # -slow: Run I2C bus slower (use this if OLED regularly blanks/corrupts)
  177. # Values: auto | lcd-CCxRR | oled-128xNN[-rotate][-narrow[er]]...
  178. display-type = lcd-40x04
  179. # OLED Font. Narrow and wide options.
  180. # Narrower 6x13 font permits:
  181. # - More characters per row
  182. # - Use of Gotek display cutout (eg. "display-type=oled-128x32-narrow")
  183. # Values: 6x13 | 8x16
  184. oled-font = 6x13
  185. # OLED contrast/brightness.
  186. # Values: 0 <= N <= 255
  187. oled-contrast = 143
  188. # Text height and arrangement on LCD/OLED and on OSD, respectively.
  189. # 'default', or a comma-separated list (one entry per LCD/OLED row, top down).
  190. # Each list item is a digit plus optional height specifier: <content-row>[d]
  191. # content-row: '0-3' = specified content row, '7' = blank
  192. # 0: Current image name
  193. # 1: Status
  194. # 2: Image/Volume info
  195. # 3: Current subfolder name
  196. # height specifier: 'd' = double height (32px, OLED only; ignored for LCD)
  197. # 'default' depends on display, eg.: oled-128x32='0,1' ; oled-128x64='3,0d,1'
  198. # Values: [0-7][d] | default
  199. display-order = default
  200. osd-display-order = default
  201. # OSD text columns. This is currently respected only when no LCD/OLED is found.
  202. # Values: 16 <= N <= 40
  203. osd-columns = 40
  204. # Turn an LCD or OLED display off after N seconds of inactivity
  205. # N=0: always off; N=255: always on
  206. # Values: 0 <= N <= 255
  207. display-off-secs = 255
  208. # Switch on LCD/OLED display when there is drive activity?
  209. # yes: Trigger on track changes and disk writes
  210. # sel: Trigger on drive select
  211. # no: No automatic trigger
  212. # Values: yes | sel | no
  213. display-on-activity = yes
  214. # LCD/OLED long filename scroll rate in milliseconds per update
  215. # Values: 100 <= N <= 65535
  216. display-scroll-rate = 200
  217. # LCD/OLED pause time at start/end of scroll, in milliseconds
  218. # Zero means endless scroll
  219. # Values: 0 <= N <= 65535
  220. display-scroll-pause = 2000
  221. # LCD/OLED long filename scroll rate during navigation (ms per update)
  222. # Values: 0 <= N <= 65535
  223. nav-scroll-rate = 80
  224. # LCD/OLED long filename pause before scroll, during navigation (milliseconds)
  225. # Values: 0 <= N <= 65535
  226. nav-scroll-pause = 300
  227. ##
  228. ## MISCELLANEOUS
  229. # Speaker volume for head STEP
  230. # Values: 0 <= N <= 20
  231. step-volume = 10
  232. # Speaker volume for insert, eject, and slot-number notifications.
  233. # Slot number is indicated by a sequence of beeps when an image is mounted
  234. # iff "slotnr" is specified. The slot number is then notified by a sequence of
  235. # long beeps (each counting +5), followed by a sequence of short beeps
  236. # (each counting +1).
  237. # Values: N[,slotnr] (0 <= N <= 15)
  238. notify-volume = 0
  239. # Report the specified version number to host software
  240. # Values: <quoted-string> ("" means report real version)
  241. # eg. da-report-version = "v3.0.0.0"
  242. da-report-version = ""
  243. # Automatically extend certain types of truncated image file (SSD,DSD,TRD)?
  244. # Values: yes | no
  245. extend-image = yes