![]() |
Routines |
| Prev: 62982 | Up: Map | Next: 63088 |
|
Used by the routine at Attract_Mode_Loop.
Attract-mode title setup after the screen is cleared: writes two parameter sets to TitleBlit_Params–50428 and OR-blits ROM logos from 28029 and 28677 via BlitTitleStrips, fills 192 attribute cells from 22816 with
YELLOW (yellow ink on black paper), then prints Messaging_Credits (copyright / Williams credits) via PrintMessaging. Called from Attract_Mode_Loop after DrawIntroSprites.
|
||||
| DrawAttractTitle | 63031 | LD HL,50425 | HL=TitleBlit_Params (parameter block). | |
|
First bitmap: parameters 40 32 24 67 then source 28029.
|
||||
| 63034 | LD (HL),40 | Write 40 to *TitleBlit_Params. | ||
| 63036 | INC HL | Write 32 to *50426. | ||
| 63037 | LD (HL),32 | |||
| 63039 | INC HL | Write 24 to *50427. | ||
| 63040 | LD (HL),24 | |||
| 63042 | INC HL | Write 67 to *50428. | ||
| 63043 | LD (HL),67 | |||
| 63045 | LD HL,28029 | HL=28029 (first title / logo bitmap in ROM). | ||
| 63048 | CALL BlitTitleStrips | Call BlitTitleStrips. | ||
| 63051 | LD HL,50425 | Write 74 to *TitleBlit_Params. | ||
|
Second bitmap: parameters 74 88 10 105 then source 28677.
|
||||
| 63054 | LD (HL),74 | |||
| 63056 | INC HL | Write 88 to *50426. | ||
| 63057 | LD (HL),88 | |||
| 63059 | INC HL | Write 10 to *50427. | ||
| 63060 | LD (HL),10 | |||
| 63062 | INC HL | Write 105 to *50428. | ||
| 63063 | LD (HL),105 | |||
| 63065 | LD HL,28677 | HL=28677 (second title / logo bitmap in ROM). | ||
| 63068 | CALL BlitTitleStrips | Call BlitTitleStrips. | ||
|
Attribute band for the credits line (192 cells, attribute
YELLOW).
|
||||
| 63071 | LD HL,22816 | HL=22816 (start within the attribute file 22528–23295). | ||
| 63074 | LD B,192 | Set a loop counter in B for 192 attributes. | ||
| DrawAttractTitle_FillAttrs | 63076 | LD (HL),6 | Write YELLOW (6) to *HL. | |
| 63078 | INC HL | Advance HL. | ||
| 63079 | DJNZ DrawAttractTitle_FillAttrs | Decrease counter and loop back to DrawAttractTitle_FillAttrs until the band is filled. | ||
| 63081 | LD HL,63088 | Call PrintMessaging using Messaging_Credits. | ||
| 63084 | CALL PrintMessaging | |||
| 63087 | RET | Return. | ||
| Prev: 62982 | Up: Map | Next: 63088 |