Forum
Calls to system commands - 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: Calls to system commands (/showthread.php?tid=649)



Calls to system commands - Sinclair - 04-09-2015

Hi, first I want to congratulate you for this great programming language for our speccy and also for this magnificent Forum.

I have a question concerning the language that I could not find in the wiki.

-Would it is possible from the language to make calls to system commands + 3 BASIC and+3e?

Thank you.


Re: Calls to system commands - boriel - 04-16-2015

Sinclair Wrote:Hi, first I want to congratulate you for this great programming language for our speccy and also for this magnificent Forum.

I have a question concerning the language that I could not find in the wiki.

-Would it is possible from the language to make calls to system commands + 3 BASIC and+3e?

Thank you.
ZX BASIC allows inline ASM, so the best way to accomplish this is to create FUNCTIONs with ASM bodies.
Do you have the ASM ROM subroutine calls documented?


Re: Calls to system commands - Sinclair - 04-16-2015

boriel Wrote:
Sinclair Wrote:Hi, first I want to congratulate you for this great programming language for our speccy and also for this magnificent Forum.

I have a question concerning the language that I could not find in the wiki.

-Would it is possible from the language to make calls to system commands + 3 BASIC and+3e?

Thank you.
ZX BASIC allows inline ASM, so the best way to accomplish this is to create FUNCTIONs with ASM bodies.
Do you have the ASM ROM subroutine calls documented?


OK, I was prepared for it Smile

What I need is to execute some commands + 3 basic and collect their output.