Can I call assembly code from B+?
BlitzPlus Forums/BlitzPlus Programming/Can I call assembly code from B+?
| ||
Is it possible? Thanks, /R |
| ||
Only externally through a userlib DLL. |
| ||
OK, I'm gunna be the annoying bugger that says 'not until BlitzMax' this time =] And even then, I wouldn't keep your hopes up. |
| ||
MasterBeaker is right... But you have the overhead of the DLL call. However, I get around this by essentially having anything I want the ASM to update/modify in a bank, passing the single bank once, and having the ASM update everything it needs to in a single function, get's around the overhead. Bug |
| ||
"However, I get around this by essentially having anything I want the ASM to update/modify in a bank, passing the single bank once, and having the ASM update everything it needs to in a single function, get's around the overhead." @Bug Face - Could you elaborate a little more on this please? Perhaps a code example. I'm using FASM to build .dll's for another project and would like to extend B+ in the same fashion. I'm just a bit fuzzy on the technique your describing. Thanks! |
| ||
And even then, I wouldn't keep your hopes up. I would! |
| ||
I would! Well then either I'm going to be very happy, or you're going to be very dissappointed ;] |