77EA: Inicio do codigo
start |
77EA |
LD A,$00 |
|
77EC |
LD ($5C08),A |
|
77EF |
NOP |
|
77F0 |
NOP |
|
77F1 |
NOP |
start_0 |
77F2 |
LD A,($5C08) |
|
77F5 |
CP $00 |
|
77F7 |
JR Z,start_0 |
|
77F9 |
NOP |
|
77FA |
NOP |
|
77FB |
NOP |
|
77FC |
NOP |
start_1 |
77FD |
LD A,$10 |
|
77FF |
LD ($C34F),A |
|
7802 |
CALL fadeOut |
|
7805 |
LD A,$02 |
|
7807 |
OUT ($FE),A |
|
7809 |
LD DE,$3C00 |
|
780C |
CALL de_to_chars |
|
780F |
LD HL,$788D |
|
7812 |
CALL desenhaFrameHL |
|
7815 |
LD HL,$89A6 |
|
7818 |
LD B,$20 |
|
781A |
LD A,$16 |
|
781C |
RST $10 |
|
781D |
LD A,$09 |
|
781F |
RST $10 |
|
7820 |
LD A,$00 |
|
7822 |
RST $10 |
|
7823 |
LD A,$11 |
|
7825 |
RST $10 |
|
7826 |
LD A,$02 |
|
7828 |
RST $10 |
|
7829 |
LD A,$10 |
|
782B |
RST $10 |
|
782C |
LD A,$06 |
|
782E |
RST $10 |
|
782F |
LD A,$13 |
|
7831 |
RST $10 |
|
7832 |
LD A,$01 |
|
7834 |
RST $10 |
|
7835 |
LD B,$20 |
start_2 |
7837 |
PUSH BC |
|
7838 |
LD A,(HL) |
|
7839 |
RST $10 |
|
783A |
INC HL |
|
783B |
POP BC |
|
783C |
DJNZ start_2 |
|
783E |
LD A,$13 |
|
7840 |
RST $10 |
|
7841 |
LD A,$00 |
|
7843 |
RST $10 |
|
7844 |
LD A,$00 |
|
7846 |
LD ($5C08),A |
start_3 |
7849 |
LD A,($5C08) |
|
784C |
CP $00 |
|
784E |
JR Z,start_3 |
|
7850 |
LD A,$01 |
|
7852 |
OUT ($FE),A |
|
7854 |
LD A,$00 |
|
7856 |
LD ($C33D),A |
|
7859 |
LD ($C337),A |
|
785C |
LD A,$01 |
|
785E |
LD ($C33C),A |
|
7861 |
LD A,$30 |
|
7863 |
LD ($C346),A |
|
7866 |
LD ($C347),A |
|
7869 |
LD ($C348),A |
|
786C |
LD ($C349),A |
|
786F |
LD ($C340),A |
|
7872 |
LD ($C341),A |
|
7875 |
LD ($C33F),A |
|
7878 |
LD A,$33 |
|
787A |
LD ($C33E),A |
|
787D |
LD A,($5C78) |
|
7880 |
SUB $80 |
|
7882 |
LD B,A |
start_4 |
7883 |
PUSH BC |
|
7884 |
CALL random1 |
|
7887 |
POP BC |
|
7888 |
DJNZ start_4 |
|
788A |
JP main_0 |