Author Topic: Help with Cygwin/CPCTelera  (Read 4246 times)

0 Members and 1 Guest are viewing this topic.

Offline skylas

  • CPC664
  • ***
  • Posts: 100
  • Country: gr
    • AMSTRAD SAKIS
  • Liked: 136
  • Likes Given: 142
Re: Help with Cygwin/CPCTelera
« Reply #25 on: 11:51, 27 April 20 »
Finally i contacted the cpctelera and gave me a correct mirror link that works! The mirrors probably was the problem.
I used your previous instructions for what packages to enter and it was installed without errors.
Is cpctelera a separate program that i have to open or just use cygwin terminal? it seems the same.


If yes, how can it be used? i meen not for something advanced, but just draw a line, or make a video, or make a new file, load a code of a game etc. Or if there is a small manual somewhere for the languages that are used.
What made me install it, of course taking a look on all this, and also the new feature that could let us  make an amstrad game in android.
« Last Edit: 12:10, 27 April 20 by skylas »
Web: https://amstradsakis.blogspot.com
My programs (only BASIC):
RETRO-LOADSHEET ON AMSTRAD CPC!
PENALTY KICKS!
CAPITAL QUIZ!
CAPITAL QUIZ 2! (Reverse edition)
HEART CHASER
HEART CHASER 2!
HEADS OR TAILS (ΚΟΡΩΝΑ/ΓΡΑΜΜΑΤΑ)
HEART CHASER 3!

Offline awergh

  • CPC6128
  • ****
  • Posts: 256
  • Country: au
  • Liked: 116
  • Likes Given: 239
Re: Help with Cygwin/CPCTelera
« Reply #26 on: 12:56, 27 April 20 »

Great that you have got it installed. Cpctelera isn't a separate application instead it provides libraries and tools to compile and build complete Amstrad CPC projects.
To use access these tools you use cygwin which has been setup to work with the cpctelera installation.


My suggestion for what to do next is have a play with the included examples.
From cygwin start by changing directory (cd) to the directory where you installed cpctelera to.
For example if it was in D:\cpctelera you would enter the following:
cd /cygdrive/d/cpctelera


Now that you are in the cpctelera directory you can find all the examples under cpctelera/examples
These are a set of programming examples (of varying complexity) using CPCtelera that shows off its various features.


There is also a complete game example you can look at under:
cpctelera/examples/games/platformClimber


To compile any of the examples just type
make


To then run the generated disk file with WinAPE (it will prompt where you have WinAPE the first time)
cpct_winape filename.dsk


CPCtelera has a very good reference manual (although not necessarily small) that is worth a look.
CPCtelera is supported for use with C and Z80 Assembly Language.
http://lronaldo.github.io/cpctelera/files/readme-txt.html


To look or work with the code I suggest using a decent text editor such as Visual Studio Code.

Offline skylas

  • CPC664
  • ***
  • Posts: 100
  • Country: gr
    • AMSTRAD SAKIS
  • Liked: 136
  • Likes Given: 142
Re: Help with Cygwin/CPCTelera
« Reply #27 on: 16:09, 28 April 20 »
Great that you have got it installed. Cpctelera isn't a separate application instead it provides libraries and tools to compile and build complete Amstrad CPC projects.
To use access these tools you use cygwin which has been setup to work with the cpctelera installation.


My suggestion for what to do next is have a play with the included examples.
From cygwin start by changing directory (cd) to the directory where you installed cpctelera to.
For example if it was in D:\cpctelera you would enter the following:
cd /cygdrive/d/cpctelera


Now that you are in the cpctelera directory you can find all the examples under cpctelera/examples
These are a set of programming examples (of varying complexity) using CPCtelera that shows off its various features.


There is also a complete game example you can look at under:
cpctelera/examples/games/platformClimber


To compile any of the examples just type
make


To then run the generated disk file with WinAPE (it will prompt where you have WinAPE the first time)
cpct_winape filename.dsk


CPCtelera has a very good reference manual (although not necessarily small) that is worth a look.
CPCtelera is supported for use with C and Z80 Assembly Language.
http://lronaldo.github.io/cpctelera/files/readme-txt.html


To look or work with the code I suggest using a decent text editor such as Visual Studio Code.
Many thx awergh for all useful info and help!
Web: https://amstradsakis.blogspot.com
My programs (only BASIC):
RETRO-LOADSHEET ON AMSTRAD CPC!
PENALTY KICKS!
CAPITAL QUIZ!
CAPITAL QUIZ 2! (Reverse edition)
HEART CHASER
HEART CHASER 2!
HEADS OR TAILS (ΚΟΡΩΝΑ/ΓΡΑΜΜΑΤΑ)
HEART CHASER 3!