Cate compiler

developing/porting a new game or gaming framework? post in here!
Post Reply
User avatar
oss003
Posts: 3849
Joined: Tue Jul 14, 2009 12:57 pm
Location: Netherlands
Contact:

Cate compiler

Post by oss003 »

Hi guys,

I don't know if anyone noticed this site but someone told me about the Cate compiler written by Inufuto ...
It's a Japenese guy and his site is Japanese .... :wink: but there is where Google translate comes in ...

The Cate compiler i's a C-like compiler for old retro systems and at the moment it supports Z80, 6800, 6502 and 6809 code.
On his site he has a collection of 11 games, each compiled for about 50 systems including the Electron and BBC ....... very impressive.
For some games, the source code is available and can be downloaded.

You can find all games and ports on: http://inufuto.web.fc2.com/8bit/
And the compiler at: https://github.com/inufuto/Cate
He is using this assembler: https://github.com/inufuto/asm8

Greetings
Kees
User avatar
BigEd
Posts: 6261
Joined: Sun Jan 24, 2010 10:24 am
Location: West Country
Contact:

Re: Cate compiler

Post by BigEd »

Interesting find! And it supports the 6809... I see it's a Visual Studio "solution" - presumably builds nicely for Windows, but only Windows...
User avatar
dominicbeesley
Posts: 2210
Joined: Tue Apr 30, 2013 12:16 pm
Contact:

Re: Cate compiler

Post by dominicbeesley »

I'll try and get a look at this this weekend.

.net is now pretty much cross platform unless you go out of your way to be windows centric so it should be possible to get it working on Linux and maybe mac os... not that I've ever done it other than getting some stuff to run on a pi a few years ago
User avatar
BigEd
Posts: 6261
Joined: Sun Jan 24, 2010 10:24 am
Location: West Country
Contact:

Re: Cate compiler

Post by BigEd »

Oh, that sounds hopeful.
User avatar
Lardo Boffin
Posts: 2977
Joined: Thu Aug 06, 2015 7:47 am
Contact:

Re: Cate compiler

Post by Lardo Boffin »

I wrote a .net program (.net core I think) designed to run on Windows and Mac and all I had to do was change between / and \ for file paths for the two systems as shown in https://github.com/LardoBoffin/Adventur ... Program.cs
Adventure Language on GitHub
Atom, issue 5, YARRB + video noise killer
Elk
A number of econetted (is that a word?) Beebs
BBC Master, Datacentre + HDD, pi co-proc, econet, NULA
User avatar
lurkio
Posts: 4351
Joined: Wed Apr 10, 2013 12:30 am
Location: Doomawangara
Contact:

Re: Cate compiler

Post by lurkio »

oss003 wrote: Fri Aug 26, 2022 3:15 pm For some games, the source code is available and can be downloaded.
Very interesting!

Do you have links to the source code for any of the games? I couldn’t find any.

:?:
User avatar
oss003
Posts: 3849
Joined: Tue Jul 14, 2009 12:57 pm
Location: Netherlands
Contact:

Re: Cate compiler

Post by oss003 »

lurkio wrote:Do you have links to the source code for any of the games? I couldn’t find any.
If you let Google translate the site to English, you can find links to the asm sources of the Electron and BBC versions. Can't find any C-sources ....

Greetings
Kees
Attachments
Screenshot_20220827-181203_Chrome.jpg
Screenshot_20220827-181216_Chrome.jpg
User avatar
Cybershark
Posts: 736
Joined: Wed Jun 14, 2006 11:16 pm
Contact:

Re: Cate compiler

Post by Cybershark »

These looked like fun - and UEFs annoy me - so I threw all 10 of the BBC games together onto a disc image (with basic menu & memory relocator).
Quite some time since I wrote any BASIC, so that was a fun trip down memory lane :)

[EDIT]
Updated version with (translated) instructions included:
Inufuto-games-comp.ssd
Inufuto games compilation w/ instructions
(140 KiB) Downloaded 46 times
Last edited by Cybershark on Wed Aug 31, 2022 10:05 pm, edited 1 time in total.
User avatar
Iapetus
Posts: 81
Joined: Wed Feb 12, 2014 1:08 pm
Contact:

Re: Cate compiler

Post by Iapetus »

oss003 wrote: Fri Aug 26, 2022 3:15 pm Hi guys,

I don't know if anyone noticed this site but someone told me about the Cate compiler written by Inufuto ...
It's a Japenese guy and his site is Japanese .... :wink: but there is where Google translate comes in ...

[...]
You can find all games and ports on: http://inufuto.web.fc2.com/8bit/
And the compiler at: https://github.com/inufuto/Cate
He is using this assembler: https://github.com/inufuto/asm8

Greetings
Kees
This is very interesting, thx a lot Kees
User avatar
oss003
Posts: 3849
Joined: Tue Jul 14, 2009 12:57 pm
Location: Netherlands
Contact:

Re: Cate compiler

Post by oss003 »

Iapetus wrote:This is very interesting, thx a lot Kees
@Iapetus Your new game is also looking great ..... nice job ... =D>

You did write some other demo's in the past for the Electron and Atom, is there still any progress in developing?
It's a pitty if that work gets lost so I'll be happy to help you with finishing the Atom games if you want.

Greetings
Kees
Attachments
zezito.png
zezito.png (88.18 KiB) Viewed 3774 times
atomgame.png
User avatar
Iapetus
Posts: 81
Joined: Wed Feb 12, 2014 1:08 pm
Contact:

Re: Cate compiler

Post by Iapetus »

oss003 wrote: Wed Aug 31, 2022 8:08 pm
Iapetus wrote:This is very interesting, thx a lot Kees
@Iapetus Your new game is also looking great ..... nice job ... =D>

You did write some other demo's in the past for the Electron and Atom, is there still any progress in developing?
It's a pitty if that work gets lost so I'll be happy to help you with finishing the Atom games if you want.

Greetings
Kees
Thank you so much Kees!
I still haven't lost hope of finishing these other game projects but if I quit I will put the files online and/or send them to someone interested like you.

Recarding the Cate compiler after visiting the links you provided I noticed that I already visited the website with the games sometime in the past but I
didn't know about the C and ASM compilers!

Looking forward to seeing more original games from you. Cheers.
User avatar
Chuckie
Posts: 89
Joined: Thu Jun 20, 2019 1:21 pm
Contact:

Re: Cate compiler

Post by Chuckie »

There need to be a a google translator for assembly into English!
Post Reply

Return to “new projects in development: games”