zxbasic
zxbasic copied to clipboard
The Sinclair ZX Spectrum BASIC compiler!
Hi, Having the following code: ```basic sub PrintArray(arr() as integer) dim i as integer for i = lbound(arr, 1) to ubound(arr, 1) print i; ": "; arr(i) next i end...
Add support to retrieve the address of the data of a const string. This should work: ``` Const STRING_A String = "abcd" Print @STRING_A ``` [Freebasic At](https://www.freebasic.net/wiki/KeyPgOpAt)
### Detalles de Contacto Telegram @Sewave ### Versión del compilador v1.18.1 ### ¿Qué ha pasado? ``` CONST STRING_A AS STRING = "abcdef" DIM x AS UBYTE = 0 PRINT AT...
### Contact Details _No response_ ### Compiler version v1.17.2 ### What happened? Via https://zxbasic.readthedocs.io/en/latest/cos/ The FCOS link in "See also" points to cos/fsin which gives a 404 https://zxbasic.readthedocs.io/en/latest/cos/fsin.bas.md ### Error...
It would be nice if the zxbc script could write to STDOUT, maybe by passing some arguments to the script. I think this will extend the functionality of this script...
## What / Why Some files still contains (outdated) GPL headers. Replace them to AGPL. The folder/libs have a different license (MIT, BSD, etc.) that allows closed source programs to...
### Contact Details _No response_ ### Compiler version v1.17.2 ### What happened? Via https://zxbasic.readthedocs.io/en/latest/identifier/ https://zxbasic.readthedocs.io/en/latest/identifier/stdcall.md is broken ### Error and Warning messages _No response_ ### Code of Conduct - [X]...
### Contact Details _No response_ ### Compiler version v1.17.2 ### What happened? Via https://zxbasic.readthedocs.io/en/latest/identifier/#reserved-identifiers https://zxbasic.readthedocs.io/en/latest/identifier/sgn.md is broken ### Error and Warning messages _No response_ ### Code of Conduct - [X]...
## What / Why Currently the runtime library lives at `/lib/arch//runtime` with most *.asm files living at the same level. This can be a bit caotic, so let's group some...