| Routines

34463: Give two chances to enter a correct code

Used by the routine at 33792.
34463 | LD HL,16384 | Clear the display file and attribute file
34466 | LD DE,16385
34469 | LD BC,6911
34472 | LD (HL),0
34474 | LDIR
34476 | LD IX,34187 | Point IX at the message at 34187 ("Enter Code at grid location ")
34480 | CALL 34499 | Display the code entry screen and collect a four-digit code from the user
34483 | JP Z,34762 | Start the game if the code is correct
34486 | LD IX,34219 | Point IX at the message at 34219 ("Sorry, try code at location ")
34490 | CALL 34499 | Display the code entry screen and collect another four-digit code from the user
34493 | JP Z,34762 | Start the game if the code is correct
34496 | JP 0 | Otherwise reset the machine