![]() |
--asm and --tap together - 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: Wishlist (https://www.boriel.com/forum/forumdisplay.php?fid=14) +---- Thread: --asm and --tap together (/showthread.php?tid=210) |
--asm and --tap together - programandala.net - 04-20-2010 Some times I need to check the assembler, and I have to compile the sources twice in order to get also the .TAP file, because anyway I need to execute the program too. Maybe in the future both the assembler file and the object file could be created with one single command? Re: --asm and --tap together - LCD - 04-20-2010 This can be easy done, I think. But it is also a planed feature for my Editor which I'm working on. It is called "BorIDE". It will share the same codebase as Retro-X EXIDE, but designed only for Boriels ZX BASIC Compiler, and not multible colpiler targets: ZXBC, z88dk, and so on. Re: --asm and --tap together - boriel - 04-20-2010 I agree with LCD. In fact, you can create a simple script to do that: compile.bat (in WIN32): Code: @echo off compile.sh (In Mac OSX / Linux): Code: #!/bin/bash Re: --asm and --tap together - programandala.net - 04-20-2010 boriel Wrote:I agree with LCD. In fact, you can create a simple script to do that: Of course! But I'd rather compile just once because the program is quite long. I think LCD meant it's easy to do by the compiler, not by me. Anyway I suppose the whole assembler is created in any case, and then passed to the Z80 compiler. Is it right? That's why I was suggesting the ZX Basic compiler to keep it anyway. But maybe my assumption is wrong. Re: --asm and --tap together - boriel - 04-21-2010 programandala.net Wrote:That's right. You can assemble zxb generated asm code with the same options you pass to zxb. So the script would beboriel Wrote:I agree with LCD. In fact, you can create a simple script to do that:Of course! But I'd rather compile just once because the program is quite long. I think LCD meant it's easy to do by the compiler, not by me. Anyway I suppose the whole assembler is created in any case, and then passed to the Z80 compiler. Is it right? That's why I was suggesting the ZX Basic compiler to keep it anyway. But maybe my assumption is wrong. Code: zxb -A source.bas |