Skip to content

Conversation

@ghaerr
Copy link
Owner

@ghaerr ghaerr commented Apr 6, 2024

This is the first part of moving towards building all images based on the file specified in elkscmd/Applications and CONFIG_APPS_1440K (etc), instead of the older method of selecting applications based on groups, like CONFIG_APP_FILE_UTILS, CONFIG_APP_SH_UTILS, etc. The problem is that the app category selection knows nothing about the disk image size, and can't be easily controlled.

This PR also corrects a previous problem where building images based on image size versus selection of apps by category produced nearly the same, but different images.

Adds CONFIG_APPS_FTRACE option (default OFF) config files. Turning this option on currently won't fit on a 1440K floppy, 2880K must be used.

The new method will more easily allow moving towards selecting applications properly when debug options are on, as well as creating more complicated options like game disks. In the future, most base-system (older) CONFIG_APP_xxx category selections may be deprecated as currently used in make menuconfig, allowing for finer grained control of disk images.

Options like CONFIG_APP_GAMES could be created that would allow for creating games disks that would fit on a given image size. Exactly how to do this hasn't yet been figured out. One idea would be to move to a two (or more) disk set of programs for each image size.

The pc98-1232.config and pc98-1440.config configurations have not been updated, but could be tested by setting:

CONFIG_APPS_BY_IMAGESZ=y
CONFIG_APPS_1232K=y
CONFIG_IMG_1232K=y

and removing the CONFIG_APP_SH_UTILS=y etc values like has been done in ibmpc-1440.config.

@ghaerr ghaerr merged commit 87a256b into master Apr 6, 2024
@ghaerr ghaerr deleted the imagesz branch April 6, 2024 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants