You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

config.inc 4.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. ; GEOS System build configuration
  2. ; by Maciej Witkowiak
  3. .ifndef config_inc
  4. config_inc = 1
  5. ;------------------------
  6. ; which variant to build
  7. ;------------------------
  8. ; use "make TARGET=<variant>" to build a specific variant
  9. ;------------------------
  10. ; the Berkeley Softworks GEOS 64 2.0 variant
  11. ;------------------------
  12. .ifdef bsw
  13. ; BSW traps to counter tampering
  14. traps = 1
  15. .endif
  16. ;------------------------
  17. ; the Berkeley Softworks GEOS 128 2.0 variant
  18. ;------------------------
  19. .ifdef bsw128
  20. ; BSW traps to counter tampering
  21. traps = 1
  22. trap2_alternate_location = 1
  23. .endif
  24. ;------------------------
  25. ; the cbmfiles.com variant of GEOS 64 2.0
  26. ;------------------------
  27. .ifdef cbmfiles
  28. ; BSW traps to counter tampering
  29. traps = 1
  30. ; additionally, there are ".ifdef cbmfiles" checks
  31. ; throughout the code
  32. .endif
  33. ;------------------------
  34. ; the gateWay 2.51 variant
  35. ;------------------------
  36. .ifdef gateway
  37. traps = 1
  38. gateway_font = 1
  39. ; additionally, there are ".ifdef gateway" checks
  40. ; throughout the code
  41. .endif
  42. ;------------------------
  43. ; the Wheels 64 variant
  44. ;------------------------
  45. .ifdef wheels
  46. ; size optimizations that have no significant speed impact
  47. wheels_size = 1
  48. ; optimizations that benefit both size and speed
  49. wheels_size_and_speed = 1
  50. ; remove "BootGEOS" ($C000) code to save some size
  51. wheels_remove_BootGEOS = 1
  52. ; fixes for bugs in the BSW version
  53. wheels_fixes = 1
  54. ; dialog box buttons can be selected using "o" for
  55. ; "Open" etc.
  56. wheels_button_shortcuts = 1
  57. ; misc dialog box features, requires RAM extension
  58. wheels_dlgbox_features = 1
  59. ; dialog box double click support
  60. wheels_dlgbox_dblclick = 1
  61. ; support for chdir in dialogs
  62. wheels_dialog_chdir = 1
  63. ; screensaver support
  64. wheels_screensaver = 1
  65. ; ReadFile and WriteFile are in a "NewKernal" group
  66. wheels_external_readwrite_file = 1
  67. ; allows applications to check whether modifier keys are pressed
  68. wheels_expose_mod_keys = 1
  69. ; changes that are actually bad ideas
  70. wheels_bad_ideas = 1
  71. ; German keyboard layout
  72. german_keyboard = 1
  73. ; additionally, there are ".ifdef wheels" checks
  74. ; throughout the code
  75. .endif
  76. .ifdef custom
  77. ; make use of all reusable Wheels optimizations and fixes
  78. wheels_size = 1
  79. wheels_size_and_speed = 1
  80. wheels_remove_BootGEOS = 1
  81. wheels_fixes = 1
  82. remove_dead_bytes = 1
  83. ; replace BASIC reboot code with trivial version (+200 bytes)
  84. removeToBASIC = 1
  85. ; for 2MHz-on-border on C128 in 64 mode
  86. use2MHz = 1
  87. ; only VLIR and SEQ supported
  88. ;onlyVLIR = 1
  89. ; RAM expansions configuration
  90. ; (only one may be defined, if all are undefined, then REU is utililzed)
  91. ; for +60K expansion users
  92. ;usePlus60K = 1
  93. ; for Ram Cart 64K
  94. ;useRamCart64 = 1
  95. ; for Ram Cart 128K
  96. ;useRamCart128 = 1
  97. ; GEOS2000
  98. ; makes drawing dialog boxes much faster, might cause visual mess
  99. ; takes more bytes
  100. ;speedupDlgBox = 1
  101. ; GEOS2000
  102. ; bug - when 0 no blinking in menu
  103. ;newMenu_5 = 1
  104. .endif
  105. ; Feel (almost) free to change values below:
  106. iniMaxMouseSpeed = $7f ; range from $00-$7f
  107. iniMinMouseSpeed = $1e ;
  108. iniMouseAccel = $7f ;
  109. currentInterleave = 8 ; 8 for 1541, 6 for 1571
  110. SelectFlashDelay = 10 ; 10 in 1/50 s
  111. ; if both menu separator patterns are null, then kernal menu code
  112. ; will be a bit optimized for speed and space
  113. menuVSeparator = %10101010 ; %10101010 ;both=0 -> speed&space
  114. menuHSeparator = %01010101 ; %01010101
  115. ; these are overriden by DeskTop, changing to null gives nothing
  116. backPattern1 = %01010101 ; %01010101 ;overriden by DeskTop
  117. backPattern2 = %10101010 ; %10101010
  118. ; better do not change below
  119. REUOsVarBackup = $7900 ; base for OS_VARS_LGH bytes for reboot
  120. REUDskDrvSPC = $8300 ; base for 4*DISK_DRV_LGH disk drivers
  121. ; do not change two values below - it's automatic
  122. .if .defined(usePlus60K) || .defined(useRamCart64) || .defined(useRamCart128)
  123. useRamExp = 1
  124. .else
  125. REUPresent = 1
  126. .endif
  127. .ifdef traps
  128. trap1 = 1
  129. trap2 = 1
  130. .endif
  131. .if .defined(drv1541)
  132. DRV_TYPE = 1 ; DRV_1541
  133. .elseif .defined(drv1571)
  134. DRV_TYPE = 2; DRV_1571
  135. .elseif .defined(drv1581)
  136. DRV_TYPE = 3; DRV_1581
  137. .else
  138. .error "Unknown drive type!"
  139. .endif
  140. .endif