Prev: 49888 Up: Map Next: 50107
49920: Draw Playfield
Used by the routine at Draw_PlayWithDoors.
Playfield Output
playfield
Draw_Playfield 49920 LD L,(IX+0) Set Copy_Routine as the destination address at Alias_Copy_Routine.
49923 LD H,(IX+1)
49926 LD (50104),HL
49929 LD HL,16384 Clears the screen buffer by writing 0 to all 6912 memory locations.
49932 LD DE,16385
49935 LD BC,6911
49938 LD (HL),0
49940 LDIR
Draws the numbering of the deposit boxes on the left and right of the screen.
49942 LD HL,16385 Points HL to 16385 (screen buffer) and DE to SlotNumbers_Left, then calls the routine at Alias_Copy_Routine.
49945 LD DE,57248
49948 LD BC,2060
49951 CALL Alias_Copy_Routine
49954 LD HL,16403 Points HL to 16403 (screen buffer) and DE to SlotNumbers_Right, then calls the routine at Alias_Copy_Routine.
49957 LD DE,57344
49960 LD BC,2060
49963 CALL Alias_Copy_Routine
Draws the centrepiece "till" image.
49966 LD HL,16398 Points HL to 16398 (screen buffer) and DE to Centrepiece, then calls the routine at Alias_Copy_Routine.
49969 LD DE,57440
49972 LD B,24
49974 LD C,4
49976 CALL Alias_Copy_Routine
Draws the game play area (doors and wall sections).
49979 LD HL,16480 Points HL to 16480 (screen buffer) and DE to DoorsTop, then calls the routine at Alias_Copy_Routine.
49982 LD DE,57536
49985 LD BC,2080
49988 CALL Alias_Copy_Routine
49991 LD HL,16512 Points HL to 16512 (screen buffer) and DE to WallLeft, then calls the routine at Alias_Copy_Routine.
49994 LD DE,57792
49997 LD B,88
49999 LD C,2
50001 CALL Alias_Copy_Routine
50004 LD HL,16521 Points HL to 16521 (screen buffer) and DE to WallMiddle, then calls the routine at Alias_Copy_Routine.
50007 LD DE,57968
50010 LD B,88
50012 LD C,4
50014 CALL Alias_Copy_Routine
50017 LD HL,16532 Points HL to 16532 (screen buffer) and DE to WallMiddle, then calls the routine at Alias_Copy_Routine.
50020 LD DE,57968
50023 LD B,88
50025 LD C,4
50027 CALL Alias_Copy_Routine
50030 LD HL,16543 Points HL to 16543 (screen buffer) and DE to DoorFrame_Side, then calls the routine at Alias_Copy_Routine.
50033 LD DE,58320
50036 LD B,88
50038 LD C,1
50040 CALL Alias_Copy_Routine
50043 LD HL,18656 Points HL to 18656 (screen buffer) and DE to DoorBottom, then calls the routine at Alias_Copy_Routine.
50046 LD DE,58408
50049 LD BC,2080
50052 CALL Alias_Copy_Routine
Draws the Bank Teller desks.
50055 LD HL,20512 Points HL to 20512 (screen buffer) and DE to Tellers, then calls the routine at Alias_Copy_Routine.
50058 LD DE,58664
50061 LD BC,8224
50064 CALL Alias_Copy_Routine
Writes the "SCORE" and "LIVES" labels (these aren't text, they're images).
50067 LD HL,20673 Points HL to 20673 (screen buffer) and DE to Score_Text_Image, then calls the routine at Alias_Copy_Routine.
50070 LD DE,59688
50073 LD BC,4102
50076 CALL Alias_Copy_Routine
50079 LD HL,20656 Points HL to 20656 (screen buffer) and DE to Lives_Text_Image, then calls the routine at Alias_Copy_Routine.
50082 LD DE,59784
50085 LD BC,5638
50088 CALL Alias_Copy_Routine
Copies attribute data to the screen.
50091 LD HL,60672 Copies 768 bytes of attribute data from 60672 to 22528.
50094 LD DE,22528
50097 LD BC,768
50100 LDIR
50102 RET Return.
An alias which just calls the normal Copy_Routine.
Alias_Copy_Routine 50103 CALL Copy_Routine Draws the image pointed to in DE to the screen location in HL using the dimensions in BC.
50106 RET Return.
Prev: 49888 Up: Map Next: 50107