Empezando con z88dk
- Mode 2
- I am The Forum
- Mensajes: 2072
- Registrado: Lun 10 Oct , 2005 8:01 pm
- Ubicación: Sevilla, años 80.
- Contactar:
Re: Empezando con z88dk
Gracias, es que le veía poca lógica con esos tiles desperdigados sin sentido.
BUSCO: VideoPac+, Jaguar Saturn, Micromanía 1, Amstrad Semanal, MicroHobby, juegos especialmente CPC y Vectrex, Aquarius, Sam Copé, 520 ST, manual +3, manual CPC664.
- LexSparrow
- Master of The Forum
- Mensajes: 1009
- Registrado: Dom 18 Dic , 2005 3:17 am
- Contactar:
- jrodriguezv
- Forero habitual
- Mensajes: 157
- Registrado: Dom 06 May , 2012 1:55 pm
Re: Empezando con z88dk
Muy buenas!!
Otro que empieza con la programación con el z88dk.
Me he instalado el compilador en mi Linux y me he bajado la libreria cpcrslib. He empezado por lo "facil", que es compilar los ejemplos que vienen con la cpcrslib. He podido compilar el primer ejemplo y segundo sin problemas, pero no soy capaz de compilar mas, tengo errores de este tipo:
¿Cual puede ser el problema?
Gracias!!
Otro que empieza con la programación con el z88dk.
Me he instalado el compilador en mi Linux y me he bajado la libreria cpcrslib. He empezado por lo "facil", que es compilar los ejemplos que vienen con la cpcrslib. He podido compilar el primer ejemplo y segundo sin problemas, pero no soy capaz de compilar mas, tengo errores de este tipo:
Código: Seleccionar todo
Error: File '/usr/share/z88dk/lib/clibs/cpcrslib.lib', Module 'CPC_SHOWTILEMAP', Symbol not defined
Gracias!!
Re: Empezando con z88dk
TIene pinta de que has pillado alguna librería que no corresponde a los ejemplos. Hay dos versiones, una con scroll y otra sin el. Prueba a bajarte las dos y cambiar el *.lib y el .h de cada una de ellas.
Si no das con ello lo miro a la noche y te cuento.
Si no das con ello lo miro a la noche y te cuento.
Salu2,
Arta
Arta
- jrodriguezv
- Forero habitual
- Mensajes: 157
- Registrado: Dom 06 May , 2012 1:55 pm
Re: Empezando con z88dk
Gracias por tu respuesta Arta.
Lo que comentas ya lo había probado. Me he bajado ambas librerías, la de scroll y la de sin scroll. Los ejemplos son los que venian en el rar de la libería.
Lo que comentas ya lo había probado. Me he bajado ambas librerías, la de scroll y la de sin scroll. Los ejemplos son los que venian en el rar de la libería.
Re: Empezando con z88dk
Vale, lo voy a mirar... al final ayer me lié y no pude. No se si hoy podrá ser pero si no, seguro que el finde tienes respuesta
¿No te compila ningún otro ejemplo más a partir de ese? ¿Usas el make.bat para compilarlo?
¿No te compila ningún otro ejemplo más a partir de ese? ¿Usas el make.bat para compilarlo?
Salu2,
Arta
Arta
Re: Empezando con z88dk
He podido probarlo con lo que hay en:
http://cpcrslib.googlecode.com/files/cpcrslib111510.rar
Con lo de ese archivo compila sin problemas. ¿Puedes probar a ver? Yo lo hago en Windows pero no creo que en Linux tuviera que ir diferente.
http://cpcrslib.googlecode.com/files/cpcrslib111510.rar
Con lo de ese archivo compila sin problemas. ¿Puedes probar a ver? Yo lo hago en Windows pero no creo que en Linux tuviera que ir diferente.
Salu2,
Arta
Arta
- jrodriguezv
- Forero habitual
- Mensajes: 157
- Registrado: Dom 06 May , 2012 1:55 pm
Re: Empezando con z88dk
Nada, yo no soy capaz. Me falla compilando el ejemplo 10.
He bajado nuevamente la librería que me has indicado y tengo este resultado. Es un poco largo, pero prefiero ponerlo todo:
Muchas gracias por tu ayuda Arta, pero creo que estoy haciendo algo mal
He bajado nuevamente la librería que me has indicado y tengo este resultado. Es un poco largo, pero prefiero ponerlo todo:
Código: Seleccionar todo
[jose@trapallan 010 - Sprites]$ zcc +cpc -create-app -make-app -O3 -unsigned -o uno.bin code.c -lcpcrslib -lndos -zorg=16384
cp /usr/share/z88dk/lib/cpc_crt0.opt /tmp/tmpXXvv1cl0.opt
cp /tmp/tmpXXvv1cl0.opt /tmp/tmpXXvv1cl0.asm
zcpp -I. -DZ80 -DSMALL_C -DCPC -D__CPC__ -DSCCZ80 -I/usr/share/z88dk/include code.c /tmp/tmpXXVOvZUs.i
cpp: line 21, Warning: Illegal digit in octal number
defb $05,$09,$0A
sccz80 -make-app -unsigned -zorg=16384 /tmp/tmpXXVOvZUs.i
sccz80:"code.c" L:29 Warning:#36:In function: main() line 3
sccz80:"code.c" L:29 Warning:#13:Pointer/pointer type mismatch
sccz80:"code.c" L:29 Warning:#34:Func expects: unsigned int *
sccz80:"code.c" L:29 Warning:#35:Func gets: signed char *
sccz80:"code.c" L:29 Warning:#36:In function: main() line 3
sccz80:"code.c" L:29 Warning:#13:Pointer/pointer type mismatch
sccz80:"code.c" L:29 Warning:#34:Func expects: unsigned char *
sccz80:"code.c" L:29 Warning:#35:Func gets: unsigned int
sccz80:"code.c" L:29 Warning:#36:In function: main() line 3
sccz80:"code.c" L:29 Warning:#13:Pointer/pointer type mismatch
sccz80:"code.c" L:29 Warning:#34:Func expects: unsigned char *
sccz80:"code.c" L:29 Warning:#35:Func gets: unsigned int
sccz80:"code.c" L:30 Warning:#36:In function: main() line 4
sccz80:"code.c" L:30 Warning:#13:Pointer/pointer type mismatch
sccz80:"code.c" L:30 Warning:#34:Func expects: unsigned int *
sccz80:"code.c" L:30 Warning:#35:Func gets: signed char *
sccz80:"code.c" L:30 Warning:#36:In function: main() line 4
sccz80:"code.c" L:30 Warning:#13:Pointer/pointer type mismatch
sccz80:"code.c" L:30 Warning:#34:Func expects: unsigned char *
sccz80:"code.c" L:30 Warning:#35:Func gets: unsigned int
sccz80:"code.c" L:30 Warning:#36:In function: main() line 4
sccz80:"code.c" L:30 Warning:#13:Pointer/pointer type mismatch
sccz80:"code.c" L:30 Warning:#34:Func expects: unsigned char *
sccz80:"code.c" L:30 Warning:#35:Func gets: unsigned int
sccz80:"code.c" L:32 Warning:#36:In function: main() line 6
sccz80:"code.c" L:32 Warning:#13:Pointer/pointer type mismatch
sccz80:"code.c" L:32 Warning:#34:Func expects: unsigned int *
sccz80:"code.c" L:32 Warning:#35:Func gets: unsigned char *
sccz80:"code.c" L:32 Warning:#36:In function: main() line 6
sccz80:"code.c" L:32 Warning:#13:Pointer/pointer type mismatch
sccz80:"code.c" L:32 Warning:#34:Func expects: unsigned char *
sccz80:"code.c" L:32 Warning:#35:Func gets: unsigned int
sccz80:"code.c" L:32 Warning:#36:In function: main() line 6
sccz80:"code.c" L:32 Warning:#13:Pointer/pointer type mismatch
sccz80:"code.c" L:32 Warning:#34:Func expects: unsigned char *
sccz80:"code.c" L:32 Warning:#35:Func gets: unsigned int
sccz80:"code.c" L:32 Warning:#8:Converting integer to pointer without cast
sccz80:"code.c" L:34 Warning:#36:In function: main() line 8
sccz80:"code.c" L:34 Warning:#13:Pointer/pointer type mismatch
sccz80:"code.c" L:34 Warning:#34:Func expects: unsigned int *
sccz80:"code.c" L:34 Warning:#35:Func gets: signed char *
sccz80:"code.c" L:34 Warning:#36:In function: main() line 8
sccz80:"code.c" L:34 Warning:#13:Pointer/pointer type mismatch
sccz80:"code.c" L:34 Warning:#34:Func expects: unsigned char *
sccz80:"code.c" L:34 Warning:#35:Func gets: unsigned int
sccz80:"code.c" L:34 Warning:#36:In function: main() line 8
sccz80:"code.c" L:34 Warning:#13:Pointer/pointer type mismatch
sccz80:"code.c" L:34 Warning:#34:Func expects: unsigned char *
sccz80:"code.c" L:34 Warning:#35:Func gets: unsigned int
sccz80:"code.c" L:35 Warning:#36:In function: main() line 9
sccz80:"code.c" L:35 Warning:#13:Pointer/pointer type mismatch
sccz80:"code.c" L:35 Warning:#34:Func expects: unsigned int *
sccz80:"code.c" L:35 Warning:#35:Func gets: signed char *
sccz80:"code.c" L:35 Warning:#36:In function: main() line 9
sccz80:"code.c" L:35 Warning:#13:Pointer/pointer type mismatch
sccz80:"code.c" L:35 Warning:#34:Func expects: unsigned char *
sccz80:"code.c" L:35 Warning:#35:Func gets: unsigned int
sccz80:"code.c" L:35 Warning:#36:In function: main() line 9
sccz80:"code.c" L:35 Warning:#13:Pointer/pointer type mismatch
sccz80:"code.c" L:35 Warning:#34:Func expects: unsigned char *
sccz80:"code.c" L:35 Warning:#35:Func gets: unsigned int
sccz80:"code.c" L:37 Warning:#36:In function: main() line 11
sccz80:"code.c" L:37 Warning:#13:Pointer/pointer type mismatch
sccz80:"code.c" L:37 Warning:#34:Func expects: unsigned int *
sccz80:"code.c" L:37 Warning:#35:Func gets: unsigned char *
sccz80:"code.c" L:37 Warning:#36:In function: main() line 11
sccz80:"code.c" L:37 Warning:#13:Pointer/pointer type mismatch
sccz80:"code.c" L:37 Warning:#34:Func expects: unsigned char *
sccz80:"code.c" L:37 Warning:#35:Func gets: unsigned int
sccz80:"code.c" L:37 Warning:#36:In function: main() line 11
sccz80:"code.c" L:37 Warning:#13:Pointer/pointer type mismatch
sccz80:"code.c" L:37 Warning:#34:Func expects: unsigned char *
sccz80:"code.c" L:37 Warning:#35:Func gets: unsigned int
sccz80:"code.c" L:37 Warning:#8:Converting integer to pointer without cast
sccz80:"code.c" L:38 Warning:#36:In function: main() line 12
sccz80:"code.c" L:38 Warning:#13:Pointer/pointer type mismatch
sccz80:"code.c" L:38 Warning:#34:Func expects: unsigned int *
sccz80:"code.c" L:38 Warning:#35:Func gets: signed char *
sccz80:"code.c" L:38 Warning:#36:In function: main() line 12
sccz80:"code.c" L:38 Warning:#13:Pointer/pointer type mismatch
sccz80:"code.c" L:38 Warning:#34:Func expects: unsigned char *
sccz80:"code.c" L:38 Warning:#35:Func gets: unsigned int
sccz80:"code.c" L:38 Warning:#36:In function: main() line 12
sccz80:"code.c" L:38 Warning:#13:Pointer/pointer type mismatch
sccz80:"code.c" L:38 Warning:#34:Func expects: unsigned char *
sccz80:"code.c" L:38 Warning:#35:Func gets: unsigned int
sccz80:"code.c" L:39 Warning:#36:In function: main() line 13
sccz80:"code.c" L:39 Warning:#13:Pointer/pointer type mismatch
sccz80:"code.c" L:39 Warning:#34:Func expects: unsigned int *
sccz80:"code.c" L:39 Warning:#35:Func gets: signed char *
sccz80:"code.c" L:39 Warning:#36:In function: main() line 13
sccz80:"code.c" L:39 Warning:#13:Pointer/pointer type mismatch
sccz80:"code.c" L:39 Warning:#34:Func expects: unsigned char *
sccz80:"code.c" L:39 Warning:#35:Func gets: unsigned int
sccz80:"code.c" L:39 Warning:#36:In function: main() line 13
sccz80:"code.c" L:39 Warning:#13:Pointer/pointer type mismatch
sccz80:"code.c" L:39 Warning:#34:Func expects: unsigned char *
sccz80:"code.c" L:39 Warning:#35:Func gets: unsigned int
sccz80:"code.c" L:42 Warning:#36:In function: main() line 16
sccz80:"code.c" L:42 Warning:#13:Pointer/pointer type mismatch
sccz80:"code.c" L:42 Warning:#34:Func expects: unsigned int *
sccz80:"code.c" L:42 Warning:#35:Func gets: unsigned char *
sccz80:"code.c" L:42 Warning:#36:In function: main() line 16
sccz80:"code.c" L:42 Warning:#13:Pointer/pointer type mismatch
sccz80:"code.c" L:42 Warning:#34:Func expects: unsigned char *
sccz80:"code.c" L:42 Warning:#35:Func gets: unsigned int
sccz80:"code.c" L:42 Warning:#36:In function: main() line 16
sccz80:"code.c" L:42 Warning:#13:Pointer/pointer type mismatch
sccz80:"code.c" L:42 Warning:#34:Func expects: unsigned char *
sccz80:"code.c" L:42 Warning:#35:Func gets: unsigned int
sccz80:"code.c" L:42 Warning:#8:Converting integer to pointer without cast
sccz80:"code.c" L:44 Warning:#36:In function: main() line 18
sccz80:"code.c" L:44 Warning:#13:Pointer/pointer type mismatch
sccz80:"code.c" L:44 Warning:#34:Func expects: unsigned int *
sccz80:"code.c" L:44 Warning:#35:Func gets: signed char *
sccz80:"code.c" L:44 Warning:#36:In function: main() line 18
sccz80:"code.c" L:44 Warning:#13:Pointer/pointer type mismatch
sccz80:"code.c" L:44 Warning:#34:Func expects: unsigned char *
sccz80:"code.c" L:44 Warning:#35:Func gets: unsigned int
sccz80:"code.c" L:44 Warning:#36:In function: main() line 18
sccz80:"code.c" L:44 Warning:#13:Pointer/pointer type mismatch
sccz80:"code.c" L:44 Warning:#34:Func expects: unsigned char *
sccz80:"code.c" L:44 Warning:#35:Func gets: unsigned int
sccz80:"code.c" L:45 Warning:#36:In function: main() line 19
sccz80:"code.c" L:45 Warning:#13:Pointer/pointer type mismatch
sccz80:"code.c" L:45 Warning:#34:Func expects: unsigned int *
sccz80:"code.c" L:45 Warning:#35:Func gets: signed char *
sccz80:"code.c" L:45 Warning:#36:In function: main() line 19
sccz80:"code.c" L:45 Warning:#13:Pointer/pointer type mismatch
sccz80:"code.c" L:45 Warning:#34:Func expects: unsigned char *
sccz80:"code.c" L:45 Warning:#35:Func gets: unsigned int
sccz80:"code.c" L:45 Warning:#36:In function: main() line 19
sccz80:"code.c" L:45 Warning:#13:Pointer/pointer type mismatch
sccz80:"code.c" L:45 Warning:#34:Func expects: unsigned char *
sccz80:"code.c" L:45 Warning:#35:Func gets: unsigned int
sccz80:"code.c" L:47 Warning:#36:In function: main() line 21
sccz80:"code.c" L:47 Warning:#13:Pointer/pointer type mismatch
sccz80:"code.c" L:47 Warning:#34:Func expects: unsigned int *
sccz80:"code.c" L:47 Warning:#35:Func gets: unsigned char *
sccz80:"code.c" L:47 Warning:#36:In function: main() line 21
sccz80:"code.c" L:47 Warning:#13:Pointer/pointer type mismatch
sccz80:"code.c" L:47 Warning:#34:Func expects: unsigned char *
sccz80:"code.c" L:47 Warning:#35:Func gets: unsigned int
sccz80:"code.c" L:47 Warning:#36:In function: main() line 21
sccz80:"code.c" L:47 Warning:#13:Pointer/pointer type mismatch
sccz80:"code.c" L:47 Warning:#34:Func expects: unsigned char *
sccz80:"code.c" L:47 Warning:#35:Func gets: unsigned int
sccz80:"code.c" L:47 Warning:#36:In function: main() line 21
sccz80:"code.c" L:47 Warning:#13:Pointer/pointer type mismatch
sccz80:"code.c" L:47 Warning:#34:Func expects: unsigned char *
sccz80:"code.c" L:47 Warning:#35:Func gets: unsigned int
sccz80:"code.c" L:47 Warning:#36:In function: main() line 21
sccz80:"code.c" L:47 Warning:#13:Pointer/pointer type mismatch
sccz80:"code.c" L:47 Warning:#34:Func expects: unsigned char *
sccz80:"code.c" L:47 Warning:#35:Func gets: unsigned int
sccz80:"code.c" L:47 Warning:#8:Converting integer to pointer without cast
sccz80:"code.c" L:48 Warning:#36:In function: main() line 22
sccz80:"code.c" L:48 Warning:#13:Pointer/pointer type mismatch
sccz80:"code.c" L:48 Warning:#34:Func expects: unsigned int *
sccz80:"code.c" L:48 Warning:#35:Func gets: signed char *
sccz80:"code.c" L:48 Warning:#36:In function: main() line 22
sccz80:"code.c" L:48 Warning:#13:Pointer/pointer type mismatch
sccz80:"code.c" L:48 Warning:#34:Func expects: unsigned char *
sccz80:"code.c" L:48 Warning:#35:Func gets: unsigned int
sccz80:"code.c" L:48 Warning:#36:In function: main() line 22
sccz80:"code.c" L:48 Warning:#13:Pointer/pointer type mismatch
sccz80:"code.c" L:48 Warning:#34:Func expects: unsigned char *
sccz80:"code.c" L:48 Warning:#35:Func gets: unsigned int
sccz80:"code.c" L:49 Warning:#36:In function: main() line 23
sccz80:"code.c" L:49 Warning:#13:Pointer/pointer type mismatch
sccz80:"code.c" L:49 Warning:#34:Func expects: unsigned int *
sccz80:"code.c" L:49 Warning:#35:Func gets: signed char *
sccz80:"code.c" L:49 Warning:#36:In function: main() line 23
sccz80:"code.c" L:49 Warning:#13:Pointer/pointer type mismatch
sccz80:"code.c" L:49 Warning:#34:Func expects: unsigned char *
sccz80:"code.c" L:49 Warning:#35:Func gets: unsigned int
sccz80:"code.c" L:49 Warning:#36:In function: main() line 23
sccz80:"code.c" L:49 Warning:#13:Pointer/pointer type mismatch
sccz80:"code.c" L:49 Warning:#34:Func expects: unsigned char *
sccz80:"code.c" L:49 Warning:#35:Func gets: unsigned int
sccz80:"code.c" L:51 Warning:#36:In function: main() line 25
sccz80:"code.c" L:51 Warning:#13:Pointer/pointer type mismatch
sccz80:"code.c" L:51 Warning:#34:Func expects: unsigned int *
sccz80:"code.c" L:51 Warning:#35:Func gets: unsigned char *
sccz80:"code.c" L:51 Warning:#36:In function: main() line 25
sccz80:"code.c" L:51 Warning:#13:Pointer/pointer type mismatch
sccz80:"code.c" L:51 Warning:#34:Func expects: unsigned char *
sccz80:"code.c" L:51 Warning:#35:Func gets: unsigned int
sccz80:"code.c" L:51 Warning:#36:In function: main() line 25
sccz80:"code.c" L:51 Warning:#13:Pointer/pointer type mismatch
sccz80:"code.c" L:51 Warning:#34:Func expects: unsigned char *
sccz80:"code.c" L:51 Warning:#35:Func gets: unsigned int
sccz80:"code.c" L:51 Warning:#36:In function: main() line 25
sccz80:"code.c" L:51 Warning:#13:Pointer/pointer type mismatch
sccz80:"code.c" L:51 Warning:#34:Func expects: unsigned char *
sccz80:"code.c" L:51 Warning:#35:Func gets: unsigned int
sccz80:"code.c" L:51 Warning:#36:In function: main() line 25
sccz80:"code.c" L:51 Warning:#13:Pointer/pointer type mismatch
sccz80:"code.c" L:51 Warning:#34:Func expects: unsigned char *
sccz80:"code.c" L:51 Warning:#35:Func gets: unsigned int
sccz80:"code.c" L:51 Warning:#8:Converting integer to pointer without cast
sccz80:"code.c" L:53 Warning:#36:In function: main() line 27
sccz80:"code.c" L:53 Warning:#13:Pointer/pointer type mismatch
sccz80:"code.c" L:53 Warning:#34:Func expects: unsigned int *
sccz80:"code.c" L:53 Warning:#35:Func gets: signed char *
sccz80:"code.c" L:53 Warning:#36:In function: main() line 27
sccz80:"code.c" L:53 Warning:#13:Pointer/pointer type mismatch
sccz80:"code.c" L:53 Warning:#34:Func expects: unsigned char *
sccz80:"code.c" L:53 Warning:#35:Func gets: unsigned int
sccz80:"code.c" L:53 Warning:#36:In function: main() line 27
sccz80:"code.c" L:53 Warning:#13:Pointer/pointer type mismatch
sccz80:"code.c" L:53 Warning:#34:Func expects: unsigned char *
sccz80:"code.c" L:53 Warning:#35:Func gets: unsigned int
sccz80:"code.c" L:54 Warning:#36:In function: main() line 28
sccz80:"code.c" L:54 Warning:#13:Pointer/pointer type mismatch
sccz80:"code.c" L:54 Warning:#34:Func expects: unsigned int *
sccz80:"code.c" L:54 Warning:#35:Func gets: signed char *
sccz80:"code.c" L:54 Warning:#36:In function: main() line 28
sccz80:"code.c" L:54 Warning:#13:Pointer/pointer type mismatch
sccz80:"code.c" L:54 Warning:#34:Func expects: unsigned char *
sccz80:"code.c" L:54 Warning:#35:Func gets: unsigned int
sccz80:"code.c" L:54 Warning:#36:In function: main() line 28
sccz80:"code.c" L:54 Warning:#13:Pointer/pointer type mismatch
sccz80:"code.c" L:54 Warning:#34:Func expects: unsigned char *
sccz80:"code.c" L:54 Warning:#35:Func gets: unsigned int
copt /usr/share/z88dk/lib/z80rules.2 < /tmp/tmpXXVOvZUs.asm > /tmp/tmpXXVOvZUs.op1
copt /usr/share/z88dk/lib/z80rules.1 < /tmp/tmpXXVOvZUs.op1 > /tmp/tmpXXVOvZUs.op2
copt /usr/share/z88dk/lib/z80rules.0 < /tmp/tmpXXVOvZUs.op2 > /tmp/tmpXXVOvZUs.opt
z80asm -a -m -Mo -L/usr/share/z88dk/lib/clibs -I/usr/share/z88dk/lib -ouno.bin -eopt -indos -icpcrslib -icpc_clib -iz80_crt0 /tmp/tmpXXvv1cl0.opt /tmp/tmpXXVOvZUs.opt
Error: File '/usr/share/z88dk/lib/clibs/cpcrslib.lib', Module 'CPC_SHOWTILEMAP', Symbol not defined
Error: File '/usr/share/z88dk/lib/clibs/cpcrslib.lib', Module 'CPC_SHOWTILEMAP', Symbol not defined
Error: File '/usr/share/z88dk/lib/clibs/cpcrslib.lib', Module 'CPC_SHOWTILEMAP', Symbol not defined
Error: File '/usr/share/z88dk/lib/clibs/cpcrslib.lib', Module 'CPC_SHOWTILEMAP', Symbol not defined
Error: File '/usr/share/z88dk/lib/clibs/cpcrslib.lib', Module 'CPC_SHOWTILEMAP', Symbol not defined
Error: File '/usr/share/z88dk/lib/clibs/cpcrslib.lib', Module 'CPC_SHOWTILEMAP', Symbol not defined
Error: File '/usr/share/z88dk/lib/clibs/cpcrslib.lib', Module 'CPC_SHOWTILEMAP', Symbol not defined
Error: File '/usr/share/z88dk/lib/clibs/cpcrslib.lib', Module 'CPC_SHOWTILEMAP', Symbol not defined
Error: File '/usr/share/z88dk/lib/clibs/cpcrslib.lib', Module 'CPC_SHOWTILEMAP', Symbol not defined
Error: File '/usr/share/z88dk/lib/clibs/cpcrslib.lib', Module 'CPC_SHOWTILEMAP', Symbol not defined
Error: File '/usr/share/z88dk/lib/clibs/cpcrslib.lib', Module 'CPC_SHOWTILEMAP', Symbol not defined
Error: File '/usr/share/z88dk/lib/clibs/cpcrslib.lib', Module 'CPC_SHOWTILEMAP', Symbol not defined
Error: File '/usr/share/z88dk/lib/clibs/cpcrslib.lib', Module 'CPC_SHOWTILEMAP', Symbol not defined
Error: File '/usr/share/z88dk/lib/clibs/cpcrslib.lib', Module 'CPC_SHOWTILEMAP', Symbol not defined
Error: File '/usr/share/z88dk/lib/clibs/cpcrslib.lib', Module 'CPC_SHOWTILEMAP', Symbol not defined
Error: File '/usr/share/z88dk/lib/clibs/cpcrslib.lib', Module 'CPC_SHOWTILEMAP', Symbol not defined
Error: File '/usr/share/z88dk/lib/clibs/cpcrslib.lib', Module 'CPC_SHOWTILEMAP', Symbol not defined
Error: File '/usr/share/z88dk/lib/clibs/cpcrslib.lib', Module 'CPC_SHOWTILEMAP', Symbol not defined
Error: File '/usr/share/z88dk/lib/clibs/cpcrslib.lib', Module 'CPC_SHOWTILEMAP', Symbol not defined
Error: File '/usr/share/z88dk/lib/clibs/cpcrslib.lib', Module 'CPC_SHOWTILEMAP', Symbol not defined
Error: File '/usr/share/z88dk/lib/clibs/cpcrslib.lib', Module 'CPC_SHOWTILEMAP', Symbol not defined
21 errors occurred during assembly
Key to filenames:
/tmp/tmpXXVOvZUs.opt = code.c
Error: File '/usr/share/z88dk/lib/clibs/cpcrslib.lib', Module 'CPC_SHOWTILEMAP', Symbol not defined
Error in expression PANTALLA_JUEGO
Error: File '/usr/share/z88dk/lib/clibs/cpcrslib.lib', Module 'CPC_SHOWTILEMAP', Symbol not defined
Error in expression POSICION_INICIAL_SUPERBUFFER
Error: File '/usr/share/z88dk/lib/clibs/cpcrslib.lib', Module 'CPC_SHOWTILEMAP', Symbol not defined
Error in expression TILES_OCULTOS_ANCHO0*2
Error: File '/usr/share/z88dk/lib/clibs/cpcrslib.lib', Module 'CPC_SHOWTILEMAP', Symbol not defined
Error in expression ANCHO_PANTALLA_BYTES
Error: File '/usr/share/z88dk/lib/clibs/cpcrslib.lib', Module 'CPC_SHOWTILEMAP', Symbol not defined
Error in expression TILES_OCULTOS_ALTO0*8
Error: File '/usr/share/z88dk/lib/clibs/cpcrslib.lib', Module 'CPC_SHOWTILEMAP', Symbol not defined
Error in expression POSICION_INICIO_PANTALLA_VISIBLE_SB+1
Error: File '/usr/share/z88dk/lib/clibs/cpcrslib.lib', Module 'CPC_SHOWTILEMAP', Symbol not defined
Error in expression ANCHO_PANTALLA_BYTES-4*(TILES_OCULTOS_ANCHO0)
Error: File '/usr/share/z88dk/lib/clibs/cpcrslib.lib', Module 'CPC_SHOWTILEMAP', Symbol not defined
Error in expression ALTO_PANTALLA_BYTES-16*(TILES_OCULTOS_ALTO0)
Error: File '/usr/share/z88dk/lib/clibs/cpcrslib.lib', Module 'CPC_SHOWTILEMAP', Symbol not defined
Error in expression TILES_OCULTOS_ALTO0*2
Error: File '/usr/share/z88dk/lib/clibs/cpcrslib.lib', Module 'CPC_SHOWTILEMAP', Symbol not defined
Error in expression POSICIONES_PANTALLA
Error: File '/usr/share/z88dk/lib/clibs/cpcrslib.lib', Module 'CPC_SHOWTILEMAP', Symbol not defined
Error in expression 2*TILES_OCULTOS_ANCHO0
Error: File '/usr/share/z88dk/lib/clibs/cpcrslib.lib', Module 'CPC_SHOWTILEMAP', Symbol not defined
Error in expression POSICION_INICIO_PANTALLA_VISIBLE+1
Error: File '/usr/share/z88dk/lib/clibs/cpcrslib.lib', Module 'CPC_SHOWTILEMAP', Symbol not defined
Error in expression POSICION_INICIO_PANTALLA_VISIBLE2+1
Error: File '/usr/share/z88dk/lib/clibs/cpcrslib.lib', Module 'CPC_SHOWTILEMAP', Symbol not defined
Error in expression CREASCANES
Error: File '/usr/share/z88dk/lib/clibs/cpcrslib.lib', Module 'CPC_SHOWTILEMAP', Symbol not defined
Error in expression POSICIONES_SUPER_BUFFER
Error: File '/usr/share/z88dk/lib/clibs/cpcrslib.lib', Module 'CPC_SHOWTILEMAP', Symbol not defined
Error in expression TILES
Error: File '/usr/share/z88dk/lib/clibs/cpcrslib.lib', Module 'CPC_SHOWTILEMAP', Symbol not defined
Error in expression ANCHO_PANTALLA_BYTES/2-1
Error: File '/usr/share/z88dk/lib/clibs/cpcrslib.lib', Module 'CPC_SHOWTILEMAP', Symbol not defined
Error in expression 7*ANCHO_PANTALLA_BYTES+2
Error: File '/usr/share/z88dk/lib/clibs/cpcrslib.lib', Module 'CPC_SHOWTILEMAP', Symbol not defined
Error in expression (ALTO_PANTALLA_BYTES/8)*(ANCHO_PANTALLA_BYTES/2)
Error: File '/usr/share/z88dk/lib/clibs/cpcrslib.lib', Module 'CPC_SHOWTILEMAP', Symbol not defined
Error in expression ANCHO_PANTALLA_BYTES-1
Error: File '/usr/share/z88dk/lib/clibs/cpcrslib.lib', Module 'CPC_SHOWTILEMAP', Symbol not defined
Error in expression 4*(TILES_OCULTOS_ANCHO0)
Re: Empezando con z88dk
Yastá localizao, menos mal que has puesto todo... pero nos vamos a quedar al principio
Como usas mapa de tiles necesitas leer las definiciones que están en TileMapConf.asm:
¡Seguro que así te va!
Código: Seleccionar todo
zcc +cpc -create-app -make-app -O3 -unsigned -o uno.bin code.c -lcpcrslib -lndos -zorg=16384
Código: Seleccionar todo
zcc +cpc TileMapConf.asm -m -create-app -make-app -O3 -unsigned -o uno.bin code.c -lcpcrslib -lndos -zorg=16384
Salu2,
Arta
Arta
- jrodriguezv
- Forero habitual
- Mensajes: 157
- Registrado: Dom 06 May , 2012 1:55 pm
Re: Empezando con z88dk
Si, para el ejemplo 3, si que me conseguí que funcionara así, la salida de pantalla que he puesto es para el ejemplo 10, que es el que me falla hora.
No consigo compilar nada desde el ejemplo 10 en adelante...
No consigo compilar nada desde el ejemplo 10 en adelante...
Re: Empezando con z88dk
Ostras, no me había dado cuenta.
Pero me parece muy extraño lo que te dice porque ese ejemplo no usa el mapa de tiles...
¿has compilado la librería o has usado las del rar directamente?
¿Puedes colgar aquí el ejemplo y las librerías que tengas para ver si a mí me da problemas? Es que yo lo estoy compilando perfectamente.
Pero me parece muy extraño lo que te dice porque ese ejemplo no usa el mapa de tiles...
¿has compilado la librería o has usado las del rar directamente?
¿Puedes colgar aquí el ejemplo y las librerías que tengas para ver si a mí me da problemas? Es que yo lo estoy compilando perfectamente.
Salu2,
Arta
Arta
- jrodriguezv
- Forero habitual
- Mensajes: 157
- Registrado: Dom 06 May , 2012 1:55 pm
Re: Empezando con z88dk
Estoy usando las liberías del rar, utilizando los ficheros .lib y .h que hay en el raíz del .rar. De todas maneras he probado a usar los que hay dentro del directorio cpcrslib y tampoco me funciona.
En cuanto al código del ejemplo que estoy usando es también el del rar.
Te podría mandar los ficheros, pero sería mandarte directamente el .rar
No tengo un Windows para probar. Quizá este fin de semana tenga tiempo para hacerme con uno y hacer la prueba, a ver si es el condenado LInux
Muchísimas gracias por tu ayuda y paciencia!!!
En cuanto al código del ejemplo que estoy usando es también el del rar.
Te podría mandar los ficheros, pero sería mandarte directamente el .rar
No tengo un Windows para probar. Quizá este fin de semana tenga tiempo para hacerme con uno y hacer la prueba, a ver si es el condenado LInux
Muchísimas gracias por tu ayuda y paciencia!!!
- jrodriguezv
- Forero habitual
- Mensajes: 157
- Registrado: Dom 06 May , 2012 1:55 pm
Re: Empezando con z88dk
Al final me he pasado al SDCC, con este compilador no tengo problemas en compilar todos los ejemplos
Re: Empezando con z88dk
Al final me he pasado al SDCC, con este compilador no tengo problemas en compilar todos los ejemplos
Salu2,
Arta
Arta
- jrodriguezv
- Forero habitual
- Mensajes: 157
- Registrado: Dom 06 May , 2012 1:55 pm
Re: Empezando con z88dk
Muchas gracias Arta por tu ayuda con este tema.
Pronto empezaré a daros la tabarra con preguntas absurdas de supernovato
Pronto empezaré a daros la tabarra con preguntas absurdas de supernovato
¿Quién está conectado?
Usuarios navegando por este Foro: No hay usuarios registrados visitando el Foro
La Comunidad Española |