Hello,
I have a small problem with the use of the VLINK. I hope someone can help me:
In the VIC-20 program source code, I am using the
*=<expression> to define the base address for the code section (starts at $1001) and the character section (starts at $1C00):
Code:
*=$1001
; Code and data
...
*=$1C00
; Character RAM
...
When I am using VASM (oldstyle syntax module) to create a binary from assembler source code it all works fine and it produces the .prg file with:
- Two bytes header
- Followed by code section with the machine code and data
- Followed by the area filled with zeros
- Starting with the position $C02 (because of the 2 bytes header) in the file are appended custom characters.
However, when I use VASM to create the object file followed by calling the VLINK linker to create a binary the
*=1$C00 is ignored and the character section starts immediately after the code section without the area filled with zeros, so the app does not work properly…
Please see attached image:
Code:
Broken external image link
https://gcdn.pbrd.co/images/rMtBoCi129Vg.png?o=1
Many thanks for your help
STeN