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

Save to .d64 after compilation #5

Open
oliverhermanni opened this issue Sep 5, 2019 · 3 comments
Open

Save to .d64 after compilation #5

oliverhermanni opened this issue Sep 5, 2019 · 3 comments
Labels
enhancement New feature or request

Comments

@oliverhermanni
Copy link
Owner

oliverhermanni commented Sep 5, 2019

If the file is compiled successfully it'll copied onto a .d64 image.

@oliverhermanni oliverhermanni added the enhancement New feature or request label Sep 5, 2019
@neilsf
Copy link

neilsf commented Sep 5, 2019

May I rather suggest the possibility to setup different toolchain scripts in the settings. For example, one may need to compile only, compile and run, maybe see the asm output, etc...

A good example is "Compile and run scripts" in Relaunch64. Here you can add your plans and choose which script to run.

The program may then be shipped with pre-set scripts, e. g. "Compile to DASM format", "Compile to .prg", "Compile and run", etc.

@oliverhermanni
Copy link
Owner Author

oliverhermanni commented Sep 5, 2019

I'll plan to do this as an option. Not sure about scripts, though. In my idea you can specify in the (upcoming) project settings where you want the output to be created to. XC=BASIC just creates a .prg as usual, but after that the .prg might be moved into a .d64 or .crt - or just stays as a .prg. Compile (& Run) will always have the same functionality, and does the above tasks additionally.

@neilsf
Copy link

neilsf commented Sep 11, 2019

Okay, it's up to you. Just to remember, the xcbasic64 executable outputs assembly code, while the xcb bash script (or xcb.bat on WIndows) creates the final .prg file. The former is useful for debugging purposes.

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

No branches or pull requests

2 participants