News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
avatar_Arnaud

WinCPCTelera

Started by Arnaud, 20:58, 29 September 16

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

cpcuser

#25

Which cpctelera do I have to download now for sdcc?



How is the cpc telara set up for the sdcc.
Can you explain the time please for a 68 year old.
I'm not so fit in there.



thank you.
greeting

Arnaud

#26
Quote from: cpcuser on 12:32, 26 October 16
Which cpctelera do I have to download now for sdcc?

How is the cpc telara set up for the sdcc.
Can you explain the time please for a 68 year old.
I'm not so fit in there.

thank you.
greeting

Install cpctelera is easy, here a link to manual :
http://lronaldo.github.io/cpctelera/files/readme-txt.html#Downloading_CPCtelera

To sum up, you have to :
- Install and run Cygwin software https://www.cygwin.com/ with the packages indicated in the manual
- Download and decompress cpctelera in Cygwin installation https://github.com/lronaldo/cpctelera/archive/v1.4.zip
- Under Cygwin console run installation with command "./setup.sh"
- SDCC and cpctelera will be installed

If you want only SDCC here a link http://sdcc.sourceforge.net/index.php#Download

Arnaud

Rupture is now working with interrupt :
[attach=2]

Interrupt are managed in a separate thread and i had hard work to synchronize all stuff.

Other improvement is adding the missing alternate hardware color
ex : Blue hw is 0x44 or 0x50

In internal modifications i use now only one render 8bit buffer instead of a render 1bit buffer for mode 2, 4 bits buffer for mode 0, etc.

ronaldo

Really great work, @Arnaud ! It's going to be really useful for people willing to debug their code and also for producing Windows binaries :D.

Arnaud

#29
Quote from: ronaldo on 12:35, 01 November 16
Really great work, @Arnaud ! It's going to be really useful for people willing to debug their code and also for producing Windows binaries :D .

Windows binaries but without sound ::) . I really don't have idea how simulate CPC sound.

Arnaud

#30
A little update on String :
- The space (' ') character has now a background color
- On string larger than screen, the characters drawn after a line return are draw at the right position

And video mode change at interrupt works :
[attach=2]

cpcuser

#31

Where will that be registered under win7 : ????


SETUP_PATH=d:\cygwin......????
CPCT_MAIN_DIR=d:\cygwin\cpctelera....????
CPCT_TOOLS_DIR=d:\cygwin\cpctelera\tools...????
CPCT_SCRIPTS_DIR=d:cygwin\\cpctelera\scripts....?????


thanks
greeting


Arnaud

#32
You don't need to register or set path under windows, cpctelera is made to work only under Cygwin environment.

If you have installed properly cpctelera with installation script all is done automatically when you launch cygwin.

cpcuser

Quote

[size=78%]If you have installed properly cpctelera with installation script all is done automatically when you launch cygwin.[/size]



How is it installed correctly?
Can you please explain this step by step?


I'm 68 years and do not get that fast.


thank you.
greeting

Arnaud

Quote from: Arnaud on 17:26, 26 October 16
Install cpctelera is easy, here a link to manual :
http://lronaldo.github.io/cpctelera/files/readme-txt.html#Downloading_CPCtelera

To sum up, you have to :
- Install and run Cygwin software https://www.cygwin.com/ with the packages indicated in the manual
- Download and decompress cpctelera in Cygwin installation https://github.com/lronaldo/cpctelera/archive/v1.4.zip
- Under Cygwin console run installation with command "./setup.sh"
- SDCC and cpctelera will be installed

If you want only SDCC here a link http://sdcc.sourceforge.net/index.php#Download

It's really well explain in cpctelera manual, here the link.

cpcuser

my  programm is :


d:/cygwin64/cpctelera-1,4/setup.sh


greeting

cpcuser

SETUP_PATH="d:/cygwin64/cpctelera-1.4"
CPCT_MAIN_DIR="${SETUP_PATH}/cpctelera"
CPCT_TOOLS_DIR="${CPCT_MAIN_DIR}/tools"
CPCT_SCRIPTS_DIR="${CPCT_TOOLS_DIR}/scripts"

is ok.




make not found in cygwin64.

Arnaud

#37
You should copy cpctelera in your profile not directly under Cygwin.

Here how cpctelera is installed on my PC :
[attach=2]

"cpctelera-1.4" directory : cpctelera decompressed with "setup.sh" in root
"CPC" directory :  my projects
"Utils" directory : winape

You have to install the following package with Cygwin setup:

       
  • Commands: gcc-core, gcc-g++, make, bison, flex, wget, unzip
  • Libraries: libboost-devel, libintl-devel

cpcuser

#38
were are :gcc-core......


greeting

SRS

it should be under "Devel" or you can type "gcc-core" at the SEARCH field and it will show you where in the packages it is stored. you need a bit of patience as the search is real slow ...

cpcuser

Hi good afternoon.

Cpcgtelera is now installed with cygwin.   :)
Can you please sourcode in the forum for cpctelera?

I have notepad ++.
How are the programs of notepad ++ compiled with cpctelera?
With "make"... or .... ???

greeting


Arnaud

#41
Here in the cpctelera manual how start a project :
http://lronaldo.github.io/cpctelera/files/readme-txt.html#Starting_with_CPCtelera

- cpct_mkproject [my_project] will create your new project with default C files
- "make" will build your code
- "cpct_winape *.dsk" will run your program if you have installed cpct_winape
- winape path must be absolute path

Inside your project you will have a "cfg" directory with build configuration.

You have plenty of example in "examples" directory.


You should read the manual all is explain here

cpcuser

#42
I do not understand ?


How is a project done ?

error:

pebi@pebi-PC ~
$ d:/cygwin/home/pebi/cpctelera-1.4/examples/easy/box/src/cpct_mkproject main.c
-bash: d:/cygwin/home/pebi/cpctelera-1.4/examples/easy/box/src/cpct_mkproject: No such file or directory

greeting

Arnaud

Quote from: cpcuser on 14:12, 06 November 16
I do not understand ??? ?

error:


pebi@pebi-PC ~
$ d:/cygwin/home/pebi/cpctelera-1.4/examples/easy/box/src/cpct_mkproject main.c
-bash: d:/cygwin/home/pebi/cpctelera-1.4/examples/easy/box/src/cpct_mkproject: No such file or directory

greeting

To build : make (no argument)
To create project : cpct_mkproject

cpcuser

#44

I do not understand :


pebi@pebi-PC ~
$ make cpct_mkproject d:/cygwin/home/pebi/cpctelera-1.4/examples/easy/box/src/main.c
make: *** Keine Regel, um ,,cpct_mkproject" zu erstellen.  Schluss.


thank you.
greeting

Arnaud

A gdi palette leaks is corrected.

You should update your project with this version if use it, the system limit of 10000 gdi objects is quickly reach  :doh: .

Arnaud

Special update CPCRetroDev 2016  ;D

Hair-Boy
[attach=2]

I have detected an array index of bound in the code but it don't disturb the cpc version  ;)

Sadly i can compile the winner Outlaw because it use z80 ASM unexomizer.

Arnaud

VSync is really working now:
[attachimg=1]

It's so smooth now  ;D

cpcuser


Hello, I now take ccz80-compiler. it is wundervoll.


This cpctelera is for me overprinted and too unclear to program a small 8-bitter with a program of about 2GByte.


greeting

EgoTrip

Quote from: Arnaud on 22:07, 09 November 16
Sadly i can compile the winner Outlaw because it use z80 ASM unexomizer.

Will you be implementing it? My games also use it, so if I ever want to build a windows version of my games (assuming that becomes a thing) I won't be able to.

Powered by SMFPacks Menu Editor Mod