Building UNA from Binaries
The UNA ROM is built from several binary components, and is easily customized. The size of the ROM should be 512K for burning to Flash (or EPROM). With a larger ROMdisk, it may be up to 1024K for burning to EPROM.
The first 64KB of the ROM must contain UNA BIOS, because this starts with the Setup and bootstrap code which the CPU will execute on booting. By convention this is followed by two 32KB ROM programs, normally UNA CP/M and the FSFAT flash programming utility. UNA BIOS presents the remainder of the ROM (from 128KB onwards) as a ROM disk drive.
0 – 64 KB | UNA BIOS (this contains the bootstrap and Setup program and must be first) |
64 – 96 KB | UNA CP/M (this ROM page is booted when “R” is entered at the boot prompt) |
96 – 128 KB | FSFAT (this ROM page is booted when “X” is entered at the boot prompt) |
128 – 512 KB | ROM disk (UNA BIOS presents this data as a disk unit) |
The complete ROM is therefore constructed very easily by concatenating these components. Each component must of course be padded to the correct size. The UNA BIOS and UNA CP/M build processes automatically produce files of the correct sizes.
Under DOS and Windows the ROM may be assembled with the COPY command (“/B” means “binary file”):
> COPY /B UNA-BIOS.BIN + CPM.ROM + FSFAT.BIN + ROMDISK.ROM 512K-ROM.BIN 64K 32K 32K 32K 512K
Under Linux the command is very similar:
$ cat una-bios.bin cpm.rom fsfat.bin romdisk.rom> 512K-ROM.BIN 64K 32K 32K 384K 512K
The latest version of each binary file may be downloaded from either the top level UNA folder, or from the UNA CP/M folder.
The latest ROM image is available is “512K-ROM.bin” in the UNA CP/M 2014-08-01 distribution and is composed of:
UNA-BIOS.BIN | 2014-08-01 |
CPM.ROM | 2014-08-01 |
FSFAT.BIN | 2014-08-01 |
ROMDISK.ROM | 2014-08-01 |
The released binary “UNA-1_00.BIN” in the UNA BIOS 1.0 distribution is composed of:
UNA-BIOS.BIN | 2014-08-01 |
CPM.ROM | 2014-07-18 |
FSFAT.BIN | 2014-08-01 |
ROMDISK.ROM | 2014-07-13 |