source/page79/initial.asm
changeset 46 09e7d89fba35
parent 43 486c42a314bc
equal deleted inserted replaced
45:78c162ac1d82 46:09e7d89fba35
  2976 		ld		a, 3
  2976 		ld		a, 3
  2977 		bit		localizeHookActive, (iy+hookflags3)
  2977 		bit		localizeHookActive, (iy+hookflags3)
  2978 		call	nz, j_call_character_hook
  2978 		call	nz, j_call_character_hook
  2979 		call	j_putsm
  2979 		call	j_putsm
  2980 		ld		a, 0Bh
  2980 		ld		a, 0Bh
  2981 		ld		(curRow+1), a
  2981 		ld		(curCol), a
  2982 		call	MemChk
  2982 		call	MemChk
  2983 		call	j_DispHL
  2983 		call	j_DispHL
  2984 		ld		hl, 1
  2984 		ld		hl, 1
  2985 		ld		(curRow), hl
  2985 		ld		(curRow), hl
  2986 		ld		hl, aArcFree
  2986 		ld		hl, aArcFree
  2987 		ld		a, 4
  2987 		ld		a, 4
  2988 		bit		localizeHookActive, (iy+hookflags3)
  2988 		bit		localizeHookActive, (iy+hookflags3)
  2989 		call	nz, j_call_character_hook
  2989 		call	nz, j_call_character_hook
  2990 		call	j_putsm
  2990 		call	j_putsm
  2991 		ld		a, 0Ah
  2991 		ld		a, 0Ah
  2992 		ld		(curRow+1), a
  2992 		ld		(curCol), a
  2993 		call	j_ArcChk
  2993 		call	j_ArcChk
  2994 		ld		a, 7
  2994 		ld		a, 7
  2995 		call	Page0Call_3C75
  2995 		call	Page0Call_3C75
  2996 		ret
  2996 		ret
  2997 ; ---------------------------------------------------------------------------
  2997 ; ---------------------------------------------------------------------------
  3102 ; =============== S U B	R O U T	I N E =======================================
  3102 ; =============== S U B	R O U T	I N E =======================================
  3103 
  3103 
  3104 
  3104 
  3105 p79sub_53D9:
  3105 p79sub_53D9:
  3106 		sub		a
  3106 		sub		a
  3107 		ld		(curRow+1), a
  3107 		ld		(curCol), a
  3108 		ld		a, (unk_85DF+1)
  3108 		ld		a, (unk_85DF+1)
  3109 		cp		c
  3109 		cp		c
  3110 		jr		nz, p79loc_53E7
  3110 		jr		nz, p79loc_53E7
  3111 ; End of function p79sub_53D9
  3111 ; End of function p79sub_53D9
  3112 
  3112 
  3226 		call	Page0Call_2D81
  3226 		call	Page0Call_2D81
  3227 		xor		a
  3227 		xor		a
  3228 		ld		(OP3+3), a
  3228 		ld		(OP3+3), a
  3229 		ld		hl, OP2
  3229 		ld		hl, OP2
  3230 		call	j_PutS
  3230 		call	j_PutS
  3231 		ld		a, (curRow+1)
  3231 		ld		a, (curCol)
  3232 		or		a
  3232 		or		a
  3233 		jr		nz, p79loc_54D6
  3233 		jr		nz, p79loc_54D6
  3234 		ld		hl, curRow
  3234 		ld		hl, curRow
  3235 		dec		(hl)
  3235 		dec		(hl)
  3236 		ret
  3236 		ret
  3284 		call	Page0Call_314D
  3284 		call	Page0Call_314D
  3285 		ret
  3285 		ret
  3286 ; ---------------------------------------------------------------------------
  3286 ; ---------------------------------------------------------------------------
  3287 
  3287 
  3288 p79loc_54D6:
  3288 p79loc_54D6:
  3289 		ld		a, (curRow+1)
  3289 		ld		a, (curCol)
  3290 		cp		0Fh
  3290 		cp		0Fh
  3291 		call	c, j_EraseEOL
  3291 		call	c, j_EraseEOL
  3292 		ret
  3292 		ret
  3293 ; End of function p79sub_545D
  3293 ; End of function p79sub_545D
  3294 
  3294 
  7708 
  7708 
  7709 
  7709 
  7710 p79sub_697A:
  7710 p79sub_697A:
  7711 		; p79sub_5695+104p
  7711 		; p79sub_5695+104p
  7712 		ld		a, 1
  7712 		ld		a, 1
  7713 		ld		(curRow+1), a
  7713 		ld		(curCol), a
  7714 		ld		a, 3Ah ; ':'
  7714 		ld		a, 3Ah ; ':'
  7715 		call	j_PutC
  7715 		call	j_PutC
  7716 		ret
  7716 		ret
  7717 ; End of function p79sub_697A
  7717 ; End of function p79sub_697A
  7718 
  7718