====== Robust String Input ====== Here's a short routine I wrote for the chat function in Artillery Duel. It only allows you to enter the characters specified. Written with DASM. ;====================================================================== ;Input a string and store it in GOTINPUT, terminated with a null byte. ;x:a is a pointer to the allowed list of characters, null-terminated. ;max # of chars in y returns num of chars entered in y. ;====================================================================== GETIN = $ffe4 ; Example usage FILTERED_TEXT lda #>TEXT ldx #