03-30-2009, 01:56 PM
Thanks! Downloading it... Btw: I think, it will be possible to change SpLib (Sprite Library from <!-- m --><a class="postlink" href="http://www.geocities.com/aralbrec/">http://www.geocities.com/aralbrec/</a><!-- m -->) from Z88dk to your compiler and write a wrapper, after removing Hires and hicolor code. The only problem I ecountered, is the transfer of parameters, even without optimisations switched on, it often do not work, even not with dummy variables. Example:
I was checking how you do transfer parameters to ASM in Librarys, and you are using the stack pointer. Clever! I will try the new version out later today.
Thanks!
Code:
Sub PutGfx(x,y,adr)
dummy=adr
dummy=x
dummy=y
asm
ld hl,(_adr)
ld b,(_x)
ld c,(_y)
....
end asm
end sub
Thanks!
------------------------------------------------------------
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!