Author Topic: Hello CPC Wiki !  (Read 484 times)

0 Members and 1 Guest are viewing this topic.

Offline rewk

  • Supporter
  • CPC464
  • *
  • Posts: 13
  • Country: fr
    • Awards
Hello CPC Wiki !
« on: 00:39, 22 July 21 »

Hello all,

Like a lot of people here, I grew up with a CPC in the late 80's. And I got interested in retro gaming and emulation for quite a while now. However, during all this time, I never really developed on CPC. Except when I was 12 years old using the exceptional Locomotive Basic, of course. :)

As I recently purchased a C4CPC and repaired my old GX-4000 (a broken joystick port needed to be replaced), I thought about adding some games to http://www.cpcwiki.eu/index.php/Converted_GX4000_Software. It was a really interesting to get Roland Ahoy working ! I found it fun to really use Z80 assembly. I will really look further into coding on GX4000, using its capabilities.

My background is C++ / Python with a bit of Rust development. I wonder if it would be possible to generate Z80 CPC specific assembly in Rust...

Anyways, hello everyone !


like
0
No reactions

Offline SkulleateR

  • 464 Plus
  • *****
  • Posts: 472
  • Country: de
    • Awards
Re: Hello CPC Wiki !
« Reply #1 on: 01:00, 22 July 21 »
Nice Story .... Welcome and have fun here 8)
like
0
No reactions

Offline ajcasado

  • Supporter
  • CPC664
  • *
  • Posts: 71
  • Country: es
    • Awards
Re: Hello CPC Wiki !
« Reply #2 on: 11:30, 22 July 21 »
Hi!,
Welcome to the forum, have fun!

About:
My background is C++ / Python with a bit of Rust development. I wonder if it would be possible to generate Z80 CPC specific assembly in Rust...
There is a project in progress to make the Z80 a target for llvm, it is referenced here: https://www.cpcwiki.eu/forum/programming/porting-smalltalkjoynimj-on-cpc/msg204696/#msg204696
It seems to be in a very alfa state, but may be wotrth to give it a try using this guide:
https://rustc-dev-guide.rust-lang.org/backend/updating-llvm.html

like
0
No reactions
CPC 664

Empiezas a envejecer cuando dejas de aprender.
You start to get old when you stop learning.

Offline Targhan

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.417
  • Country: fr
    • Awards
Re: Hello CPC Wiki !
« Reply #3 on: 12:17, 22 July 21 »
Welcome! Where are you in France?

As for Rust, you might join force with @krusty_benediction, who is a Rust advocate :).
like
0
No reactions
Targhan/Arkos

Arkos Tracker 2.0.1 now released! - Follow the news on Twitter!
Disark - A cross-platform Z80 disassembler/source converter
FDC Tool 1.1 - Read Amsdos files without the system

Imperial Mahjong
Orion Prime

Offline krusty_benediction

  • CPC6128
  • ****
  • Posts: 194
  • Country: fr
    • Awards
Re: Hello CPC Wiki !
« Reply #4 on: 12:42, 22 July 21 »
Welcome! Where are you in France?

As for Rust, you might join force with @krusty_benediction, who is a Rust advocate :) .
Welcome
Indeed, here is my rust toolbox https://github.com/cpcsdk/rust.cpclib that served me for https://www.pouet.net/prod.php?which=88554There is an assembler that can be used from the command line or programmatically from rust.I am currently doing a huge refactoring of the assembler to track the position of each instruction in the source code and generate localized error messages (it is not yet pushed it still does not compile)
like
0
No reactions

Offline Gryzor

  • Administrator
  • 6128 Plus
  • *****
  • Posts: 17.119
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
    • Awards
Re: Hello CPC Wiki !
« Reply #5 on: 12:50, 22 July 21 »
Welcome and indeed, have fun!
like
0
No reactions

Offline rewk

  • Supporter
  • CPC464
  • *
  • Posts: 13
  • Country: fr
    • Awards
Re: Hello CPC Wiki !
« Reply #6 on: 14:10, 22 July 21 »

Hi!, Welcome to the forum, have fun! 

 :)
Welcome! Where are you in France? As for Rust, you might join force with @krusty_benediction, who is a Rust advocate :).


I live near Troyes. Which will be updated in my profile, indeed. :)


Welcome
Indeed, here is my rust toolbox https://github.com/cpcsdk/rust.cpclib that served me for https://www.pouet.net/prod.php?which=88554There is an assembler that can be used from the command line or programmatically from rust.I am currently doing a huge refactoring of the assembler to track the position of each instruction in the source code and generate localized error messages (it is not yet pushed it still does not compile)

I will definitively check that out. The Z80 is not a good target for a compiler, but it would be nice to have a set of low level assembly functions to be called using a higher level language.

Thank y'all for your welcoming !


like
0
No reactions

Offline krusty_benediction

  • CPC6128
  • ****
  • Posts: 194
  • Country: fr
    • Awards
Re: Hello CPC Wiki !
« Reply #7 on: 14:22, 22 July 21 »
My bad; Iwrongly translated your message.No I have no stuff that compiles rust in z80 (I was was talking of an assembler for z80 written in rust).
However, @m_dr_m made some test to compile rust in z80 and it was not successfull at all
like
0
No reactions

Offline m_dr_m

  • 464 Plus
  • *****
  • Posts: 308
  • Country: gb
  • http://orgams.wikidot.com/
    • OrgaMS!
    • Awards
Re: Hello CPC Wiki !
« Reply #8 on: 18:57, 22 July 21 »
I wouldn't say unsuccessful. Actually I find it quite promising.
More details in the link shared above.
like
0
No reactions