Exemplo n.º 1
0
        public byte GetEndNote()
        {
            int  DE      = work.MDATA;
            byte endNote = msub.STTONE();

            work.MDATA = DE;
            if (mucInfo.Carry)
            {
                mucInfo.Carry = true; //  SCF
                return(0);            //    RET
            }
            return(endNote);
        }
Exemplo n.º 2
0
        // **	ポルタメント ケイサン	**
        // IN:	HL<={CG}ダッタラ GノテキストADR
        // EXIT:	DE<=Mコマンドノ 3バンメ ノ ヘンカリョウ
        //	Zフラグ=1 ナラ ヘンカシナイ
        public int CULPTM()
        {
            int  DE   = work.MDATA;
            byte note = msub.STTONE();

            work.MDATA = DE;
            if (mucInfo.Carry)
            {
                mucInfo.Carry = true; //  SCF
                return(0);            //    RET
            }

            int depth = CULP2(note) / (byte)(work.BEFCO >> 0);//Mem.LD_8(BEFCO + 1); ?

            if (!mucInfo.Carry)
            {
                return(depth);
            }
            mucInfo.Carry = false;
            return(-depth);//    RET
        }