Author Topic: Spanish style loader  (Read 1140 times)

0 Members and 1 Guest are viewing this topic.

Offline arnoldemu

  • Supporter
  • 6128 Plus
  • *
  • Posts: 5.336
  • Country: gb
    • Unofficial Amstrad WWW Resource
  • Liked: 2275
  • Likes Given: 3478
Spanish style loader
« on: 15:15, 09 October 10 »
So you want to have a tape loader which has multi-coloured bars in the border like those Spanish ones?

This loader is based on the topo-soft loader, but I have fixed the bugs in it and made it much more stable and reliable.
You can press ESC to quit during loading too.
If you want you can change which ink represents the border colours, at this time it is fixed to the border.

IX = load to address
DE = length
A = sync byte value (normally &ff, and especially if using current version of 2cdt)

http://www.cpctech.org.uk/source/topoload.asm

This is used in Blue Angel 69 cassette version and loads at standard Spectrum ROM timings.
You can use 2cdt to generate blocks suitable for this to load.

NOTE: Interrupts must be disabled, it also messes with the alternative register set. So if you want to use it with the firmware you'll need to preserve the alternative registers before and after loading.

My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

Offline fano

  • Supporter
  • 6128 Plus
  • *
  • Posts: 835
  • Country: fr
  • Easter Egg Programmer
    • Easter Egg
  • Liked: 278
  • Likes Given: 614
Re: Spanish style loader
« Reply #1 on: 17:11, 09 October 10 »
Thanks a lot , that will be usefull  ;D
"NOP" is the perfect program : short , fast and (known) bug free

Follow Easter Egg products on Facebook !

Offline Axelay

  • 6128 Plus
  • ******
  • Posts: 585
  • Country: au
  • Liked: 383
  • Likes Given: 87
Re: Spanish style loader
« Reply #2 on: 05:50, 10 October 10 »
Thanks for this, I'll have to have a play with this soon!  :)