Short: maximize available chipmem, change font Uploader: anonymous aminet net Type: util/misc Architecture: m68k-amigaos AllInOne - CLI command. ======== by Photon of Scoopex (c) Henrik Erlandsson. Purpose: ------- maximize available low chipmemory, for coding and demo-compatibility. Description: ----------- "Add22k" type command that frees the second bitplane of the CLI screen, saving 20480 bytes of chipmem. It also replaces the system font with one of your own. Last 768 bytes of the program is the font, raw 8x8 chars for ASCII codes 32-127. The higher (ANSI) characters are copied from the default font. Just INCBIN another file instead of the one provided. It maximizes the CLI window on the 256 high screen, which takes no more memory. It also optionally removes the border. (Compatibility not guaranteed) Compatibility: ------------- In general, it should work on kick 1.3-3.1, probably also in kick 1.2. Tested on kick 1.3, 2.0, 3.1. Not tested on AGA, but no chipset-specific code either. Works with FastFonts 2.17 on Aminet, if you also want faster text-rendering! That's what I use in AsmOne. Tested with WB 2.0 and ClassicWB 3.1 on an A600 with 68030-accelerator. WB simply loads in 1 bitplane, then sets the depth you've selected in Preferences. With Kick/WB <= 1.3, Workbench will probably stay in 2-color mode... Usage: ----- Put it in the "Maxmem" startup-sequence or similar startups that boot to commandline directly. At least the window-resizing requires the CLI-screen to be visible first, so if you get a Recoverable Alert just add an "echo" command before it. Can't do stuff to a window that doesn't exist yet... :) For chipmem-only machines it's recommended to put it first in the startup-sequence, or at least before any programs that allocate memory or are loaded resident or ramdisk-stuff etc. Then those following programs can fill the 20k chipmem-"hole" instead of loading a bunch of stuff and freeing some lower memory at the end... Use it for your demopacks, HDD-bootfloppies, or in the coding-startupsequence on your HDD. /Photon