Author Topic: WinCPCTelera  (Read 11196 times)

0 Members and 1 Guest are viewing this topic.

Offline cpcuser

  • CPC664
  • ***
  • Posts: 73
  • Country: de
  • Liked: 15
  • Likes Given: 0
Re: WinCPCTelera
« Reply #25 on: 14: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
« Last Edit: 19:01, 26 October 16 by cpcuser »

Offline Arnaud

  • Supporter
  • 6128 Plus
  • *
  • Posts: 546
  • Country: fr
  • Liked: 456
  • Likes Given: 883
Re: WinCPCTelera
« Reply #26 on: 19:26, 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
« Last Edit: 21:45, 26 October 16 by Arnaud »

Offline Arnaud

  • Supporter
  • 6128 Plus
  • *
  • Posts: 546
  • Country: fr
  • Liked: 456
  • Likes Given: 883
Re: WinCPCTelera
« Reply #27 on: 11:42, 01 November 16 »
Rupture is now working with interrupt :
 [ Invalid Attachment ]

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.

Offline ronaldo

  • Dev
  • 6128 Plus
  • *****
  • Posts: 610
  • Country: es
    • Fremos Blog
  • Liked: 846
  • Likes Given: 797
Re: WinCPCTelera
« Reply #28 on: 13: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.

Offline Arnaud

  • Supporter
  • 6128 Plus
  • *
  • Posts: 546
  • Country: fr
  • Liked: 456
  • Likes Given: 883
Re: WinCPCTelera
« Reply #29 on: 14:40, 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.
« Last Edit: 14:44, 01 November 16 by Arnaud »

Offline Arnaud

  • Supporter
  • 6128 Plus
  • *
  • Posts: 546
  • Country: fr
  • Liked: 456
  • Likes Given: 883
Re: WinCPCTelera
« Reply #30 on: 22:45, 03 November 16 »
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 :
 [ Invalid Attachment ]
« Last Edit: 23:12, 03 November 16 by Arnaud »

Offline cpcuser

  • CPC664
  • ***
  • Posts: 73
  • Country: de
  • Liked: 15
  • Likes Given: 0
Re: WinCPCTelera
« Reply #31 on: 10:44, 05 November 16 »

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

« Last Edit: 10:48, 05 November 16 by cpcuser »

Offline Arnaud

  • Supporter
  • 6128 Plus
  • *
  • Posts: 546
  • Country: fr
  • Liked: 456
  • Likes Given: 883
Re: WinCPCTelera
« Reply #32 on: 11:46, 05 November 16 »
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.
« Last Edit: 13:07, 05 November 16 by Arnaud »

Offline cpcuser

  • CPC664
  • ***
  • Posts: 73
  • Country: de
  • Liked: 15
  • Likes Given: 0
Re: WinCPCTelera
« Reply #33 on: 14:06, 05 November 16 »
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

Offline Arnaud

  • Supporter
  • 6128 Plus
  • *
  • Posts: 546
  • Country: fr
  • Liked: 456
  • Likes Given: 883
Re: WinCPCTelera
« Reply #34 on: 14:23, 05 November 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.

Offline cpcuser

  • CPC664
  • ***
  • Posts: 73
  • Country: de
  • Liked: 15
  • Likes Given: 0
Re: WinCPCTelera
« Reply #35 on: 14:25, 05 November 16 »
my  programm is :


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


greeting

Offline cpcuser

  • CPC664
  • ***
  • Posts: 73
  • Country: de
  • Liked: 15
  • Likes Given: 0
Re: WinCPCTelera
« Reply #36 on: 14:41, 05 November 16 »
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.

Offline Arnaud

  • Supporter
  • 6128 Plus
  • *
  • Posts: 546
  • Country: fr
  • Liked: 456
  • Likes Given: 883
Re: WinCPCTelera
« Reply #37 on: 14:45, 05 November 16 »
You should copy cpctelera in your profile not directly under Cygwin.

Here how cpctelera is installed on my PC :
 [ Invalid Attachment ]

"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
« Last Edit: 14:48, 05 November 16 by Arnaud »

Offline cpcuser

  • CPC664
  • ***
  • Posts: 73
  • Country: de
  • Liked: 15
  • Likes Given: 0
Re: WinCPCTelera
« Reply #38 on: 15:07, 05 November 16 »
were are :gcc-core......


greeting
« Last Edit: 15:10, 05 November 16 by cpcuser »

Offline SRS

  • Supporter
  • 6128 Plus
  • *
  • Posts: 562
  • Country: de
  • Schneider CPC464 - what else ?
  • Liked: 547
  • Likes Given: 289
Re: WinCPCTelera
« Reply #39 on: 23:09, 05 November 16 »
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 ...

Offline cpcuser

  • CPC664
  • ***
  • Posts: 73
  • Country: de
  • Liked: 15
  • Likes Given: 0
Re: WinCPCTelera
« Reply #40 on: 14:03, 06 November 16 »
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


Offline Arnaud

  • Supporter
  • 6128 Plus
  • *
  • Posts: 546
  • Country: fr
  • Liked: 456
  • Likes Given: 883
Re: WinCPCTelera
« Reply #41 on: 14:35, 06 November 16 »
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
« Last Edit: 15:09, 06 November 16 by Arnaud »

Offline cpcuser

  • CPC664
  • ***
  • Posts: 73
  • Country: de
  • Liked: 15
  • Likes Given: 0
Re: WinCPCTelera
« Reply #42 on: 15:12, 06 November 16 »
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
« Last Edit: 15:23, 06 November 16 by cpcuser »

Offline Arnaud

  • Supporter
  • 6128 Plus
  • *
  • Posts: 546
  • Country: fr
  • Liked: 456
  • Likes Given: 883
Re: WinCPCTelera
« Reply #43 on: 15:20, 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

Offline cpcuser

  • CPC664
  • ***
  • Posts: 73
  • Country: de
  • Liked: 15
  • Likes Given: 0
Re: WinCPCTelera
« Reply #44 on: 15:27, 06 November 16 »

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
« Last Edit: 15:30, 06 November 16 by cpcuser »

Offline Arnaud

  • Supporter
  • 6128 Plus
  • *
  • Posts: 546
  • Country: fr
  • Liked: 456
  • Likes Given: 883
Re: WinCPCTelera
« Reply #45 on: 17:58, 06 November 16 »
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: .

Offline Arnaud

  • Supporter
  • 6128 Plus
  • *
  • Posts: 546
  • Country: fr
  • Liked: 456
  • Likes Given: 883
Re: WinCPCTelera
« Reply #46 on: 23:07, 09 November 16 »
Special update CPCRetroDev 2016  ;D

Hair-Boy
 [ Invalid Attachment ]

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.

Offline Arnaud

  • Supporter
  • 6128 Plus
  • *
  • Posts: 546
  • Country: fr
  • Liked: 456
  • Likes Given: 883
Re: WinCPCTelera
« Reply #47 on: 22:31, 10 November 16 »
VSync is really working now:
[attachimg=1]

It's so smooth now  ;D

Offline cpcuser

  • CPC664
  • ***
  • Posts: 73
  • Country: de
  • Liked: 15
  • Likes Given: 0
Re: WinCPCTelera
« Reply #48 on: 16:01, 11 November 16 »

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

Offline EgoTrip

  • 6128 Plus
  • ******
  • Posts: 1.051
  • Country: gl
    • http://egochip.blogspot.co.uk/
  • Liked: 677
  • Likes Given: 294
Re: WinCPCTelera
« Reply #49 on: 21:27, 11 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.
EgoTrip's Stuff
EgoTrip's Stuff