Loading routine "cores": Difference between revisions

Jump to navigation Jump to search
no edit summary
(Document the Search Loader(s?).)
No edit summary
(3 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 ===


Used by Digital Integration in some of their games, for example [https://spectrumcomputing.co.uk/index.php?cat=96&id=305 ATF] and [https://spectrumcomputing.co.uk/index.php?cat=96&id=5317 Tomahawk].
Used in [https://spectrumcomputing.co.uk/index.php?cat=96&id=584 Blood Brothers] and [https://spectrumcomputing.co.uk/index.php?cat=96&id=978 City Slicker].


  LD-SAMPLE  INC B
  LD-SAMPLE  INC B
Line 156: Line 172:


While this maintains the distinctive <code>AND 40</code> of the Search Loader, I suspect it's actually an independent derivation.
While this maintains the distinctive <code>AND 40</code> of the Search Loader, I suspect it's actually an independent derivation.
=== Digital Integration ===
Unsurprisingly enough, used by Digital Integration in some of their games, for example [https://spectrumcomputing.co.uk/index.php?cat=96&id=305 ATF] and [https://spectrumcomputing.co.uk/index.php?cat=96&id=5317 Tomahawk].
LD-SAMPLE  DEC B
            RET Z
            IN A,(FE)
            XOR C
            AND 40
            JP Z,LD-SAMPLE
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