Prev: FD2B Up: Map Next: FD64
FD44: Print Ticker
Used by the routine at Handler_TickerNews.
Print_Ticker FD44 LD DE,$6100 DE=6100.
FD47 LD BC,$FEDF BC=Data_Ticker.
Print_Ticker_Loop FD4A LD A,(BC) A=*BC.
Check if the character is the terminator.
FD4B CP $FF Return if A is equal to FF.
FD4D RET Z
FD4E PUSH DE Stash DE on the stack.
FD4F ADD A,A A*=08.
FD50 ADD A,A
FD51 ADD A,A
HL will point to the set of eight bytes of data starting from D198.
FD52 LD H,$00 Create an offset using HL.
FD54 LD L,A
FD55 LD DE,$D198 HL+=Graphics_Ticker.
FD58 ADD HL,DE
FD59 POP DE Restore DE from the stack.
FD5A PUSH BC Stash BC on the stack.
FD5B LD BC,$0008 Copy 0008 bytes of data from HL to DE.
FD5E LDIR
FD60 POP BC Restore BC from the stack.
FD61 INC BC Increment BC by one.
FD62 JR Print_Ticker_Loop Jump to Print_Ticker_Loop.
Prev: FD2B Up: Map Next: FD64