Routines |
Prev: 47376 | Up: Map | Next: 47461 |
Used by the routine at Animation_ThrowingDart.
|
||||
Animation_Dart | 47407 | LD B,2 | B=2. | |
47409 | LD DE,50972 | DE=Graphics_Dart. | ||
Animation_Dart_0 | 47412 | LD A,(HL) | A=*HL. | |
47413 | PUSH AF | Stash AF on the stack. | ||
47414 | LD A,(DE) | A=*DE. | ||
47415 | OR (HL) | Set the bits from *HL. | ||
47416 | LD (HL),A | Write A to *HL. | ||
47417 | INC DE | Increment DE by one. | ||
47418 | INC L | Increment L by one. | ||
47419 | LD A,(HL) | A=*HL. | ||
47420 | PUSH AF | Stash AF on the stack. | ||
47421 | LD A,(DE) | A=*DE. | ||
47422 | OR (HL) | Set the bits from *HL. | ||
47423 | LD (HL),A | Write A to *HL. | ||
47424 | INC H | Increment H by one. | ||
47425 | INC DE | Increment DE by one. | ||
47426 | LD A,(HL) | A=*HL. | ||
47427 | PUSH AF | Stash AF on the stack. | ||
47428 | LD A,(DE) | A=*DE. | ||
47429 | OR (HL) | Set the bits from *HL. | ||
47430 | LD (HL),A | Write A to *HL. | ||
47431 | INC DE | Increment DE by one. | ||
47432 | DEC L | Decrease L by one. | ||
47433 | LD A,(HL) | A=*HL. | ||
47434 | PUSH AF | Stash AF on the stack. | ||
47435 | LD A,(DE) | A=*DE. | ||
47436 | OR (HL) | Set the bits from *HL. | ||
47437 | LD (HL),A | Write A to *HL. | ||
47438 | INC DE | Increment DE by one. | ||
47439 | INC H | Increment H by one. | ||
47440 | DJNZ Animation_Dart_0 | Decrease counter by one and loop back to Animation_Dart_0 until counter is zero. | ||
47442 | HALT | Halt operation (suspend CPU until the next interrupt). | ||
47443 | DEC H | Decrease H by one. | ||
47444 | LD B,2 | B=2. | ||
Animation_Dart_1 | 47446 | POP AF | Restore AF from the stack. | |
47447 | LD (HL),A | Write A to *HL. | ||
47448 | INC L | Increment L by one. | ||
47449 | POP AF | Restore AF from the stack. | ||
47450 | LD (HL),A | Write A to *HL. | ||
47451 | DEC H | Decrease H by one. | ||
47452 | POP AF | Restore AF from the stack. | ||
47453 | LD (HL),A | Write A to *HL. | ||
47454 | DEC L | Decrease L by one. | ||
47455 | POP AF | Restore AF from the stack. | ||
47456 | LD (HL),A | Write A to *HL. | ||
47457 | DEC H | Decrease H by one. | ||
47458 | DJNZ Animation_Dart_1 | Decrease counter by one and loop back to Animation_Dart_1 until counter is zero. | ||
47460 | RET | Return. |
Prev: 47376 | Up: Map | Next: 47461 |