News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
avatar_Arnaud

Help needed for speed up copy sprite array to another

Started by Arnaud, 18:12, 17 August 17

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Arnaud

Here the optimized version thanks to @Docent and @demoniak.

Quote from: Xifos on 10:20, 23 August 17
I am sorry it's off topic but :
Does sdcc assembler support instructions written directly with ixl/ixh and iyl/iyh ?

I'am still using .db #0xDD or #0xFD in my code.
In cpctelera the undocumented opcode are used with macro :

;; Macro: ld__ixh_b
;;    Opcode for "LD IXH, B" instruction
;;
.macro ld__ixh_b
   .DW  #0x60DD  ;; ld ixh, b
.endm

Arnaud

Here the example project and last sources :

[attachimg=1]

Powered by SMFPacks Menu Editor Mod