Short: Legendary Boot-Tool anno 1989 Author: Boil of Jungle Command Uploader: aminet aminet net Type: util/boot Version: 2.1 Architecture: m68k-amigaos Programname: BOOTLEG V2.1 BOIL / JUNGLE COMMAND Introduction This program allows you to make a custom bootblock that can load a program direct in memory and run it. It can write on any AMIGA-DOS formatted and installed disk without destroying filedata on that disk. While writing on the disk the blocks will be allocated and from track 0 only free sectors will be used ! So you don't have to look for empty sectors or rearranging the disk. If you have 30 sectors free then you can write 30*$200=$3c00 bytes without arranging the disk. But the best result will be on an empty disk before you put anything on it because the trackloader can read it all at once. BSS BSS is a section (segment) of datas defined as 0 at start. The advantage of BSS is that is takes almost no disk space. For example Bootleg V2.1 is about 11 kilobytes big if you load it but on disk the lenght is only about 7 kilobytes. Bootleg also has an seperate BSS table to make sure these datas are 0 and ofcourse this will not take any diskspace. Install bootblock only I made this option to allow you to load multiple absolute parts into memory and then run it. (e.g. a separate part for graphics, music and code) You have to save the datas on disk yourself because I won't do it for you, it's best to use an empty disk for this option. This option writes only a bootblock ! Might come in handy when experimenting. Load an reloc file The essence of this program ! It supports segments unlike our first bootleg and as mentioned before a BSS segment will be put in a seperate table to clean memory before running. If you have some fastmemory please remember that Bootleg makes the segments absolute so that the program won't run on a expanded machine. As the trackdisk device cannot write or read from/into fastmemory you have to use NoFastMem or copy in our own program to fastmem. (DMA only can access into chip memory) To force a program to load in Chip memory you can alter the hunk structure with a handy program like : atom, scatom, hunkwizard (I think this prg is better than dugger, ringside and the whole lot together!) There must be enough empty sectors to save the program on. Load an Absolute file Almost the same as the reloc file loader only it works already absolute. When IO_Data is requested then you have to enter the loadaddress where you want the program to start in memory. If you press return then the loadaddress is the startaddress otherwise enter the jsr address yourself. Remember that if you load an relocfile absolute in memory then the hunkstructures will be in front of the file. Here is also a possibility to clear some memory just like a BSS segment to exit just press return. Please do not use this option if you are inexperienced with use of trackdisk device. IO_Offset is the blocknumber * $200 and IO_Lenght must be round off upwards to a multiple of $200 (already done by bootleg) Remove Bootleg bootblock The disk will be installed (as the cli command :install) and all blocks that are accessed by the bootblock will be freed. This might come in handy if you want to change the boot program because it didn't work or you are experimenting (whatever) Fillup Disk Probably the most ingenious option. It simply clears the whole bitmap so that on the disk are 0 blocks free. I guess it is nice if you want nobody messing with your disk. Notice ! No return possible. Fast Format This isn't really a format because it only rewrites the root and the bitmap so that it looks like it has been formatted. Only works on disks that have been Amigados formatted before. Programs on that disk can be rescued with diskdoctor if you did this option by mistake. Format whole disk This option really formats, initializes and installs a whole disk. Be careful ! every single byte on that disk will be lost. Change diskname Ah this one might be a serious help. I only included this because someone wanted to change the diskname after formatting (I wonder why?) Limitations 69 segments, if the empty blocks are in a row No use of DOS library. No use of deallocate segment because there is no actual segment list (allocated in memorytable) in the boot, this means that you can't use STANDARD reloc decrunchers like RELOKIT, TNM CRUNCHER etc. This does not matter because bootleg makes all parts absolute so a reloc cruncher won't be necessary. Therefore I recommend BYTEKILLER V1.3, TETRAPACK or POWERPACK (also found on UGA utilities 6) If you by any chance came across (more) bugs or new ideas for an utility feel free to contact the Jungle Command, any good coders and graphic artists should contact us because we may have some paid work for you !!! Bootleg V2.1 was programmed in DevPac 2.08 to all you seka users : Wake up ! Buy a Megabyte and buy DevPac ! The best since sliced bread. Macros ! Segments ! Debugger ! Full screen texteditor ! Includes ! Optimized code ! Conditional assembling ! Cross reference ! Boil, P.O.Box 68, 3480 DB HARMELEN, HOLLAND.