Re: QL / PASCAL
Posted: Sat Nov 21, 2020 10:18 pm
Yes, actually, there was a piece of uncommitted code, which made vlink default for the Sinclair QL. This was in my working copy, but somehow I missed to commit it, which explains my confusion, because it indeed worked for me... Sorry. See here. So if you update the source and rebuild, you'll no longer need -XV when building for the QL.
Anyway, the build will generate a few files. Say, for example if you build hello.pas, these files will be generated:
* hello - the BASIC loader. The source which generates it is in compiler/systems/t_sinclairql.pas
* hello.bin - the actual "final" binary
* hello.bin.hdr - the linker "header" info, which will contain a list of generated sections (only one in this case) it's start address and length (including the omitted bss section)
* hello.bin.main - the code + data section of the binary
* hello.bin.main.relmain - the relocation table
Anyway, the build will generate a few files. Say, for example if you build hello.pas, these files will be generated:
* hello - the BASIC loader. The source which generates it is in compiler/systems/t_sinclairql.pas
* hello.bin - the actual "final" binary
* hello.bin.hdr - the linker "header" info, which will contain a list of generated sections (only one in this case) it's start address and length (including the omitted bss section)
* hello.bin.main - the code + data section of the binary
* hello.bin.main.relmain - the relocation table