Un huevo de cambios

This commit is contained in:
antoniovillena 2016-07-10 01:54:11 +02:00
parent 5ef262b131
commit d4ccffcb4c
4 changed files with 7796 additions and 16 deletions

File diff suppressed because it is too large Load Diff

View File

@ -139,3 +139,62 @@ binf jr z, binf ; return with time-out.
bin2 jr nz, bin2 bin2 jr nz, bin2
ld bc, zxuno_port + $100 ld bc, zxuno_port + $100
ret ; return ret ; return
block $0100 - $
include scroll/define.asm
ld sp, 0
ld de, $5ee2+filesize-1
ld hl, fin-1
; -----------------------------------------------------------------------------
; ZX7 Backwards by Einar Saukas, Antonio Villena
; Parameters:
; HL: source address (compressed data)
; DE: destination address (decompressing)
; -----------------------------------------------------------------------------
dzx7b ld bc, $8000
ld a, b
copyby inc c
ldd
mainlo add a, a
call z, getbit
jr nc, copyby
push de
ld d, c
defb $30
lenval add a, a
call z, getbit
rl c
rl b
add a, a
call z, getbit
jr nc, lenval
inc c
jr z, exitdz
ld e, (hl)
dec hl
sll e
jr nc, offend
ld d, $10
nexbit add a, a
call z, getbit
rl d
jr nc, nexbit
inc d
srl d
offend rr e
ex (sp), hl
ex de, hl
adc hl, de
lddr
exitdz pop hl
jr nc, mainlo
jp $7be4
getbit ld a, (hl)
dec hl
adc a, a
ret
incbin scroll/scroll.bin.zx7b
fin ;block $4000 - $

View File

@ -412,6 +412,8 @@ tstart5 sub $80
jr z, start7 jr z, start7
cp $0c cp $0c
start7 jp z, blst start7 jp z, blst
cp $3a
jp z, alto easter
cp $17 cp $17
jr nz, tstart5 jr nz, tstart5
ELSE ELSE
@ -3528,6 +3530,13 @@ saveme wreg master_conf, 1
wreg master_conf, 0 wreg master_conf, 0
ret ret
easter di
ld a, (scnbak)
and %00111111
call setvid
wreg master_conf, 1
jp $0100
readna ld de, bnames readna ld de, bnames
ld hl, $0071 ld hl, $0071
ld a, 1 ld a, 1

View File

@ -1,14 +1,16 @@
output scroll.bin output scroll.bin
org $5ee2 org $5ee2
string include string.asm string include string.asm
display $
music ld (vari+2), ix music ld (vari+2), ix
incbin music.bin incbin music.bin
fuente incbin fuente6x8.bin fuente incbin fuente6x8.bin
display $ start ld hl, $c000
start ld hl, fuente ld de, $c001
ld bc, $017f
ld (hl), l
ldir
ld hl, fuente
ld b, 3 ld b, 3
ld de, $c180
ldir ldir
ld hl, fondo ld hl, fondo
ld b, $40 ; filtro RCS inverso ld b, $40 ; filtro RCS inverso