Author Topic: #CPCtelera 1.4.2. release  (Read 34682 times)

0 Members and 1 Guest are viewing this topic.

Online Arnaud

  • Supporter
  • 464 Plus
  • *
  • Posts: 484
  • Country: fr
  • Liked: 398
  • Likes Given: 764
Could you please look into the C:\cygwin64\bin directory and check for files with the pattern "cygwin1.dll*"? Could you please tell me which ones are there?

Only one "cygwin1.dll" 3312ko

Offline ronaldo

  • Dev
  • 6128 Plus
  • *****
  • Posts: 594
  • Country: es
    • Fremos Blog
  • Liked: 794
  • Likes Given: 778
#CPCtelera 1.4. Under development
« Reply #351 on: 23:57, 21 January 16 »
After a long period of time, we are slowly returning and continuing development of CPCtelera. We hope to release 1.4. version in a not too distant future (say some weeks). Then, we hope to be able to attend most of the requests for new features that have been formulated during past months.

But, the most important thing is that we may have fixed an important problem thanks to the collaboration of @SyX. Some people experienced problems installing CPCtelera under Windows/Cygwin on Win7, 8 and 10. @SyX identified a problem related to Cygwin failing to dinamically link against libstdc++ under some circumstances. This seems to be happenning on Win7, 8 and 10, and producing void executables after compilation. That was probably causing some random problems to people installing CPCtelera.

Our latest master version at Github includes a fix for this problem, statically linking against libstdc++. In our test, this seems to solve the issue. However, we need more confirmations. So, please, it would be really useful if those of you that had problems installing CPCtelera could download latest github version and test it under Windows/Cygwin.

Thank you very much in advance to those of you that are collaborating/have collaborated with CPCtelera :D 

Online Arnaud

  • Supporter
  • 464 Plus
  • *
  • Posts: 484
  • Country: fr
  • Liked: 398
  • Likes Given: 764
Now, all works perfectly on Cygwin x64 with Windows 10 x64. 

Problem solved, congratulation !

 :)
« Last Edit: 21:52, 22 January 16 by Arnaud »

Offline ervin

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.268
  • Country: au
    • index.php?action=treasury
  • Liked: 938
  • Likes Given: 976
Yay! Working nicely here as well!
 8)

My (cancelled) entry for the CPCRetroDev 2017 Competition http://www.cpcwiki.eu/forum/programming/my-cpcretrodev-2017-entry/
FAST line drawing in CPCtelera http://www.cpcwiki.eu/forum/programming/drawing-lines-with-cpctelera-sdcc/
RUNCPC My entry for the CPCRetroDev 2015 Competition http://www.cpc-power.com/index.php?page=detail&num=12494

Offline HAL 6128

  • 464 Plus
  • *****
  • Posts: 481
  • Country: de
    • index.php?action=treasury
  • Liked: 235
  • Likes Given: 1152
I have trouble installing cpctelera on a cygwin64 (Win10). There's a missing library (libboost-devel), despite the fact I have installed it?!
...proudly supported Pentomino and NQ-Music-Disc with GFX

Offline ronaldo

  • Dev
  • 6128 Plus
  • *****
  • Posts: 594
  • Country: es
    • Fremos Blog
  • Liked: 794
  • Likes Given: 778
Re: #CPCtelera 1.4. Under development
« Reply #355 on: 15:07, 24 January 16 »
@Arnaud, @ervin, @HAL 6128, thank you all for testing and reporting :)

@HAL 6128: Are you sure you have installed libboost-devel? You may have installed libboost, without the development headers (only the binary files). The test for detecting that libboost is installed compiles a program that requires libboost-devel to be installed. When compilation fails, libboost-devel is not properly installed.

Please, first of all, verify your Cygwin installation, and double check libboost-devel installation.

If you are sure it is installed, next thing to check is your antivirus software, that may be interferring with Cygwin, and ruining CPCtelera installation (that problem is described by Cygwin developers).

If all these steps fail, post CPCtelera installation logs and I'll check them.

EDIT: I didn't properly read your error message. It seems that you are using a previous version of Cygwin and you may have a dependency detection problem, resulting in cygisl-10.dll not being installed. That impedes you to compile anything with GCC. Try installing  libisl10 and libcloog-isl4 (you may use "apt-cyg install libisl10 libcloog-isl4" or the cygwin installer)
« Last Edit: 15:14, 24 January 16 by ronaldo »

Offline HAL 6128

  • 464 Plus
  • *****
  • Posts: 481
  • Country: de
    • index.php?action=treasury
  • Liked: 235
  • Likes Given: 1152
Re: #CPCtelera news, releases, reports and support
« Reply #356 on: 16:22, 24 January 16 »
Yes, libisl10 and libcloog-isl4 were missing. Now it starts installing. Thank you very much for the hint!
But breaks after 75% of installing. I have to check the log file.

What do you mean with "previous version of Cygwin"? I freshly downloaded the "setup-x86_64.exe" file from "http://cygwin.com/install.html";. Are there differences? Yes, I compiled anything with GCC. Which version of GCC is recommended?
...proudly supported Pentomino and NQ-Music-Disc with GFX

Offline ronaldo

  • Dev
  • 6128 Plus
  • *****
  • Posts: 594
  • Country: es
    • Fremos Blog
  • Liked: 794
  • Likes Given: 778
Re: #CPCtelera news, releases, reports and support
« Reply #357 on: 16:46, 24 January 16 »
Well, it may depend on the mirror you have selected. This problem happens because of some untracked dependencies on Cygwin. This should have been fixed on latest versions. In fact, I didn't experience this problem by myself, but seems more likely on Win10. It also may be related to antivirus software interferring (it seems less likely in this case, but it may).

Anyway, are you using latest master version of CPCtelera from github?


Offline HAL 6128

  • 464 Plus
  • *****
  • Posts: 481
  • Country: de
    • index.php?action=treasury
  • Liked: 235
  • Likes Given: 1152
Re: #CPCtelera news, releases, reports and support
« Reply #358 on: 17:44, 24 January 16 »
Yes, I'm using the lastest master version.

Ok, I deleted everything and have been choosen another mirror. The Installationen process went through without any problem.
Now it works!

:)
...proudly supported Pentomino and NQ-Music-Disc with GFX

Offline ronaldo

  • Dev
  • 6128 Plus
  • *****
  • Posts: 594
  • Country: es
    • Fremos Blog
  • Liked: 794
  • Likes Given: 778
Re: #CPCtelera news, releases, reports and support
« Reply #359 on: 17:50, 24 January 16 »
Much better, then :). Thanks for testing and reporting :D

Online dragon

  • 6128 Plus
  • ******
  • Posts: 1.355
  • Country: es
  • Liked: 558
  • Likes Given: 480
Re: #CPCtelera news, releases, reports and support
« Reply #360 on: 19:42, 26 January 16 »
¿Cual es la sintaxis de la directiva org en el ensamblador que trae cpctelera?

Intento una cosa super simple como empezar un codigo en A000 cambiando el archivo de configuración.

Escribir 3 instruciones.

LD HL,#0xA100
LD DE,#0x006E
LD BC,#0x0050
LDIR

Y poner una org para que a partir de aqui lo ponga en A100.

No hay manera he intentado de todo, con almohadilla con & con h con dolar.

Y segun que ponga siempre me devuelve: src/main.s:51: Error: <o> .org in REL area or directive / mnemonic error
 o src/main.s:51: Error: <q> missing or improper operators, terminators, or delimiters

 :doh:

Offline FloppySoftware

  • CPC6128
  • ****
  • Posts: 243
  • Country: es
  • The best team: Amstrad PCW, CP/M, and the Z80 cpu.
    • Floppy Software
  • Liked: 234
  • Likes Given: 171
Re: #CPCtelera news, releases, reports and support
« Reply #361 on: 22:29, 26 January 16 »
La sintaxis parece correcta, viendo los ejemplos en ensamblador de cpctelera (aunque difieren del código de abajo; imagino que acepta varias sintaxis).

Yo creo que el problema es poner un ORG en un área de código que no lo permite: Error: <o> .org in REL area...
 
P. ej., el fichero crt0.s empieza así:
 
Code: [Select]
   .module crt0
   .globl   _main
   .area   _HEADER (ABS)
   ;; Reset vector
   .org    0
   jp   init
   .org   0x08
« Last Edit: 22:39, 26 January 16 by FloppySoftware »
floppysoftware.es < NEW URL!!!
cpm-connections.blogspot.com.es

Offline reidrac

  • Supporter
  • 6128 Plus
  • *
  • Posts: 659
  • Country: gb
  • Trying to gamedev!
    • index.php?action=treasury
    • usebox.net
  • Liked: 1165
  • Likes Given: 694
Re: #CPCtelera news, releases, reports and support
« Reply #362 on: 11:44, 27 January 16 »
I found this very useful: http://sdcc.sourceforge.net/doc/sdccman.pdf

(I don't use cpctelera, but I use SDCC and its assembler is awful and very limited :'()
Released The Return of Traxtor, Golden Tail, Magica and The Dawn of Kernel for the CPC.

If you like my games and want to show some appreciation, you can always buy me a coffee.

Offline PulkoMandy

  • 464 Plus
  • *****
  • Posts: 337
  • Country: fr
  • Liked: 268
  • Likes Given: 1
Re: #CPCtelera news, releases, reports and support
« Reply #363 on: 14:13, 27 January 16 »
You can't use ORG in source files this way. The memory layout is not defined by the assembler as in traditional amstrad tools, but by the linker.


If you want to change the start address, you will need to edit the linker file instead, to tell where your code segment should be located.

Offline ronaldo

  • Dev
  • 6128 Plus
  • *****
  • Posts: 594
  • Country: es
    • Fremos Blog
  • Liked: 794
  • Likes Given: 778
Re: #CPCtelera news, releases, reports and support
« Reply #364 on: 14:57, 27 January 16 »
¿Cual es la sintaxis de la directiva org en el ensamblador que trae cpctelera?
Intento una cosa super simple como empezar un codigo en A000 cambiando el archivo de configuración.
Y poner una org para que a partir de aqui lo ponga en A100.
No hay manera he intentado de todo, con almohadilla con & con h con dolar.

Lo que tienes no es un problema de sintaxis. El problema es que el código que escribes es considerado "RELocatable", lo que quiere decir que el linker tiene la posibilidad de moverlo y/o ajustarlo como considere oportuno. Por ese motivo, una orden ORG no tiene sentido, porque dejaría el código en posición absoluta, y es contradictorio con darle libertad al linker para moverlo.

Si lo único que quieres es definir la posición inicial de tu binario, lo que tienes que hacer es cambiar la variable Z80CODELOC del fichero de configuración del proyecto de CPCtelera (en cfg/build_config.mk). Esa variable es la que se le pasa al linker al compilar para indicar la posición inicial del binario generado en memoria.

Si más adelante quieres tener varias zonas de código ubicadas en posiciones absolutas de memoria, tienes que definir zonas de código de posicionamiento absoluto, utilizando las directivas .area con el calificador (ABS), como te han dicho arriba. De todas formas, de eso podemos hablar cuando lo necesites, si lo prefieres.

===========================================================================================

Your problem is not related to syntax. Your problem is due to your main code area being RELocatable by default. This means that the linker has the right relocate and/or adjust parts of your code as it considers. Because of this, an ORG command does not have any meaning inside this area, as it will locate code in an absolute location, and that is contradictory with the "RELocatable" property.

If your desire is just to place your binary at a given location in memory, it will be enough with changing the value of Z80CODELOC variable, which is located in the configuration file of your CPCtelera project (cfg/build_config.mk). That variable is passed to the linker during compilation to state the initial location of the generated binary in memory.

Lately, if you want to have several code zones in different absolute locations in memory, you have to define ABSolutely located code zones using .area directives and the (ABS) qualifier. Anyway, we can discuss about this later, when you need it.

Offline ronaldo

  • Dev
  • 6128 Plus
  • *****
  • Posts: 594
  • Country: es
    • Fremos Blog
  • Liked: 794
  • Likes Given: 778
#CPCtelera 1.4.2. release
« Reply #365 on: 16:53, 17 July 17 »
 CPCtelera 1.4.2. is finally out!

This version is an important update, mainly because SDCC 3.5.5 codebase was showing some important compilation issues under different circumstances. With this new release, many compilation and Mac OSX compatibility issues should dissapear and make live easier and happier to many of you. Hope it actually does! :D
Features included in this release:
  • Updated SDCC compiler from version 3.5.5 to newest version 3.6.8 (revision 9946). New version is much more efficient, generates better code and solves some bugs from previous one.
  • Added automatic Arkos Traker 1 AKS music conversion. It is done through the makefile macro AKS2C, which is easily added in config file cfg/music_conversion.mk
  • Added project support for Visual Studio Code IDE. All CPCtelera projects can now be opened and compiled in VS Code. Moreover, intellisense and keyboard shortcuts for automaticly running games are easily added.
  • Documented VS Code integration, with plenty of information for users on how to set up projects.
  • Documented Automatic Conversion Tools for Music, Graphics and Tilemaps. This will greatly help users on fastly and comfortably integrating asset production in their projects without having to bother to convert them when they change.
  • Added support for drawing tiles using gray code order and making use of the stack. Really fast method for advanced users.
  • Added troubleshooting section to the documentation in order to help users with common issues.
  • Fixed issue in iDSK: it was overwritting files with same name but different extension.
  • Added Support for Paged Memory and use of memory beyond 64K.
  • Added z88dk speculative optimization peepholes for advanced users wanting to experiment with advanced optimization.
  • Added new asm examples with animations, music and data structures: greetcardmusic/ and structs/.
  • Updated RGAS to latest 1.2.2 version.
  • Added bitarray support for tiled Tilemap TMX-CSV conversion to C.
  • Fixed getRandom to output predictable random sequences.
Hope you all enjoy it much while we continue towards 1.5. Release! :D
« Last Edit: 16:55, 17 July 17 by ronaldo »

Offline ervin

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.268
  • Country: au
    • index.php?action=treasury
  • Liked: 938
  • Likes Given: 976
Re: #CPCtelera 1.4.2. release
« Reply #366 on: 18:12, 17 July 17 »
CPCtelera 1.4.2. is finally out!

This version is an important update, mainly because SDCC 3.5.5 codebase was showing some important compilation issues under different circumstances. With this new release, many compilation and Mac OSX compatibility issues should dissapear and make live easier and happier to many of you. Hope it actually does! :D
Features included in this release:
  • Updated SDCC compiler from version 3.5.5 to newest version 3.6.8 (revision 9946). New version is much more efficient, generates better code and solves some bugs from previous one.
  • Added automatic Arkos Traker 1 AKS music conversion. It is done through the makefile macro AKS2C, which is easily added in config file cfg/music_conversion.mk
  • Added project support for Visual Studio Code IDE. All CPCtelera projects can now be opened and compiled in VS Code. Moreover, intellisense and keyboard shortcuts for automaticly running games are easily added.
  • Documented VS Code integration, with plenty of information for users on how to set up projects.
  • Documented Automatic Conversion Tools for Music, Graphics and Tilemaps. This will greatly help users on fastly and comfortably integrating asset production in their projects without having to bother to convert them when they change.
  • Added support for drawing tiles using gray code order and making use of the stack. Really fast method for advanced users.
  • Added troubleshooting section to the documentation in order to help users with common issues.
  • Fixed issue in iDSK: it was overwritting files with same name but different extension.
  • Added Support for Paged Memory and use of memory beyond 64K.
  • Added z88dk speculative optimization peepholes for advanced users wanting to experiment with advanced optimization.
  • Added new asm examples with animations, music and data structures: greetcardmusic/ and structs/.
  • Updated RGAS to latest 1.2.2 version.
  • Added bitarray support for tiled Tilemap TMX-CSV conversion to C.
  • Fixed getRandom to output predictable random sequences.
Hope you all enjoy it much while we continue towards 1.5. Release! :D

FANTASTIC!!!
Thanks for all of your hard work!
My (cancelled) entry for the CPCRetroDev 2017 Competition http://www.cpcwiki.eu/forum/programming/my-cpcretrodev-2017-entry/
FAST line drawing in CPCtelera http://www.cpcwiki.eu/forum/programming/drawing-lines-with-cpctelera-sdcc/
RUNCPC My entry for the CPCRetroDev 2015 Competition http://www.cpc-power.com/index.php?page=detail&num=12494

Online Arnaud

  • Supporter
  • 464 Plus
  • *
  • Posts: 484
  • Country: fr
  • Liked: 398
  • Likes Given: 764
Re: #CPCtelera 1.4.2. release
« Reply #367 on: 20:31, 17 July 17 »
CPCtelera 1.4.2. is finally out!

Great ! Nice to see CPCTelera updated.

Offline johnlobo

  • CPC464
  • **
  • Posts: 9
  • Country: es
  • Liked: 6
  • Likes Given: 9
Re: #CPCtelera 1.4.2. release
« Reply #368 on: 00:36, 18 July 17 »

Great !!


Just in time for the CPCRetroDev.


 :D

CPCtelera 1.4.2. is finally out!

This version is an important update, mainly because SDCC 3.5.5 codebase was showing some important compilation issues under different circumstances. With this new release, many compilation and Mac OSX compatibility issues should dissapear and make live easier and happier to many of you. Hope it actually does! :D
Features included in this release:
  • Updated SDCC compiler from version 3.5.5 to newest version 3.6.8 (revision 9946). New version is much more efficient, generates better code and solves some bugs from previous one.
  • Added automatic Arkos Traker 1 AKS music conversion. It is done through the makefile macro AKS2C, which is easily added in config file cfg/music_conversion.mk
  • Added project support for Visual Studio Code IDE. All CPCtelera projects can now be opened and compiled in VS Code. Moreover, intellisense and keyboard shortcuts for automaticly running games are easily added.
  • Documented VS Code integration, with plenty of information for users on how to set up projects.
  • Documented Automatic Conversion Tools for Music, Graphics and Tilemaps. This will greatly help users on fastly and comfortably integrating asset production in their projects without having to bother to convert them when they change.
  • Added support for drawing tiles using gray code order and making use of the stack. Really fast method for advanced users.
  • Added troubleshooting section to the documentation in order to help users with common issues.
  • Fixed issue in iDSK: it was overwritting files with same name but different extension.
  • Added Support for Paged Memory and use of memory beyond 64K.
  • Added z88dk speculative optimization peepholes for advanced users wanting to experiment with advanced optimization.
  • Added new asm examples with animations, music and data structures: greetcardmusic/ and structs/.
  • Updated RGAS to latest 1.2.2 version.
  • Added bitarray support for tiled Tilemap TMX-CSV conversion to C.
  • Fixed getRandom to output predictable random sequences.
Hope you all enjoy it much while we continue towards 1.5. Release! :D


Online XeNoMoRPH

  • 464 Plus
  • *****
  • Posts: 392
  • Country: es
  • " ... in space no one , can hear you scream ... "
  • Liked: 744
  • Likes Given: 679
« Last Edit: 17:03, 30 March 19 by XeNoMoRPH »