diff --git a/Makefile b/Makefile index e66dbdb8..d1040b42 100644 --- a/Makefile +++ b/Makefile @@ -50,8 +50,13 @@ astrolibre.b64.txt: astrolibre.rom VERSION := $(shell git tag -l --points-at HEAD) -sync: dist +syncdev: dist + cp config.js $(TMP) + aws --profile pzp s3 sync --follow-symlinks $(TMP)/ s3://8bitworkshop.com/dev + +syncprod: dist @[ "${VERSION}" ] || ( echo ">> No version set at HEAD, tag it first"; exit 1 ) echo Version: $(VERSION) cp config.js $(TMP) - aws --profile pzp s3 sync $(TMP)/ s3://8bitworkshop/dev + aws --profile pzp s3 sync --follow-symlinks $(TMP)/ s3://8bitworkshop.com/v$(VERSION) + diff --git a/README.md b/README.md index 544b5b24..fae846aa 100644 --- a/README.md +++ b/README.md @@ -65,6 +65,8 @@ The IDE uses custom forks for many of these, found at https://github.com/sehugg? * http://mcpp.sourceforge.net/ * http://www.ifarchive.org/indexes/if-archiveXinfocomXcompilersXinform6.html * https://github.com/dmsc/fastbasic +* https://github.com/wiz-lang/wiz +* https://github.com/sylefeb/Silice ### Assemblers/Linkers @@ -86,3 +88,9 @@ The IDE uses custom forks for many of these, found at https://github.com/sehugg? * https://github.com/MEGA65/open-roms * https://sourceforge.net/projects/cbios/ * https://www.pledgebank.com/opense + +### Related Projects + +* https://github.com/sehugg/8bitworkshop-compilers +* https://github.com/sehugg/8bit-tools +* https://github.com/sehugg/awesome-8bitgamedev diff --git a/doc/notes.txt b/doc/notes.txt index 369865b7..88658f08 100644 --- a/doc/notes.txt +++ b/doc/notes.txt @@ -156,6 +156,8 @@ TODO: - better text/binary detection (e.g. 0xa9 copyright) - going into repo chooses wrong file if republished with different main - renaming main file doesn't change repo def. + - can't edit or push files until successful compile + - changing platform of repo makes one platform redirect to another platform - keyboard shortcuts - ctrl+alt+l on ubuntu locks screen - alt-D doesn't work anymore @@ -527,3 +529,15 @@ Use tick() and refresh(), not callbacks Show current datum when using READ Use https://codemirror.net/doc/manual.html#markText Reset doesn't break @ start unless debugging tools expanded + + +PORTING CC65 TO IDE + +flat directory for .c files +#include "file.h" vs +//#link "foo.c" for each C file +preprocessor differences (#define FOO 1 so #if works) +extern void do_func(void) +#pragma warnings +CFG files + diff --git a/src/ide/ui.ts b/src/ide/ui.ts index 44ea1529..a5906d20 100644 --- a/src/ide/ui.ts +++ b/src/ide/ui.ts @@ -2207,6 +2207,7 @@ export async function startUI() { return; } // add default platform? + // TODO: do this after repo_id platform_id = qs['platform'] || (hasLocalStorage && localStorage.getItem("__lastplatform")); if (!platform_id) { platform_id = qs['platform'] = "vcs"; @@ -2217,7 +2218,7 @@ export async function startUI() { var repo = getRepos()[repo_id]; if (repo) { qs['repo'] = repo_id; - if (repo.platform_id) + if (repo.platform_id && !qs['platform']) qs['platform'] = platform_id = repo.platform_id; if (!qs['file']) qs['file'] = repo.mainPath;