artrag

Results 21 comments of artrag

> Yes. The `SCROLL_MASK` define control the use of sprites mask to hide tiles appearance on horizontal scrolling (MSX2 only). > > In the sample program (32x20 tiles), scrolling take...

Midi to mml http://www.netmftoolbox.com/tools/midi_to_mml.php

Adding MPY16 support seems almost trivial, as it could be included in the current macro MULT reg, tmp, const

Have a look here https://atariage.com/forums/topic/298518-extending-the-cp1600-instruction-set/?tab=comments#comment-4558500 I've used this template to include ATAN2() in Galaxian

yes, I get this for frame/16 ; call TCOPY($3000 + (12+(FRAME/16 and 3))*32) LD HL,(frame) LD DE,16 CALL _div16 LD A,L AND 3 LD L,A LD H,0 LD DE,12 ADD...

In attach the complete ASM file where the basic code is in the comments [output.asm.txt](https://github.com/user-attachments/files/17367478/output.asm.txt)

A better conversion would have been ; call TCOPY($3000 + (12+(FRAME/16 and 3))*32) LD HL,(frame) ADD HL,HL ADD HL,HL ADD HL,HL ADD HL,HL LD A,H AND 3 LD L,A LD...

An even better conversion, using the fact that the result of the division is AND 3, could have been: ; call TCOPY($3000 + (12+(FRAME/16 and 3))*32) LD A,(frame) RRCA RRCA...

The current version yimmi8.bin doesn't test for ram mode in bank4, and in this, it differs by the real scc+ But Yamanooto has been fixed adding the test on ram...

I have signaled Miguel Fides this issue so he can give his view