[[Image:On_File_Main_Menu.jpg|right|thumb|250px|On File (2024) main menu]]
[[Image:On_File_typical_record.jpg|right|thumb|250px|On File (2024) fuel consumption record]][[Image:On_File_Car_Maintenance_Record.jpg|right|thumb|250px|On File (2024) car maintenance record]][[Image:OnFile_2025_Main_Menu.jpg|right|thumb|250px|On File (2025) main menu (containing 200 records, 1640 registrations)]][[Image:OnFile_2025_CPC6128_Record.jpg|right|thumb|250px|On File (2025) CPC6128 record which also includes field-based graphics]]
'''On File(2024)''' Database Management System was released in June 2024 by [[KSL]] in order to celebrate the anniversaries of CPC (40 years!) and CP/M-80 (50 years!). On File is a business application similar to the MSDOS-era PC applications and one of the most recent projects developed for '''CP/M2.2'''. As per [[Cosmos]], On File has been developed on the basis of all the hardware peripherals as well as the software that were (contemporary) available for the CP/M and the CPC6128. However, it can run on a standard single drive CPC6128. On File database is efficient, quick and reliable and can be used on an everyday basis using the CPC emulators. On File It uses the entire CPC screen as the platform for the records; thus there is plenty of space to edit user-defined fields. In addition, a wide variety of characters and symbols can be included in the fileds, hence the records can contain data beyond the typical and traditional text type. Setting up a new database using On File is very easy and can be performed in three steps: '''1)''' start the new file system by resetting the database and the master record, '''2)''' frame/draw and edit the structure of the master record, '''3)''' append new records in the database on the basis of the master record. On File database is fully dynamic, thus the user can modify the master record as well as any record anytime. Furthermore, the database can be either flat or relational. Children records include the ^ symbol followed by the relational key and one space, for example ^Z80 . Parent records include the relational key On File (not the ^ symbol2024) followed by one space, for example Z80 . On File database has maximum capacity of '''200 records''' (400 KB). The original disk contains some the boot sectors for CP/M 2.2 (Dobbertin v1.2 for 128 KB RAM), a few demo master records (*.002 files), some demo records a few database examples, the application (*.REC filesCOM file) , as well as the boot sectors for CP/M 2.2 color screen saver (v1.2CHN file).
In summer 2025 a new version of '''On File will be (2025)''' Database Management System for '''CP/M plus''' was releasedin June 2025. In addition to the 2024 version, it includes the options to Group and to Invert the records, to Index the database, to perform Index based search and to perform field based calculations. It will provide capacity for also supports [[GSX]], '''230 recordsfield-based graphics''' (460 KB, +15%) unlimited number of Relational Keys and will On Board help. It also include includes '''On File Register''', a RAM-disk based register book. The latter will provide provides capacity for a few thousands of single-field records. Hence, On File 2025 requires RAM expansion to run and includes a resume option in order to access the user can set up eRAM-disk contents upon restart.gThe original disk contains CP/M plus boot sectors (Dobbertin v1. 1x), a Register database of Earthquakes old computers and a register book for the period 1970-1989. On File database (number2024/2025) is disk-based, datethus all the records are stored in the disk drive as stand-alone files. On the other hand, time, location, magnitude, depth, duration) using On File Registeruses a single file to store the records in the RAM-disk. For large register books which contain more than 64 records, a 16 KB "cache" memory is implemented in order to be able to move back and forth while keeping detailed reading the records . Notice, that in the 2025 version, in order to maximize the free directory entries and to overcome the Compiler and Editor Overflow, a big part of the earthquakes that were stronger than e.g. 6 Richter using On File Databasesource code (ONFILE. As per [[Cosmos]], On File Register COM) has a resume option been '''encapsulated in the source code''' of the Register Book (REGISTER.COM) and is accessed upon user request via boolean expressions that are temporarily stored in order to access the RAM-disk contents anytime and it also includes a color graphic screen saver.
What gap of the 80's does On File database is disk-based, thus all the records are stored in the disk drive as stand-alone files(2025) come to fill? Let’s give an example. On the other hand, Using On File Register uses , a single file to store the recordsregister book can be set up with, which for example, 5000 citizens of a town. The register book (~210 KB) is saved in disk (disk 0) and is loaded once in the RAM-disk from of the disk driveCPC6128. Then, using On File Database, a full-screen record can be created for each citizen. The maximum capacity records of On File depends on the maximum directory entries database are saved in 26 different disks (64/128/256/512 etc.disks A-Z or HD20), whereas depending on the maximum capacity surname of each resident. Notice, that the On File Register depends on register book remains in RAM until the size end of the RAM-work regardless of which disk and(A-Z/or the disk driveHD20) is used. [[ROMDOS]] D20 80 track disks Upon exit, which can store up to 256 files the contents of the RAM (register book, if modified) are saved in a single directory user are ideal to run On File database, which showed no instabilites during extensive testing on a real CPCdisk 0. The 20 MB [[Dobbertin Harddisc]] or similar media which support more directory entries This can also be used. On File access the records directly by reading the related files from the diskachieved with an Amstrad CPC6128 with 512 KB RAM expansion, while On File Register access the records serially and by using a 16 800 KB "cache" memory especially implemented only for large register books which contain more than 64 records. Noticeexternal floppy drive, that the amount specific version of data that can be stored and accessed using On File is really huge for the CP/M-80 world and resembles to the 16-bit world of computing plus ([[Other Computers:16 bit computers]]v1.1x), RamDOS D20 disks or HD20.
'''Good applications are like good songs, they never dieUsing the following two links you can download On FIle (2024) and On File (2025) respectively.'''
== Download ==
* [http://www.cpcwiki.eu/index.php/File:On_File_2024_Boot_Disk.dsk Download from CPCWiki]
[[Category:Applications]] [[Category:CP/M]]
== Download ==
* [http://www.cpcwiki.eu/index.php/File:On_File_2025_Boot_Disk.dsk Download from CPCWiki]
[[Category:Applications]] [[Category:CP/M]]