source/page07/initial.asm
changeset 46 09e7d89fba35
parent 45 78c162ac1d82
equal deleted inserted replaced
45:78c162ac1d82 46:09e7d89fba35
  6402 		bit		localizeHookActive, (iy+hookflags3)
  6402 		bit		localizeHookActive, (iy+hookflags3)
  6403 		call	nz, j_call_character_hook
  6403 		call	nz, j_call_character_hook
  6404 		ld		a, 1
  6404 		ld		a, 1
  6405 		ld		(curRow), a
  6405 		ld		(curRow), a
  6406 		sub		a
  6406 		sub		a
  6407 		ld		(curRow+1), a
  6407 		ld		(curCol), a
  6408 		call	j_PutS
  6408 		call	j_PutS
  6409 		call	p07sub_5D40
  6409 		call	p07sub_5D40
  6410 		call	j_setNumWindow
  6410 		call	j_setNumWindow
  6411 		ret
  6411 		ret
  6412 ; End of function p07sub_5D21
  6412 ; End of function p07sub_5D21
  6561 		call	nz, j_RunCatalog1Hook
  6561 		call	nz, j_RunCatalog1Hook
  6562 		jr		nz, p07loc_5E4B
  6562 		jr		nz, p07loc_5E4B
  6563 		bit		catalog2HookActive, (iy+hookflags2)
  6563 		bit		catalog2HookActive, (iy+hookflags2)
  6564 		jr		z, p07loc_5E4B
  6564 		jr		z, p07loc_5E4B
  6565 		ld		a, 1
  6565 		ld		a, 1
  6566 		ld		(curRow+1), a
  6566 		ld		(curCol), a
  6567 		call	j_RunCatalog2Hook
  6567 		call	j_RunCatalog2Hook
  6568 
  6568 
  6569 p07loc_5E4B:
  6569 p07loc_5E4B:
  6570 		; GetCatalogItem+12j
  6570 		; GetCatalogItem+12j
  6571 		inc		hl
  6571 		inc		hl
  6776 ; =============== S U B	R O U T	I N E =======================================
  6776 ; =============== S U B	R O U T	I N E =======================================
  6777 
  6777 
  6778 
  6778 
  6779 p07sub_5F74:
  6779 p07sub_5F74:
  6780 		sub		a
  6780 		sub		a
  6781 		ld		(curRow+1), a
  6781 		ld		(curCol), a
  6782 		ld		a, 20h ; ' '
  6782 		ld		a, 20h ; ' '
  6783 		call	j_PutC
  6783 		call	j_PutC
  6784 		ld		hl, (CatalogCurrent)
  6784 		ld		hl, (CatalogCurrent)
  6785 		ld		a, 9
  6785 		ld		a, 9
  6786 		bit		3, (iy+36h)
  6786 		bit		3, (iy+36h)
  7013 ; =============== S U B	R O U T	I N E =======================================
  7013 ; =============== S U B	R O U T	I N E =======================================
  7014 
  7014 
  7015 
  7015 
  7016 p07sub_60C3:
  7016 p07sub_60C3:
  7017 		sub		a
  7017 		sub		a
  7018 		ld		(curRow+1), a
  7018 		ld		(curCol), a
  7019 		ld		a, 5
  7019 		ld		a, 5
  7020 		jr		p07loc_60D1
  7020 		jr		p07loc_60D1
  7021 ; End of function p07sub_60C3
  7021 ; End of function p07sub_60C3
  7022 
  7022 
  7023 
  7023 
  7024 ; =============== S U B	R O U T	I N E =======================================
  7024 ; =============== S U B	R O U T	I N E =======================================
  7025 
  7025 
  7026 
  7026 
  7027 p07sub_60CB:
  7027 p07sub_60CB:
  7028 		sub		a
  7028 		sub		a
  7029 		ld		(curRow+1), a
  7029 		ld		(curCol), a
  7030 		ld		a, 20h ; ' '
  7030 		ld		a, 20h ; ' '
  7031 
  7031 
  7032 p07loc_60D1:
  7032 p07loc_60D1:
  7033 		call	j_PutMap
  7033 		call	j_PutMap
  7034 		scf
  7034 		scf
  7042 		call	CanAlphIns
  7042 		call	CanAlphIns
  7043 		res		saIndic, (iy+newIndicFlags)
  7043 		res		saIndic, (iy+newIndicFlags)
  7044 		xor		a
  7044 		xor		a
  7045 		ld		(curRow), a
  7045 		ld		(curRow), a
  7046 		ld		a, 0Fh
  7046 		ld		a, 0Fh
  7047 		ld		(curRow+1), a
  7047 		ld		(curCol), a
  7048 		ld		a, 20h ; ' '
  7048 		ld		a, 20h ; ' '
  7049 		call	j_PutC
  7049 		call	j_PutC
  7050 		ret
  7050 		ret
  7051 p07loc_60F0:
  7051 p07loc_60F0:
  7052 		.dw		p07loc_6126
  7052 		.dw		p07loc_6126
  7958 		ret
  7958 		ret
  7959 ; ---------------------------------------------------------------------------
  7959 ; ---------------------------------------------------------------------------
  7960 
  7960 
  7961 p07loc_6535:
  7961 p07loc_6535:
  7962 		xor		a
  7962 		xor		a
  7963 		ld		(curRow+1), a
  7963 		ld		(curCol), a
  7964 		call	j_EraseEOW2
  7964 		call	j_EraseEOW2
  7965 		jp		Page0Call_2E9B
  7965 		jp		Page0Call_2E9B
  7966 ; ---------------------------------------------------------------------------
  7966 ; ---------------------------------------------------------------------------
  7967 
  7967 
  7968 p07loc_653F:
  7968 p07loc_653F:
  7998 		ld		a, 3
  7998 		ld		a, 3
  7999 		bit		localizeHookActive, (iy+hookflags3)
  7999 		bit		localizeHookActive, (iy+hookflags3)
  8000 		call	nz, j_call_character_hook
  8000 		call	nz, j_call_character_hook
  8001 		call	j_putsm
  8001 		call	j_putsm
  8002 		ld		a, 0Bh
  8002 		ld		a, 0Bh
  8003 		ld		(curRow+1), a
  8003 		ld		(curCol), a
  8004 		call	MemChk
  8004 		call	MemChk
  8005 		call	j_DispHL
  8005 		call	j_DispHL
  8006 		ld		hl, 1
  8006 		ld		hl, 1
  8007 		ld		(curRow), hl
  8007 		ld		(curRow), hl
  8008 		ld		hl, aArcFree
  8008 		ld		hl, aArcFree
  8009 		ld		a, 4
  8009 		ld		a, 4
  8010 		bit		localizeHookActive, (iy+hookflags3)
  8010 		bit		localizeHookActive, (iy+hookflags3)
  8011 		call	nz, j_call_character_hook
  8011 		call	nz, j_call_character_hook
  8012 		call	j_putsm
  8012 		call	j_putsm
  8013 		ld		a, 0Ah
  8013 		ld		a, 0Ah
  8014 		ld		(curRow+1), a
  8014 		ld		(curCol), a
  8015 		call	j_ArcChk
  8015 		call	j_ArcChk
  8016 		ld		a, 7
  8016 		ld		a, 7
  8017 		call	Page0Call_3C75
  8017 		call	Page0Call_3C75
  8018 		pop		hl
  8018 		pop		hl
  8019 		ld		(curRow), hl
  8019 		ld		(curRow), hl
  8028 		jr		z, p07loc_65A8
  8028 		jr		z, p07loc_65A8
  8029 		ld		b, 2Ah ; '*'
  8029 		ld		b, 2Ah ; '*'
  8030 
  8030 
  8031 p07loc_65A8:
  8031 p07loc_65A8:
  8032 		ld		a, 1
  8032 		ld		a, 1
  8033 		ld		(curRow+1), a
  8033 		ld		(curCol), a
  8034 		ld		a, b
  8034 		ld		a, b
  8035 		call	j_PutC
  8035 		call	j_PutC
  8036 		ld		a, (curRow)
  8036 		ld		a, (curRow)
  8037 		push	af
  8037 		push	af
  8038 		call	p07sub_6553
  8038 		call	p07sub_6553
 10696 
 10696 
 10697 
 10697 
 10698 
 10698 
 10699 
 10699 
 10700 		xor		a
 10700 		xor		a
 10701 		ld		(curRow+1), a
 10701 		ld		(curCol), a
 10702 		ld		a, 20h ; ' '
 10702 		ld		a, 20h ; ' '
 10703 		call	j_PutC
 10703 		call	j_PutC
 10704 		ld		a, 20h ; ' '
 10704 		ld		a, 20h ; ' '
 10705 		call	j_PutC
 10705 		call	j_PutC
 10706 		ei
 10706 		ei
 10770 p07loc_7739:
 10770 p07loc_7739:
 10771 		call	Page0Call_2F91
 10771 		call	Page0Call_2F91
 10772 		call	ChkFindSym
 10772 		call	ChkFindSym
 10773 		push	af
 10773 		push	af
 10774 		ld		a, 1
 10774 		ld		a, 1
 10775 		ld		(curRow+1), a
 10775 		ld		(curCol), a
 10776 		ld		a, b
 10776 		ld		a, b
 10777 		or		a
 10777 		or		a
 10778 		push	af
 10778 		push	af
 10779 		jr		z, p07loc_7755
 10779 		jr		z, p07loc_7755
 10780 		push	hl
 10780 		push	hl
 10787 
 10787 
 10788 p07loc_7755:
 10788 p07loc_7755:
 10789 		bit		inDelete, (iy+ioDelFlag)
 10789 		bit		inDelete, (iy+ioDelFlag)
 10790 		jr		z, p07loc_778B
 10790 		jr		z, p07loc_778B
 10791 		ld		a, 0Bh
 10791 		ld		a, 0Bh
 10792 		ld		(curRow+1), a
 10792 		ld		(curCol), a
 10793 		call	ISO1NONTLSTorPROG
 10793 		call	ISO1NONTLSTorPROG
 10794 		ld		a, 3
 10794 		ld		a, 3
 10795 		jr		nz, p07loc_776F
 10795 		jr		nz, p07loc_776F
 10796 		dec		hl
 10796 		dec		hl
 10797 		dec		hl
 10797 		dec		hl
 10837 ; =============== S U B	R O U T	I N E =======================================
 10837 ; =============== S U B	R O U T	I N E =======================================
 10838 
 10838 
 10839 
 10839 
 10840 Page07_2DF3:
 10840 Page07_2DF3:
 10841 		ld		a, 0Bh
 10841 		ld		a, 0Bh
 10842 		ld		(curRow+1), a
 10842 		ld		(curCol), a
 10843 		ld		a, (varType)
 10843 		ld		a, (varType)
 10844 		call	p07sub_7827
 10844 		call	p07sub_7827
 10845 		call	Mov9ToOP2
 10845 		call	Mov9ToOP2
 10846 		ld		hl, OP2
 10846 		ld		hl, OP2
 10847 		call	Page0Call_3C81
 10847 		call	Page0Call_3C81
 10867 		jr		z, p07loc_77F1
 10867 		jr		z, p07loc_77F1
 10868 		ld		a, (sndRecState)
 10868 		ld		a, (sndRecState)
 10869 		cp		19h
 10869 		cp		19h
 10870 		jr		z, p07loc_77F1
 10870 		jr		z, p07loc_77F1
 10871 		ld		a, 0Ah
 10871 		ld		a, 0Ah
 10872 		ld		(curRow+1), a
 10872 		ld		(curCol), a
 10873 		di
 10873 		di
 10874 		call	j_FindApp
 10874 		call	j_FindApp
 10875 		di
 10875 		di
 10876 		call	j_FindAppNumPages
 10876 		call	j_FindAppNumPages
 10877 		ld		a, c
 10877 		ld		a, c
 11009 		.dw		p07loc_78B7
 11009 		.dw		p07loc_78B7
 11010 		.dw		p07loc_78BC
 11010 		.dw		p07loc_78BC
 11011 p07loc_7871:
 11011 p07loc_7871:
 11012 aReal07:	.asc 'REAL',0
 11012 aReal07:	.asc 'REAL',0
 11013 p07loc_7876:
 11013 p07loc_7876:
 11014 aList:		.asc 'LIST',0
 11014 aList07:	.asc 'LIST',0
 11015 p07loc_787B:
 11015 p07loc_787B:
 11016 aMatrx:		.asc 'MATRX',0
 11016 aMatrx:		.asc 'MATRX',0
 11017 p07loc_7881:
 11017 p07loc_7881:
 11018 aEqu:		.asc 'EQU',0
 11018 aEqu:		.asc 'EQU',0
 11019 p07loc_7885:
 11019 p07loc_7885: