Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,17 @@ distro: buildtsc
rm -r $(TMP)/doc $(TMP)/scripts $(TMP)/test* $(TMP)/tools $(TMP)/.[a-z]* $(TMP)/ts*.json # $(TMP)/meta
rm -f $(TMP)/javatari && mkdir -p $(TMP)/javatari && cp -p javatari.js/release/javatari/* $(TMP)/javatari/

tsweb: submodules node_modules
getip:
@if command -v ip > /dev/null; then \
ip addr | grep -w inet; \
elif command -v ifconfig > /dev/null; then \
ifconfig | grep -w inet; \
else \
ipconfig | grep IPv4; \
fi

tsweb: submodules node_modules getip
npm run esbuild-clean
(ip addr || ifconfig) | grep inet
trap 'kill 0' EXIT; \
make buildgrammars; \
$(TSC) -w --preserveWatchOutput & \
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ git clone -b master --single-branch git@github.com:sehugg/8bitworkshop.git
To build the 8bitworkshop IDE:

```sh
# On Windows, use the `UCRT64` shell from https://msys2.org/
# On Linux/macOS, just type:
make
```

Expand Down Expand Up @@ -51,7 +53,7 @@ Copyright © 2016-2026 [Steven E. Hugg](https://github.com/sehugg).
This project, unless specifically noted, is multi-licensed.
You may choose to adhere to the terms of either the [GPL-3.0](https://github.com/sehugg/8bitworkshop/blob/master/LICENSE) License for the entire project or respect the individual licenses of its dependencies and included code samples, as applicable.

This project includes various dependencies, modules, and components that retain their original licenses.
This project includes various dependencies, modules, and components that retain their original licenses.
For detailed licensing information for each dependency, please refer to the respective files and documentation.

All included code samples located in the `presets/` directory are licensed under
Expand Down
2 changes: 1 addition & 1 deletion src/common/baseplatform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ export function inspectSymbol(platform: Platform, sym: string): string {
////// 6502

export function getToolForFilename_6502(fn: string): string {
if (fn.endsWith("-llvm.c")) return "remote:llvm-mos";
if (fn.endsWith("-llvm.c")) return "remote_llvm-mos";
if (fn.endsWith(".c")) return "cc65";
if (fn.endsWith(".h")) return "cc65";
if (fn.endsWith(".s")) return "ca65";
Expand Down
4 changes: 2 additions & 2 deletions src/ide/ui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ const TOOL_TO_SOURCE_STYLE = {
'vasmarm': 'vasm',
'armips': 'vasm',
'ecs': 'ecs',
'remote:llvm-mos': 'text/x-csrc',
'remote_llvm-mos': 'text/x-csrc',
'cc2600': 'text/x-csrc',
'cc7800': 'text/x-csrc',
'armtcc': 'text/x-csrc',
Expand All @@ -158,7 +158,7 @@ const TOOL_TO_HELPURL = {
'silice': "https://github.com/sylefeb/Silice",
'zmac': "https://raw.githubusercontent.com/sehugg/zmac/master/doc.txt",
'cmoc': "http://perso.b2b2c.ca/~sarrazip/dev/cmoc.html",
'remote:llvm-mos': 'https://llvm-mos.org/wiki/Welcome',
'remote_llvm-mos': 'https://llvm-mos.org/wiki/Welcome',
'acme': 'https://raw.githubusercontent.com/sehugg/acme/main/docs/QuickRef.txt',
}

Expand Down
4 changes: 2 additions & 2 deletions src/platform/vcs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const VCS_PRESETS : Preset[] = [

function getToolForFilename_vcs(fn: string) {
if (fn.endsWith(".cc2600")) return "cc2600";
if (fn.endsWith("-llvm.c")) return "remote:llvm-mos";
if (fn.endsWith("-llvm.c")) return "remote_llvm-mos";
if (fn.endsWith(".wiz")) return "wiz";
if (fn.endsWith(".bb") || fn.endsWith(".bas")) return "bataribasic";
if (fn.endsWith(".ca65")) return "ca65";
Expand Down Expand Up @@ -486,7 +486,7 @@ class VCSMAMEPlatform extends BaseMAME6502Platform implements Platform {
getOriginPC = function() {
return (this.readAddress(0xfffc) | (this.readAddress(0xfffd) << 8)) & 0xffff;
}

}

////////////////
Expand Down
Loading