Forum
bug on --org command line argv, missing hex address support - 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: Bug Reports (https://www.boriel.com/forum/forumdisplay.php?fid=15)
+---- Thread: bug on --org command line argv, missing hex address support (/showthread.php?tid=853)



bug on --org command line argv, missing hex address support - nitrofurano - 09-29-2018

Since always i used hex values on --org command line argument (zxb.py), it always worked until few months ago - like:
zxb.py code.bas --org=0xC000

Now, since it stopped working, i had to fix all the code i had to something like:
zxb.py code.bas --org=$((0xC000))
(i only tested it on Ubuntu GNU/Linux - i have no idea how fine it works on other operating systems and distributions)

i have no idea what caused that... perhaps some code cleanup on ZX-Basic Compiler? or something else?


Re: bug on --org command line argv, missing hex address supp - boriel - 10-01-2018

Theoretically, this has never been supported. I'll add it anyway.


Re: bug on --org command line argv, missing hex address supp - boriel - 11-15-2018

Okay, it's been added to version 1.8.9 (not yet released). In the mean time, you can download a preview from here:
<!-- m --><a class="postlink" href="http://boriel.com/files/zxb/zxbasic-zxbasic-1.8.9-beta4-win32.zip">http://boriel.com/files/zxb/zxbasic-zxb ... -win32.zip</a><!-- m -->
<!-- m --><a class="postlink" href="http://boriel.com/files/zxb/zxbasic-zxbasic-1.8.9-beta4.tar.gz">http://boriel.com/files/zxb/zxbasic-zxb ... ta4.tar.gz</a><!-- m -->
<!-- m --><a class="postlink" href="http://boriel.com/files/zxb/zxbasic-zxbasic-1.8.9-beta4.zip">http://boriel.com/files/zxb/zxbasic-zxb ... -beta4.zip</a><!-- m -->