27853: Squiggle Line
SquiggleLine |
27853 |
CALL ClearScreen |
|
27856 |
LD HL,20800 |
|
27859 |
LD DE,28108 |
|
27862 |
LD C,5 |
SquiggleGFX_Loop_1 |
27864 |
LD B,16 |
|
27866 |
PUSH HL |
SquiggleGFX_Loop_2 |
27867 |
LD A,(DE) |
|
27868 |
LD (HL),A |
|
27869 |
INC HL |
|
27870 |
INC DE |
|
27871 |
LD A,(DE) |
|
27872 |
LD (HL),A |
|
27873 |
INC HL |
|
27874 |
DEC DE |
|
27875 |
DJNZ SquiggleGFX_Loop_2 |
|
27877 |
INC DE |
|
27878 |
INC DE |
|
27879 |
POP HL |
|
27880 |
INC H |
|
27881 |
DEC C |
|
27882 |
JR NZ,SquiggleGFX_Loop_1 |
|
27884 |
LD A,17 |
|
27886 |
LD (46870),A |
|
27889 |
LD A,(46854) |
|
27892 |
INC A |
|
27893 |
JR NZ,SquiggleLine_1 |
|
27895 |
CALL 38829 |
|
27898 |
LD HL,28658 |
SquiggleLine_0 |
27901 |
LD A,(HL) |
|
27902 |
CALL 34232 |
|
27905 |
INC HL |
|
27906 |
CP 13 |
|
27908 |
JR NZ,SquiggleLine_0 |
|
27910 |
LD HL,28660 |
|
27913 |
LD DE,28665 |
|
27916 |
LD BC,5 |
|
27919 |
LDIR |
|
27921 |
JR SquiggleLine_2 |
SquiggleLine_1 |
27923 |
LD A,1 |
|
27925 |
LD (46853),A |
|
27928 |
LD A,9 |
|
27930 |
LD (46870),A |
|
27933 |
CALL 28118 |
|
27936 |
JR Z,SquiggleLine_6 |
SquiggleLine_2 |
27938 |
LD HL,28828 |
|
27941 |
LD B,64 |
|
27943 |
CALL Blanker |
|
27946 |
LD HL,28665 |
|
27949 |
LD IY,28828 |
SquiggleLine_3 |
27953 |
CALL 28311 |
|
27956 |
CP 208 |
|
27958 |
JR Z,SquiggleLine_8 |
|
27960 |
CP 144 |
|
27962 |
JR NZ,SquiggleLine_5 |
|
27964 |
LD A,B |
|
27965 |
AND 15 |
|
27967 |
OR C |
|
27968 |
JR NZ,SquiggleLine_5 |
|
27970 |
LD A,(46875) |
|
27973 |
AND A |
|
27974 |
JR NZ,SquiggleLine_4 |
|
27976 |
INC A |
|
27977 |
LD (46875),A |
|
27980 |
JR SquiggleLine_5 |
SquiggleLine_4 |
27982 |
DEC A |
|
27983 |
LD (46875),A |
|
27986 |
LD A,(IY-2) |
|
27989 |
AND 240 |
|
27991 |
CP 176 |
|
27993 |
JR Z,SquiggleLine_5 |
|
27995 |
CP 160 |
|
27997 |
JR Z,SquiggleLine_5 |
|
27999 |
LD A,176 |
|
28001 |
LD (IY+0),A |
|
28004 |
XOR A |
|
28005 |
LD (IY+1),A |
|
28008 |
INC IY |
|
28010 |
INC IY |
SquiggleLine_5 |
28012 |
LD (IY+0),B |
|
28015 |
LD (IY+1),C |
|
28018 |
INC IY |
|
28020 |
INC IY |
|
28022 |
LD A,D |
|
28023 |
CP 192 |
|
28025 |
JR NZ,SquiggleLine_3 |
|
28027 |
LD A,(46875) |
|
28030 |
AND A |
|
28031 |
JR Z,SquiggleLine_6 |
|
28033 |
XOR A |
|
28034 |
LD (46875),A |
|
28037 |
CALL 31023 |
|
28040 |
JR SquiggleLine_1 |
SquiggleLine_6 |
28042 |
LD HL,28828 |
|
28045 |
LD (46812),HL |
SquiggleLine_7 |
28048 |
CALL 30085 |
|
28051 |
JP NZ,SquiggleLine_1 |
|
28054 |
CALL 31072 |
|
28057 |
LD A,(46853) |
|
28060 |
AND A |
|
28061 |
JR NZ,SquiggleLine_7 |
|
28063 |
JP SquiggleLine_1 |
SquiggleLine_8 |
28066 |
LD HL,44435 |
|
28069 |
LD A,1 |
|
28071 |
LD (46849),A |
|
28074 |
CALL PrintMsg |
|
28077 |
LD HL,(46810) |
SquiggleLine_9 |
28080 |
LD A,(HL) |
|
28081 |
CP 13 |
|
28083 |
JR Z,SquiggleLine_10 |
|
28085 |
CP 34 |
|
28087 |
JR Z,SquiggleLine_10 |
|
28089 |
CALL 34187 |
|
28092 |
INC HL |
|
28093 |
CP 32 |
|
28095 |
JR NZ,SquiggleLine_9 |
SquiggleLine_10 |
28097 |
LD A,34 |
|
28099 |
CALL 34187 |
|
28102 |
CALL 34179 |
|
28105 |
JP SquiggleLine_1 |