Routines |
Prev: 54776 | Up: Map | Next: 54920 |
Used by the routines at RunHandlers, SelectionScreen, Print_SelectionScreen, ChangeControls, UserDefinedKeys and Handler_TickerNews.
|
||||
ScreenBuffer_Update | 54788 | LD HL,27392 | HL=ShadowScreenBuffer. | |
54791 | LD DE,16384 | DE=16384. | ||
54794 | CALL CopyShadowBufferToScreen | Call CopyShadowBufferToScreen. | ||
54797 | LD HL,29440 | HL=29440. | ||
54800 | LD DE,18432 | DE=18432. | ||
54803 | CALL CopyShadowBufferToScreen | Call CopyShadowBufferToScreen. | ||
54806 | LD HL,31488 | HL=31488. | ||
54809 | LD DE,20480 | DE=20480. | ||
This routine is called three times which correlates to the three sections of the screen layout.
|
||||
CopyShadowBufferToScreen | 54812 | PUSH HL | Stash the shadow buffer pointer on the stack. | |
54813 | LD A,D | A=D. | ||
54814 | EX AF,AF' | Exchange AF with the shadow AF register. | ||
54815 | LD A,L | A=L. | ||
54816 | CALL Blit | Call Blit. | ||
54819 | LD E,A | E=A. | ||
54820 | LD L,A | L=A. | ||
54821 | INC D | Increment D by one. | ||
54822 | INC H | Increment H by one. | ||
54823 | CALL Blit | Call Blit. | ||
54826 | LD E,A | E=A. | ||
54827 | LD L,A | L=A. | ||
54828 | INC D | Increment D by one. | ||
54829 | INC H | Increment H by one. | ||
54830 | CALL Blit | Call Blit. | ||
54833 | LD E,A | E=A. | ||
54834 | LD L,A | L=A. | ||
54835 | INC D | Increment D by one. | ||
54836 | INC H | Increment H by one. | ||
54837 | CALL Blit | Call Blit. | ||
54840 | LD E,A | E=A. | ||
54841 | LD L,A | L=A. | ||
54842 | INC D | Increment D by one. | ||
54843 | INC H | Increment H by one. | ||
54844 | CALL Blit | Call Blit. | ||
54847 | LD E,A | E=A. | ||
54848 | LD L,A | L=A. | ||
54849 | INC D | Increment D by one. | ||
54850 | INC H | Increment H by one. | ||
54851 | CALL Blit | Call Blit. | ||
54854 | LD E,A | E=A. | ||
54855 | LD L,A | L=A. | ||
54856 | INC D | Increment D by one. | ||
54857 | INC H | Increment H by one. | ||
54858 | CALL Blit | Call Blit. | ||
54861 | LD E,A | E=A. | ||
54862 | LD L,A | L=A. | ||
54863 | INC D | Increment D by one. | ||
54864 | INC H | Increment H by one. | ||
54865 | CALL Blit | Call Blit. | ||
54868 | EX AF,AF' | Switch AF back with the normal AF register. | ||
54869 | LD D,A | D=A. | ||
54870 | POP HL | Restore the shadow buffer pointer from the stack. | ||
54871 | LD A,L | L+=32. | ||
54872 | ADD A,32 | |||
54874 | LD L,A | |||
54875 | LD E,A | E=A. | ||
54876 | CP 224 | Jump to CopyShadowBufferToScreen if A is not 224. | ||
54878 | JP NZ,CopyShadowBufferToScreen | |||
54881 | CALL Blit | Call Blit. | ||
54884 | LD E,A | E=A. | ||
54885 | LD L,A | L=A. | ||
54886 | CALL Blit | Call Blit. | ||
54889 | LD E,A | E=A. | ||
54890 | LD L,A | L=A. | ||
54891 | CALL Blit | Call Blit. | ||
54894 | LD E,A | E=A. | ||
54895 | LD L,A | L=A. | ||
54896 | CALL Blit | Call Blit. | ||
54899 | LD E,A | E=A. | ||
54900 | LD L,A | L=A. | ||
54901 | CALL Blit | Call Blit. | ||
54904 | LD E,A | E=A. | ||
54905 | LD L,A | L=A. | ||
54906 | CALL Blit | Call Blit. | ||
54909 | LD E,A | E=A. | ||
54910 | LD L,A | L=A. | ||
54911 | CALL Blit | Call Blit. | ||
54914 | LD E,A | E=A. | ||
54915 | LD L,A | L=A. | ||
54916 | CALL Blit | Call Blit. | ||
54919 | RET | Return. |
Prev: 54776 | Up: Map | Next: 54920 |