source/page01/initial.asm
changeset 42 adad2f097dcb
parent 38 a4c5f839b738
child 43 486c42a314bc
equal deleted inserted replaced
41:9ef17625274f 42:adad2f097dcb
  5867 		pop		de
  5867 		pop		de
  5868 		pop		hl
  5868 		pop		hl
  5869 		ret
  5869 		ret
  5870 ; ---------------------------------------------------------------------------
  5870 ; ---------------------------------------------------------------------------
  5871 
  5871 
  5872 Page01_3EC1:
  5872 DisplayCalcModelAndOSVersion:
  5873 		call	p01sub_664F
  5873 		call	DisplayCalculatorModel
  5874 		call	p01sub_6413
  5874 		call	PutS_penColPrefixed
  5875 		ld		hl, aOSVersionString
  5875 		ld		hl, aOSVersionString
  5876 
  5876 PutS_penColPrefixed:
  5877 ; =============== S U B	R O U T	I N E =======================================
       
  5878 
       
  5879 
       
  5880 p01sub_6413:
       
  5881 		push	hl
  5877 		push	hl
  5882 		call	ldHLind
  5878 		call	ldHLind
  5883 		inc		hl
  5879 		inc		hl
  5884 		inc		hl
  5880 		inc		hl
  5885 		ld		(penCol), hl
  5881 		ld		(penCol), hl
  5886 		pop		hl
  5882 		pop		hl
  5887 		inc		hl
  5883 		inc		hl
  5888 		inc		hl
  5884 		inc		hl
  5889 		jp		VPutS
  5885 		jp		VPutS
  5890 ; End of function p01sub_6413
  5886 
  5891 
       
  5892 ; ---------------------------------------------------------------------------
       
  5893 aHelpEducation_:
  5887 aHelpEducation_:
  5894 		.db		0
  5888 		.db		0
  5895 		.db		3Ah
  5889 		.db		3Ah
  5896 		.asc 'Help:  education.ti.com',0
  5890 		.asc 'Help:  education.ti.com',0
  5897 aTi83Plus:
  5891 aTi83Plus:
  5907 
  5901 
  5908 Page01_3E07:
  5902 Page01_3E07:
  5909 		call	j_CursorOff
  5903 		call	j_CursorOff
  5910 		call	ClrLCD
  5904 		call	ClrLCD
  5911 		call	RunIndicOff
  5905 		call	RunIndicOff
  5912 		call	p01sub_664F
  5906 		call	DisplayCalculatorModel
  5913 		call	p01sub_65B0
  5907 		call	p01sub_65B0
  5914 		ld		hl, 62h	; 'b'
  5908 		ld		hl, 62h	; 'b'
  5915 		call	p01sub_65B0
  5909 		call	p01sub_65B0
  5916 		ld		hl, aProd
  5910 		ld		hl, aProd
  5917 		ld		a, 7Dh ; '}'
  5911 		ld		a, 7Dh ; '}'
  6169 		res		cmdExec, (iy+cmdFlags)
  6163 		res		cmdExec, (iy+cmdFlags)
  6170 		ld		a, 44h ; 'D'
  6164 		ld		a, 44h ; 'D'
  6171 		call	newContext0
  6165 		call	newContext0
  6172 		jp		sendKPress
  6166 		jp		sendKPress
  6173 
  6167 
  6174 p01sub_664F:
  6168 DisplayCalculatorModel:
  6175 		ld		hl, aTi83Plus
  6169 		ld		hl, aTi83Plus
  6176 		ld		a, 65h ; 'e'
  6170 		ld		a, 65h
  6177 		call	NZIf83Plus
  6171 		call	NZIf83Plus
  6178 		jr		nz, p01loc_665E
  6172 		jr		nz, p01loc_665E
  6179 		ld		hl, aTi83PlusSilver
  6173 		ld		hl, aTi83PlusSilver
  6180 		ld		a, 7Ch ; '|'
  6174 		ld		a, 7Ch
  6181 p01loc_665E:
  6175 p01loc_665E:
  6182 		bit		localizeHookActive, (iy+hookflags3)
  6176 		bit		localizeHookActive, (iy+hookflags3)
  6183 		call	nz, j_call_character_hook
  6177 		call	nz, j_call_character_hook
  6184 		ret
  6178 		ret
       
  6179 
  6185 KeyToString:
  6180 KeyToString:
  6186 		ld		a, d
  6181 		ld		a, d
  6187 		cp		0FFh
  6182 		cp		0FFh
  6188 		jr		z, p01loc_667C
  6183 		jr		z, p01loc_667C
  6189 		cp		0FBh ; '�'
  6184 		cp		0FBh ; '�'