lexide-u16 window position information is stored in the workspace ".metadata\.plugins" folder. if you use the windows standard zip function ([right-click] > [send to] > [compressed (zipped) folder]) in explorer to compress a zip file, some parts of the linux format folder starting with a dot are not compressed. in this case, extracting the zip file and opening it with lexide-u16 will reset the window position information. if you want to compress the workspace, please use a compression application that supports linux format folders such as 7-zip or lhaplus.
the method to redisplay the "select a directory as workspace" dialog is as follows. 1. select [window] > [preferences] from the lexide-u16 main menu. 2. select [general] > [startup and shutdown] > [workspaces] from the left panel of the [preferences] dialog. 3. enable the [prompt for workspace on startup] checkbox.
as the memory model goes from small to large, the size of pointers to functions changes from 2 bytes to 3 bytes. please note that when using an array of pointers to functions. the sizeof operation result for a single pointer to a function in the large model is 3, but in the case of an array of pointers to functions, a 1-byte padding is inserted after each element. so with 5 elements, the size of the array is ((pointer size 3 bytes) (padding 1 byte)) * (number of elements 5) = 20 bytes. for details, see "126.96.36.199 arrays other than char type" in "ccu8 programming guide".
also, when calculating the number of elements in an array, it is generally calculated by dividing the size of the entire array by the size of the elements in the array. therefore, the following macro may be defined as a macro for calculating the number of array elements. #define arr_num(array) (sizeof(array)/sizeof(array)) if the pointer size is 3 bytes, the total array size includes 1 byte padding for each element, so the number of elements is calculated incorrectly. in this case, you need to change it as follows. #define arr_num(array) (sizeof(array)/(sizeof(array) == 3 ? 4 : sizeof(array)))