View Single Post
Old 06 June 2017, 13:55   #42
phx
Natteravn
 
phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,500
Quote:
Originally Posted by BSzili View Post
Have you considered adding small stubs that take care of the stack/register parameters
Most C compilers support passing arguments in registers and you certainly would like to avoid the overhead passing them over the stack.

Quote:
and get the VBR and the chipset address?
I'm sure you can manage that with a small Supervisor() call and/or a assembler inline function.

BTW, this player is not OS-friendly, but for games which take over the whole system.

Quote:
Originally Posted by daxb View Post
What does your Player do with samples of size >64kb and <=128kb when used in a protracker module?
Didn't try, but I'm quite sure that it would play them. The sample lengths are already stored as words in the MOD header, which is passed unchanged to the hardware.
phx is offline  
 
Page generated in 0.04601 seconds with 11 queries