- Is it possible to create programs that manages more than 64KBytes of data with MSX linking for MSX-DOS?
- If the answer is yes, is it possible for cartridges (ROM format)?
- Is it possible to create programs with more than 64KBytes of code?
- If the answer is yes, how?
I'm trying to compile an MSX-DOS program allocating __far pointers, but I have got error and warning messages.
Code: Select all
sccz80:"main.c" L:111 Warning:Implicit definition of function 'malloc_far' it will return an int. Prototype it explicitly if this is not what you want. [-Wimplicit-function-definition]
sccz80:"main.c" L:116 Warning:Implicit definition of function 'free_far' it will return an int. Prototype it explicitly if this is not what you want. [-Wimplicit-function-definition]
Error at file 'main.c' line 767: symbol '_malloc_far' not defined
Error at file 'main.c' line 821: symbol 'lp_plong' not defined
Error at file 'main.c' line 831: symbol '_free_far' not defined
Errors in source file D:\Documentos\blueMSXv282full\Tools\z88dk\lib\config\..\..\\lib\target\msx\classic\msx_crt0.asm:
Error at file 'main.c' line 767: symbol '_malloc_far' not defined
^ ---- (null)Error at file 'main.c' line 821: symbol 'lp_plong' not defined
^ ---- (null)Error at file 'main.c' line 831: symbol '_free_far' not defined
^ ---- (null)
Code: Select all
zcc +msx -c transform.c
zcc +msx -lm -o prueba.com -subtype=msxdos transform.o main.c
Code: Select all
zcc +msx -DAMALLOC -c transform.c
zcc +msx -DAMALLOC -lm -o prueba.com -subtype=msxdos transform.o main.c
Code: Select all
zcc +msx -DFARDATA -c transform.c
zcc +msx -DFARDATA -lm -o prueba.com -subtype=msxdos transform.o main.c
Code: Select all
Error at file 'main.c' line 767: symbol 'malloc_far' not defined
Error at file 'main.c' line 820: symbol 'lp_plong' not defined
Error at file 'main.c' line 830: symbol 'free_far' not defined
Errors in source file D:\Documentos\blueMSXv282full\Tools\z88dk\lib\config\..\..\\lib\target\msx\classic\msx_crt0.asm:
Error at file 'main.c' line 767: symbol 'malloc_far' not defined
^ ---- (null)Error at file 'main.c' line 820: symbol 'lp_plong' not defined
^ ---- (null)Error at file 'main.c' line 830: symbol 'free_far' not defined
^ ---- (null)
Which one?
Thanks in advance.