If buffered input function 0x0A is called you have to
press return two times to end your keyboard input. I
think the second "DOS_ReadFile"-call is not neccessary.
The "mem_writeb(data+read+2,c);" should be placed
before the "if (c==13) {" to ensure that the return is
written into mem correctly.
Logged In: YES
user_id=585207
Sorry, it's of course int 0x21.
Logged In: YES
user_id=153968
Hmm yeah weird wonder why i still had that (c==13) there, probably
something wrong with STDIN before :)