Prev: B5B0 Up: Map Next: B5E1
B5CD: Copy bitmap data to buffer.
Input
L Bitmap index
Bitmap_GetData B5CD LD H,$00 Calculate address of bitmap data.
B5CF ADD HL,HL
B5D0 ADD HL,HL
B5D1 LD DE,Bitmap_Table
B5D4 ADD HL,DE
B5D5 LD DE,Bmp_DataBuffer Copy across to data buffer.
B5D8 LDI
B5DA LDI
B5DC LDI
B5DE LD A,(HL)
B5DF LD (DE),A
B5E0 RET
On exit HL points to Width of bitmap, DE width for buffer data
Prev: B5B0 Up: Map Next: B5E1