Beispiel #1
0
        void Handle_LD_BYTES(Z80 spectrum)
        {
            // Destination for data and length are stored in IX and DE resisters
            var dest = spectrum.IX();
            var leng = spectrum.DE();

            // Read next block from virtual tape
            var data = tape.Dequeue();

            spectrum.LoadBytes(dest, data);

            // Execute RET instruction to return to caller with Carry flag true to indicate success
            spectrum.setC(true);
            spectrum.poppc();
        }