I would expect that's an over-estimate by a significant amount, There is a lot of copy/paste between ports and a lot of generated code. The inline assembler in particular must throw things off a lot, since writing that much assembler from scratch would be a lot more work than what we do. OTOH, the original reverse engineering and the original dryos effort took a lot more work per line a of code than most regular development.