Skip to navigation


Version analysis of dn2

This code appears in the following versions (click to see it in the source code):

Code variations between these versions are shown below.

Name: dn2 Type: Subroutine Category: Text

Code variation 1 of 2A variation in the comments only

Tap on a block to expand it, and tap it again to revert.

Summary: Make a short, high beep and delay for 1 second
Summary: Make a short, high beep and delay for 0.5 seconds
.dn2 JSR BEEP \ Call the BEEP subroutine to make a short, high beep

Code variation 2 of 2Specific to an individual platform

Tap on a block to expand it, and tap it again to revert.

LDY #50 \ Wait for 50/50 of a second (1 second) and return JMP DELAY \ from the subroutine using a tail call
LDY #25 \ Wait for 25/50 of a second (0.5 second) and return JMP DELAY \ from the subroutine using a tail call
LDY #200 \ Wait for 200 delay loops and return from the JMP DELAY \ subroutine using a tail call