Skip to navigation


Utility routines: ZES1k

[Commodore 64 version]

Name: ZES1k [Show more] Type: Subroutine Category: Utility routines Summary: Zero-fill the page whose number is in X
Context: See this subroutine in context in the source code References: This subroutine is called as follows: * TTX66K calls ZES1k

Arguments: X The page we want to zero-fill
.ZES1k LDY #0 ; If we set Y = SC = 0 and fall through into ZESNEW 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