Developing Your Own 32-Bit Operating System/Book and Cd-Rom
Ha! Same. Lost the code too. It was fun actually booting something into bare metal. This book helped a lot:
https://www.amazon.com/Developing-32-Bit-Operating-System-Cd...
I did the same in the mid-90s but for a 32-bit hobby GUI OS. This book was absolutely essential reading: