Loading routine "cores": Difference between revisions

Jump to navigation Jump to search
no edit summary
(Add Digital Integration loader and fix examples of Search Loader.)
No edit summary
(2 intermediate revisions by the same user not shown)
Line 120: Line 120:


Again just a one-byte change from the ROM loader, replacing the <code>RET NC</code> with Alkatraz's <code>RET Z</code>.
Again just a one-byte change from the ROM loader, replacing the <code>RET NC</code> with Alkatraz's <code>RET Z</code>.
=== Dinaload ===
Used by Dinamic, for example in [https://spectrumcomputing.co.uk/index.php?cat=96&id=295 Astro Marine Corps] and [https://spectrumcomputing.co.uk/index.php?cat=96&id=1863 Freddy Hardest en Manhattan Sur].
LD-SAMPLE  INC B
            RET Z
            LD A,FF
            IN A,(FE)
            RRA
            RET NC
            XOR C
            AND 20
            JR Z,LD-SAMPLE
Yet another one-byte change from the ROM loader, this time ensuring that no keyboard half-rows are read, meaning the <code>RET NC</code> will never trigger.


=== Search Loader ===
=== Search Loader ===
Line 168: Line 184:
             JP Z,LD-SAMPLE
             JP Z,LD-SAMPLE


This loader has two points of note: it inverts the counter, and it's probably the minimal loop which is possible while still being anything even vaguely similar to the ROM loader.
This loader has two points of note: it inverts the counter (which just requires the flip of a condition outside this loop when working out whether it's a long or short pulse), and it's probably the minimal loop which is possible while still being anything even vaguely similar to the ROM loader.
 
== Emulation ==
 
[http://fuse-emulator.sourceforge.net/ Fuse] pattern matches for the above cores to implement its "accelerate loaders" feature.
49

edits

Navigation menu