Anonymous

Loading routine "cores": Difference between revisions

From Sinclair Wiki
Document Bleepload.
(Document Alkatraz loading routine(s).)
(Document Bleepload.)
Line 72: Line 72:


This actually makes the Alkatraz routine closer to the original ROM code as it now uses a <code>RET</code> to exit in the "no edge found" case.
This actually makes the Alkatraz routine closer to the original ROM code as it now uses a <code>RET</code> to exit in the "no edge found" case.
=== Bleepload ===
The [http://birdsanctuary.co.uk/bleepload/ Bleepload] routine, used in lots of Firebird games, for example [https://spectrumcomputing.co.uk/index.php?cat=96&id=722 Bubble Bobble] and [https://spectrumcomputing.co.uk/index.php?cat=96&id=4867 Starglider 2].
LD-SAMPLE  INC B
            RET Z
            LD A,7F
            IN A,(FE)
            RRA
            NOP
            XOR C
            AND 20
            JR Z,LD-SAMPLE
This is just the ROM routine, but with the "space pressed" check explicitly replaced with a <code>NOP</code>.
49

edits