roelandjansen / pcmos386v501

PC-MOS/386 v5.01 and up, including cdrom driver sources.
GNU General Public License v3.0
418 stars 60 forks source link

Serial number and registration automation work #72

Closed the-grue closed 5 years ago

the-grue commented 5 years ago

Moved the serial number out of MOSINIT2.ASM so we can randomly generate serial numbers using SERIAL.INC. Created program SNGEN.C to generate random serial numbers and prep the registration script. Modified MAKEUSER.ASM as SNREG.ASM to provide registration codes for scripting. MAKESER.MAK brings this functionality all together. This is outside the build process unless you are using BOSMAKE.BAT, which has been updated to perform these tasks. If you are using another process, a defualt SERIAL.INC is avaliable with the original 'X0X0X0X0X0' value so this doesn't change the structure of the output.

This is a feature I have am adding for a v5.02 release.