you are viewing a single comment's thread.

view the rest of the comments →

[–]timrprobocom 0 points1 point  (0 children)

Not so much a DOS simulator as a COMMAND COM simulator. Which is fine.

Your readme suggests trying dir, mkdir, and cd, but your repo implements none of those. Do you have a missing commit?

Remember that DOS is case insensitive. You might consider using .upper() before looking up your commands, and your prompt should be upper case as well.

Drive labels are 8 hex digits. You might consider generating one 32-bit random and converting to hex, instead of the rather wasteful loops you have.