where the PEEK and POKEs are directly accessing the machine. Dosbox works because it emulates the whole machine. I also noticed QB64 doesn't have a definition for ClearKBBuffer (I guess that's in helpers.bas [I don't remember the name]) but QB45 did.