\ --- Mod: Code added for Elite-A: --------------------> .sell_yn LDA #205 \ Print recursive token 45 ("SELL") JSR TT27 LDA #206 \ Print extended token 206 ("{all caps}(Y/N)?") JSR DETOK \ Fall through into gnum to get a number from the \ keyboard \ --- End of added code ------------------------------->Name: sell_yn [Show more] Type: Subroutine Category: Text Summary: Print a "Sell(Y/N)?" prompt and get a number from the keyboardContext: See this subroutine in context in the source code References: This subroutine is called as follows: * status_equip calls sell_yn * TT210 calls sell_yn
The arguments and results for this routine are the same as for gnum.
Arguments: QQ25 The maximum number allowed
Returns: A The number entered R Also contains the number entered C flag Set if the number is too large (> QQ25), clear otherwise
[X]
Subroutine DETOK (category: Text)
Print an extended recursive token from the TKN1 token table
[X]
Subroutine TT27 (category: Text)
Print a text token