05-31-2010, 12:45 PM
Wait, wait....
Boriel - the "attradrress" function you timed there is actually the SCREEN address code I listed above, not the attribute code...
I'm actually also still hopelessly confused with the changes you made to get the values out with pop. I've stared at that stack, and I don't see how two pops gets you values 5,6 and 7,8. Surely that gets you values 1,2 and 3,4.
Guess I still haven't quite got the hang of how you stack variables. To the point where I'm writing putTile, and poking the screen address into a memory value instead of try to work out where it is. (in IX-3,4 apparently...)
Finally, how can you fastcall with multiple parameters???
Boriel - the "attradrress" function you timed there is actually the SCREEN address code I listed above, not the attribute code...
I'm actually also still hopelessly confused with the changes you made to get the values out with pop. I've stared at that stack, and I don't see how two pops gets you values 5,6 and 7,8. Surely that gets you values 1,2 and 3,4.
Guess I still haven't quite got the hang of how you stack variables. To the point where I'm writing putTile, and poking the screen address into a memory value instead of try to work out where it is. (in IX-3,4 apparently...)
Finally, how can you fastcall with multiple parameters???