bootmenu.b: Bootmenu is a plain text file, so it may be edited even using notepad ;]. Format was choosen so it would be as simple as possible, but also to provide all features of the old bootconf plus some new ones. The menu basically consists of lines of type: [] Beside of this type of lines it can contain also comments - lines starting with '#' character and also empty lines. Comments and empty lines are ignored (so they are there only for a better readibility). Beware, the whole config is loaded to memory at once and a limit to its size is 8191, so even if it is possible to use comments, it is eligible to use it wise ;]. Configuration file contains 2 main parts: 1) common configuration 2) list of systems Common configuration contains settings: 1) color styling of the menu (keyword color) 2) default entry (entry which is preselected on the start) (keyword default) 3) timeout for autobooting of default entry (keyword timeout) List of systems starts with beginning of the definition of the first system. Definition of a system: 1) starts with title (keyword title) 2) it contains a list of files to be loaded to DivIDE memory banks (keywords bank and mapram) 3) it also contains a definition for memory bank which should be mapped on start of system (keyword page) 4) paging mode of DivIDE - 8k/16k mode (keyword mode) 5) or definition of submenu (keywords chain and legacy) 6) system ends at beginning of the next system (next keyword title) or at the end of file Similarly as there is no fixed size of the whole configuration file, also size of definition of one system is variable, but there is a hard limit of 1023 bytes worthless to exceed ;] Chain-loading. New type of configuration supports of chain-loading of other configuration files. So as there is limit of number of systems set to 16 (to have all of them on the screen at once), in case that it is needed to have more systems, they must be splitted to more menus and chainload them one from the other (keyword chain). Also it is possible to chainload the old bootconf configuration (keyword legacy). For chain-loading aren't used bank/page/mode keywords, but title/chain/legacy only. Parameters of keywords: color menu - color definition of the list of systems cursor - color definition of the cursor color is possible to define in 2 ways. either directly as zx attribute (number 0-255) or using of color names for ink/paper and bright/flash modifiers (e.g. bright-yellow/blue is for light yellow text on blue background) list of colors: black, blue, red, magenta, green, cyan, yellow, white list of modifiers: flash, bright default number - position of entry in the list which will be auto booted after no key is pressed for the timeout seconds. position is counted the computer way .. from 0 ;] if this keyword is not used, the default position is 0 timeout seconds - number of seconds for timeout to auto boot the default system if none of the keys is pressed if the timeout is set to 255, auto booting is disabled if this keyword is not used, the default timeout is 255 (which means auto boot off) title "" text - name of the system. it will appear in the list of systems bank "" number - DivIDE ram bank (0-3) filename - name of the file to load to the bank mapram "" filename - name of the file to load to the bank nr. 3 (this is just a synonym for 'bank 3 ""') page number - DivIDE ram bank (0-3) to preselect on the start of the system if this keyword is not used, the default page is 0 mode <8/16> 8 - standard 8k memory paging (95% of systems uses this mode) 16 - 16k memory paging (BS-DOS for DivIDE uses this one) if this keyword is not used, the default mode is 8k chain "" filename - name of the file which contains next menu (menu is going to be loaded by "booting" of this entry) menu loaded by this keyword must have a NEW format (text format, described by this document) legacy "" filename - name of the file which contains next menu (menu is going to be loaded by "booting" of this entry) menu loaded by this keyword must have an OLD format (binary format, used by old versions of bootloader) example of bootmenu: ---------- >8 ---------- # bootmenu.b color cyan/blue bright-white/blue timeout 10 title "mdos3" bank 0 "mdos2_0" bank 1 "mdos2_1" bank 2 "mdos2_2" bank 3 "mdos2_3" title "esxdos" mapram "esxdos" title "old bootconf" legacy "bootconf" ---------- 8< ----------