06-04-2013, 12:39 PM
thanks, but when testing
i got from terminal:
(btw, sorry about the offtopic... :S )
Code:
sub cpymempaged(src as Uinteger,des as Uinteger,length as Uinteger,bank as ubyte):
asm
ld a,(ix+11)
ld bc,32765
out (c),a
ld hl,(ix+5)
ld de,(ix+7)
ld bc,(ix+9)
ldir
ld a,(23388)
ld bc,32765
out (c),a
end asm
end sub
sub cpymem(src as Uinteger,des as Uinteger,length as Uinteger):
asm
ld d,(ix+7)
ld e,(ix+6)
ld h,(ix+5)
ld l,(ix+4)
ld b,(ix+9)
ld c,(ix+8)
ldir
end asm
end sub
cls
cpymem(17000,12000,400)
pause 0
i got from terminal:
Code:
memcopytest.bas:5: Error: Syntax error. Unexpected token 'IX' [IX]
(btw, sorry about the offtopic... :S )