source/page00/math_var.asm
changeset 38 a4c5f839b738
parent 35 3bbec89e558e
child 41 9ef17625274f
equal deleted inserted replaced
37:9cdbb6464f89 38:a4c5f839b738
  2883 
  2883 
  2884 page0_172A:
  2884 page0_172A:
  2885 		bit		drawingGraph, (iy+graphFlags)
  2885 		bit		drawingGraph, (iy+graphFlags)
  2886 		ret
  2886 		ret
  2887 
  2887 
  2888 ; =============== S U B	R O U T	I N E =======================================
  2888 isPtrHLA2ByteTok:
  2889 
       
  2890 
       
  2891 page0_172F:
       
  2892 		ld		a, (hl)
  2889 		ld		a, (hl)
  2893 
       
  2894 isA2ByteTok:
  2890 isA2ByteTok:
  2895 		push	bc
  2891 		push	bc
  2896 		push	hl
  2892 		push	hl
  2897 		ld		hl, unk_173E
  2893 		ld		hl, _2ByteTokTable
  2898 		ld		bc, 0Ah
  2894 		ld		bc, _2ByteTokTableEnd-_2ByteTokTable
  2899 		or		a
  2895 		or		a
  2900 		cpir
  2896 		cpir
  2901 		pop		hl
  2897 		pop		hl
  2902 		pop		bc
  2898 		pop		bc
  2903 		ret
  2899 		ret
  2904 unk_173E:
  2900 _2ByteTokTable:
  2905 		.db		5Ch	; \
  2901 		.db		5Ch
  2906 		.db		5Dh	; ]
  2902 		.db		5Dh
  2907 		.db		5Eh	; ^
  2903 		.db		5Eh
  2908 		.db		60h	; `
  2904 		.db		60h
  2909 		.db		61h	; a
  2905 		.db		61h
  2910 		.db		62h	; b
  2906 		.db		62h
  2911 		.db		63h	; c
  2907 		.db		63h
  2912 		.db		7Eh	; ~
  2908 		.db		7Eh
  2913 		.db		0BBh	; ۍ
  2909 		.db		0BBh
  2914 		.db		0AAh	; ʍ
  2910 		.db		0AAh
  2915 ; ---------------------------------------------------------------------------
  2911 _2ByteTokTableEnd:
       
  2912 
  2916 
  2913 
  2917 GETLASTENTRY:
  2914 GETLASTENTRY:
  2918 		ld		hl, 8E2Ah
  2915 		ld		hl, 8E2Ah
  2919 		ld		b, (hl)
  2916 		ld		b, (hl)
  2920 		ld		a, (numLastEntries)
  2917 		ld		a, (numLastEntries)