Skip to navigation

Elite on the BBC Micro

Utility routines: ZES1 (Cassette version)

Name: ZES1 [View in context] Type: Subroutine [Compare versions] Category: Utility routines Summary: Zero-fill the page whose number is in X
Arguments: X The page we want to zero-fill
.ZES1 LDY #0 \ If we set Y = SC = 0 and fall through into ZES2 STY SC \ below, then we will zero-fill 255 bytes starting from \ SC - in other words, we will zero-fill the whole of \ page X