.PrintString LDA loaderScreens,X ; Set A to the X-th from loaderScreens BEQ prin1 ; If it is zero then we have reached the end of the ; string, so jump to prin1 JSR KERNALCHROUT ; Call the Kernal's CHROUT function to print the ; character in A INX ; Increment X to point to the next character BNE PrintString ; Loop back to print the next character (this BNE is ; effectively a JMP as X is never zero .prin1 INX ; Increment X to point to the next character, so the ; next call to PrintString will print the next string RTS ; Return from the subroutineName: PrintString [Show more] Type: Subroutine Category: Loader Summary: Print the null-terminated string at offset X in loaderScreensContext: See this subroutine in context in the source code References: This subroutine is called as follows: * OfferFastLoader calls PrintString
[X]
Configuration variable KERNALCHROUT = $FFD2
The Kernal function to print characters
[X]
Subroutine PrintString (category: Loader)
Print the null-terminated string at offset X in loaderScreens
[X]
Variable loaderScreens (category: Loader)
PETSCII codes for clearing the screen and displaying the fast loader prompt and loading screens
[X]
Label prin1 is local to this routine