Сообщение от
DenisGrachev
Хмм... Я так понимаю точно выровнять не получится, почему-то в начале прерывания всегда разное кол-во тактов. Или я не прав ???
Там биение от 1 до 3 тактов, за счет биения кстати сделан более плавный скролл в Hidden Part INSULT megademo
---------- Post added at 13:51 ---------- Previous post was at 12:44 ----------
Код:
/*
nirvana
ld sp, $5822+(ROWREPT*32)+5 ;10 reference columns 5 and 6
ld hl, 0 ;10 columns 27 and 28(*)
ld de, 0 ;10 columns 7 and 8(*)
ld bc, 0 ;10 columns 9 and 10(*)
exx ;4
ld hl, 0 ;10 columns 11 and 12(*)
ld de, 0 ;10 columns 19 and 20(*)
ld bc, 0 ;10 columns 3 and 4(*)
ld ix, 0 ;14 columns 1 and 2(*)
ld iy, 0 ;14 columns 5 and 6 (*)
ld ($5820+(ROWREPT*32)+1), ix ;20 columns 1 and 2
push iy ;15 columns 5 and 6
push bc ;11 columns 3 and 4
ld sp, $5822+(ROWREPT*32)+19 ;10 reference columns 19 and 20
ld ix, 0 ;14 columns 17 and 18(*)
push de ;11 columns 19 and 20
ld de, 0 ;10 columns 13 and 14(*)
ld bc, 0 ;10 columns 15 and 16(*)
push ix ;15 columns 17 and 18
push bc ;11 columns 15 and 16
push de ;11 columns 13 and 14
push hl ;11 columns 11 and 12
exx ;4
push bc ;11 columns 9 and 10
push de ;11 columns 7 and 8
ld sp, $5822+(ROWREPT*32)+27 ;10 reference columns 27 and 28
push hl ;11 columns 27 and 28
ld hl, 0 ;10 columns 21 and 22(*)
ld de, 0 ;10 columns 23 and 24(*)
ld bc, 0 ;10 columns 25 and 26(*)
push bc ;11 columns 25 and 26
push de ;11 columns 23 and 24
push hl ;11 columns 21 and 22
ld hl, 0 ;10 columns 29 and 30(*)
ld ($5820+(ROWREPT*32)+29), hl ;16 columns 29 and 30
sbc hl, hl ;15 extra delay
;402
;448
*/
теоретически можно попробовать адаптировать под пентагон исходник нирваны.
но я с мультиколорами как то не очень