; dan0pic.s
;-----------------------------------------------------------
; USAGE : dan0_picture(picture_table_pointer);
;-----------------------------------------------------------

    .module dan0

    .globl  _dan0_picture, dan0
    ; void dan0_picture(picture_table_pointer);

    .area _CODE

_dan0_picture:

    pop de
    pop hl
    push hl
    push de
    
    ld de,#0x2000 ;; PATTERN VRAM OFFSET
    call dan0
    ld de,#0x1000 ;; COLOR VRAM OFFSET
    call dan0
    
    ret
