![]() |
Where does Boriel assemble to? - Printable Version +- Forum (https://www.boriel.com/forum) +-- Forum: Compilers and Computer Languages (https://www.boriel.com/forum/forumdisplay.php?fid=12) +--- Forum: ZX Basic Compiler (https://www.boriel.com/forum/forumdisplay.php?fid=11) +---- Forum: Help & Support (https://www.boriel.com/forum/forumdisplay.php?fid=16) +---- Thread: Where does Boriel assemble to? (/showthread.php?tid=812) |
Where does Boriel assemble to? - ivanb303 - 07-17-2017 So this is like an etch-o-sketch but It doesn't like the screen grabbing part. This all works fine in Sinclair BASIC. I'm guessing the picture data collides with Boriel's compiled code. I'm also guessing that Boriel decides where to inline ASM sections. Can you explicitly tell Boriel where to assemble to ? Code: #include <fastPlot.bas> What i found strange also was that sometimes it seems to work fine, and sometimes it doesn't. Pressing f button does the frame grab but FUSE freezes, the border goes blue and you might get garbled stuff at bottom of screen. Re: Where does Boriel assemble to? - boriel - 07-18-2017 Some observations:
Any other questions just tell me (I will try your code when I have some spare time). Re: Where does Boriel assemble to? - ivanb303 - 07-18-2017 Hi I removed the RET statements that seems to do the trick. Thank you ![]() Re: Where does Boriel assemble to? - boriel - 07-18-2017 you're welcome. :roll: if your function / subs are entirely in ASM (as in the previous example), you can use FASTCALL for better performance. E.g. SUB FASTCAL xxx( ) .... |