Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: PC Engine #173

Open
tcalospora opened this issue Sep 15, 2023 · 8 comments
Open

Feature Request: PC Engine #173

tcalospora opened this issue Sep 15, 2023 · 8 comments

Comments

@tcalospora
Copy link

No description provided.

@sehugg
Copy link
Owner

sehugg commented Oct 12, 2023

I have gotten a few requests for PC Engine, I think it's pretty feasible, since it has no BIOS and supported by CC65.

@sehugg
Copy link
Owner

sehugg commented Nov 1, 2023

Trick or treat, PC Engine is started:

https://sehugg.github.io/8bitworkshop/?platform=pce

Needs debugging support (porting the jspce emulator to the Machine interface)
Needs more code samples (we have CC65, CA65 and Wiz)
Probably could add to Dithertron too, but what format(s)?

@langel
Copy link

langel commented Nov 6, 2023

Wow this is really exciting! :D
Makes me curious why NES uses DASM instead of CA65 though?

@sehugg
Copy link
Owner

sehugg commented Nov 6, 2023

NES supports CA65, see https://8bitworkshop.com/projects/?n=nes/NES-ca65-example

DASM is a little easier for simple examples because it lacks a config file and everything is pretty transparent.

@langel
Copy link

langel commented Nov 7, 2023

wow I had no idea... so when creating a ca64 project you start with a .s file?

also does ca65 support the extra opcodes that the PCE has like stz and the transfer block data instructions?

@sehugg
Copy link
Owner

sehugg commented Nov 19, 2023

CA65 seems to support it, but I only tried this:

.setcpu "HuC6280"
.global _do_something
_do_something:
    tam #2
    rts

You have to use the extension ".ca65" or ".s" but you can link to an existing C file.

@langel
Copy link

langel commented Nov 19, 2023

thanks 👍

@tcalospora
Copy link
Author

DASM doesn't support the extra opcodes, you'll need to implement them as macros or as raw data inserts. Apologies for necroposting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants