1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2024-12-21 06:29:48 +00:00
Commit Graph

1341 Commits

Author SHA1 Message Date
Steven Hugg
d87a05747e ecs: only register events when used in a system instance 2022-02-24 12:59:45 -06:00
Steven Hugg
37b3d58de0 wasm: fixed unit tests 2022-02-24 12:36:05 -06:00
Steven Hugg
30db34837c nes: updated memory map 2022-02-24 12:27:56 -06:00
Steven Hugg
e7e5ea7847 ecs: skip parsing demo if not in main file 2022-02-24 11:35:20 -06:00
Steven Hugg
75fb2a8e5c worker: debuginfo passed thru to link step 2022-02-24 09:48:54 -06:00
Steven Hugg
ec089b2d89 vic20: sort of functional (need res/vic20.bios, basic+chars+kernel) 2022-02-23 15:57:27 -06:00
Steven Hugg
c9e75ae77d ecs: EVENT__xxx defines 2022-02-23 12:13:55 -06:00
Steven Hugg
5afd3cf498 ecs: better subroutine finding 2022-02-23 11:07:09 -06:00
Steven Hugg
f7099b8e8f ecs: enum keyword, entity.field constants 2022-02-22 23:26:40 -06:00
Steven Hugg
fdd7d79aaa fixed williams test, github build stops if test fails 2022-02-22 13:36:10 -06:00
Steven Hugg
6ca0a707e1 Merge branch 'master' into ecs 2022-02-22 11:49:13 -06:00
Steven Hugg
3d05c0ed1a ecs: use name2cfpairs, fixed identity thing, test errors 2022-02-22 11:06:50 -06:00
Steven Hugg
37edd8268a ecs: shared init data 2022-02-22 10:42:23 -06:00
Steven Hugg
b9fc162885 cmoc: better listing parser, williams: updated presets 2022-02-22 09:48:41 -06:00
Steven Hugg
8c63bef8c9 williams: options=rotate%3D<deg> 2022-02-21 21:23:10 -06:00
Steven Hugg
0682af1eed fixed atari-vector 6502, pass options=... to platform constructor 2022-02-21 16:54:33 -06:00
Steven Hugg
9351406450 ecs: set up for nes 2022-02-21 10:36:32 -06:00
Steven Hugg
1d3b8ab99c github: load config.js from 8bitworkshop.com 2022-02-21 09:39:49 -06:00
Steven Hugg
07c0ae2f9c ecs: default field values 2022-02-20 19:28:12 -06:00
Steven Hugg
a444de693b ecs: field, ref type checking, start cmd 2022-02-20 09:59:46 -06:00
Steven Hugg
7767608595 ecs: query takes [#entity] list 2022-02-19 22:28:14 -06:00
Steven Hugg
38462bceac ecs: added eid cmd 2022-02-19 17:52:24 -06:00
Steven Hugg
eb30e5cf85 ecs: automatically init bss when 'start' event 2022-02-19 17:34:23 -06:00
Steven Hugg
7b9f635bc0 editor: set focus when switching between files 2022-02-19 17:27:26 -06:00
Steven Hugg
d96296675b ecs: accept 0/1 for bitmaps 2022-02-19 16:19:16 -06:00
Steven Hugg
479c2f24b8 ecs: unroll keyword 2022-02-19 15:39:44 -06:00
Steven Hugg
3fe2a151da ecs: show svg of bin packing, fixed bug 2022-02-19 14:44:20 -06:00
Steven Hugg
c73c5ee185 ecs: check page boundary for critical subs 2022-02-19 11:51:48 -06:00
Steven Hugg
600e62f0c6 worker: can return listings with error result 2022-02-19 11:43:40 -06:00
Steven Hugg
38920c6dce ca65: return listings if errors 2022-02-19 11:35:30 -06:00
Steven Hugg
349c45d7c0 ecs: fold common subroutines, align/page crossing 2022-02-19 11:35:25 -06:00
Steven Hugg
a87dbf03cf ecs: resources have their own labels, auto-find resources 2022-02-19 03:25:50 -06:00
Steven Hugg
2d02b64464 williams: working on cmoc 2022-02-18 14:15:30 -06:00
Steven Hugg
d61e2391ce ecs: highlighting changes 2022-02-18 12:34:09 -06:00
Steven Hugg
73ab50f9b6 Merge branch 'master' into ecs 2022-02-18 11:01:43 -06:00
Steven Hugg
4749e18b35 ecs: critical code, sorta 2022-02-17 12:52:35 -06:00
Steven Hugg
b4dbcb83eb ecs: temp symbols, not equates 2022-02-17 09:58:13 -06:00
Steven Hugg
75f36d95dc ecs: const, multiple sys instances for params 2022-02-17 09:48:50 -06:00
Steven Hugg
0451e8ea33 ecs: fixed indexregister offset, for now 2022-02-16 21:46:50 -06:00
Steven Hugg
c7f0fd4cd0 vcs: scanline io viewer logs i/o only 2022-02-16 19:19:46 -06:00
Steven Hugg
a425012b2b ecs: started w/ new IndexRegister 2022-02-16 14:21:46 -06:00
Steven Hugg
3268925638 ecs: tests, refactor, event args, fixed c.f 2022-02-16 11:32:41 -06:00
Steven Hugg
10baf3abc6 vcs: scanline io viewer logs i/o only 2022-02-15 14:20:19 -06:00
Steven Hugg
fbe07c33d2 ecs: playfield decoder 2022-02-15 10:46:50 -06:00
Steven Hugg
4f05ea487b 6809: updated lwasm for raw targets (.asm extension) 2022-02-14 20:35:42 -06:00
Steven Hugg
1a062650ad fixed more repo= qs stuff 2022-02-13 13:25:57 -06:00
Steven Hugg
f73e1dbf66 added testimport.js, fixed repo= qs handling 2022-02-13 12:47:33 -06:00
Steven Hugg
e461ae41d9 ecs: no actionstats 2022-02-11 10:25:35 -06:00
Steven Hugg
4584cc778f ecs: system instance, with #entity.field 2022-02-10 21:53:28 -06:00
Steven Hugg
acb50ac4b9 ecs: changed constant array declaraiton 2022-02-10 15:33:27 -06:00
Steven Hugg
bea49e2b11 ecs: var/init/const allocation 2022-02-10 12:56:01 -06:00
Steven Hugg
fc0a43b9af ecs: forward entity refs, deferred components, %binary 2022-02-10 11:11:35 -06:00
Steven Hugg
999aed9cb4 ecs: data <field>, 48 pixel decoder 2022-02-09 14:38:10 -06:00
Steven Hugg
5081307d81 ecs: bin pack temp vars 2022-02-09 10:22:45 -06:00
Steven Hugg
bc7cd6f1a3 ecs: temp vars 2022-02-08 22:21:23 -06:00
Steven Hugg
01056c66a8 ecs: sys, action stats 2022-02-08 20:40:36 -06:00
Steven Hugg
dda51c3467 ecs: asc desc 2022-02-08 12:43:41 -06:00
Steven Hugg
2dfe65932b ecs: test files 2022-02-08 06:03:43 -06:00
Steven Hugg
109e60ae10 ecs: Init, main_init, bss_init 2022-02-07 14:42:23 -06:00
Steven Hugg
e3d54b9150 ecs: don't need archetypematch? 2022-02-06 11:27:08 -06:00
Steven Hugg
d986cda3b3 ecs: start tests 2022-02-05 22:23:24 -06:00
Steven Hugg
0904e83bf6 ecs: decoders 2022-02-05 20:28:23 -06:00
Steven Hugg
3a77e31e47 ecs: baseoffset 2022-02-04 20:10:28 -06:00
Steven Hugg
1f64a623aa ecs: fixed eidofs 2022-02-04 14:51:53 -06:00
Steven Hugg
2d5eec8ba3 ecs: moved everything to dialect 2022-02-04 11:48:07 -06:00
Steven Hugg
186baf8c13 fixed ca65 listings 2022-02-04 08:25:31 -06:00
Steven Hugg
40ca02fc6b ecs: separate temp regions for now 2022-02-03 22:38:35 -06:00
Steven Hugg
dbc84c94b2 ecs: no error if select is empty 2022-02-03 20:42:41 -06:00
Steven Hugg
8b23e9872e fixed bug when importing github project on first IDE run 2022-02-03 18:52:40 -06:00
Steven Hugg
513fb85b8e ecs: fixed import 2022-02-03 18:40:34 -06:00
Steven Hugg
01de3b8d6b ecs: local system 2022-02-03 17:14:03 -06:00
Steven Hugg
51f0f6ffea ecs: entity.lookup 2022-02-03 16:44:43 -06:00
Steven Hugg
a66d060c08 ecs: scope events 2022-02-03 16:04:48 -06:00
Steven Hugg
167dff50a5 ecs: refactored limit, loops, but needs more 2022-02-03 15:44:58 -06:00
Steven Hugg
5d3cae4804 ecs: -query, get/set, imported 2022-02-03 13:38:09 -06:00
Steven Hugg
bc3b2cd81d ecs: with/if 2022-02-03 09:24:18 -06:00
Steven Hugg
a7f708a303 ecs: better with filter 2022-02-03 08:54:46 -06:00
Steven Hugg
c299bcddae ecs: with, select queries 2022-02-03 07:44:47 -06:00
Steven Hugg
dcb11a7080 ecs: import 2022-02-02 20:27:58 -06:00
Steven Hugg
83238f30f1 ecs: scoping, start labels, subscopes (need unions for data) 2022-02-02 18:15:04 -06:00
Steven Hugg
b28a4b5be4 ecs: using, fixed tokenizer start/end column 2022-02-02 16:49:01 -06:00
Steven Hugg
d9b8b8b7d3 ecs: refactor, QueryResult, filter 2022-02-02 14:41:40 -06:00
Steven Hugg
2dea6b1fcf Merge branch 'master' into ecs 2022-02-01 11:36:43 -06:00
Steven Hugg
4076b742fe
Merge pull request #94 from micahcowan/kbdinput
Grab control-key keyboard input
2022-02-01 11:35:56 -06:00
Steven Hugg
e439f16249
Merge pull request #93 from micahcowan/apple2
Apple2: Allow uploaded firmware ROM replacement
2022-02-01 11:35:45 -06:00
Steven Hugg
7759cc52f1 ecs: can use {{cmd args...}} format 2022-02-01 11:31:39 -06:00
Steven Hugg
4e5beb6c74 tokenizer is no longer line-based 2022-02-01 09:49:49 -06:00
Steven Hugg
40cc5ee118 ecs: refactor into ActionEval 2022-02-01 08:16:53 -06:00
Steven Hugg
10784585d9 ecs: codesegment vs data 2022-02-01 08:07:33 -06:00
Steven Hugg
0803b80485 ecs: fixed init 16-bit values 2022-01-31 21:50:45 -06:00
Steven Hugg
ce1c444900 ecs: trying to do arrays, scores 2022-01-31 19:05:45 -06:00
Steven Hugg
ec73e41f8c ecs: resources 2022-01-31 12:11:50 -06:00
Steven Hugg
87eb8e2f05 ecs: event2system 2022-01-31 09:48:19 -06:00
Steven Hugg
c54b6a1150 ecs: {{%props}}, ecs errors w/ $loc 2022-01-31 09:03:05 -06:00
Steven Hugg
249d4735eb ecs: added join, limit, fixed some things, took out ca65 listing for now 2022-01-30 10:11:04 -06:00
Steven Hugg
69cd28aa0e codemirror ecs mode 2022-01-29 20:36:36 -06:00
Steven Hugg
ce21eb29e5 moved SourceLocated to workertypes 2022-01-29 13:07:21 -06:00
Steven Hugg
0784eb8f77 cc65 uses fs65-none library 2022-01-29 12:47:37 -06:00
Steven Hugg
9b6f797451 ecs: debug info 2022-01-29 12:47:37 -06:00
Steven Hugg
3f241bfcc2 ecs: worker tool 2022-01-29 12:47:37 -06:00
Steven Hugg
8b96c746a2 ecs: ref types? 2022-01-29 12:47:37 -06:00
Steven Hugg
310ce87bcc ecs: actions emit? 2022-01-29 12:47:37 -06:00
Steven Hugg
d2caee8cc3 use {{ }} delimiters, tokenizer, testecs, compiler 2022-01-29 12:47:37 -06:00
Steven Hugg
46f6063929 typescript unit tests in src/test 2022-01-29 12:47:37 -06:00
Steven Hugg
dd5a95688f ecs: dialect 2022-01-29 12:47:37 -06:00
Steven Hugg
b0810a2f66 ecs: yaml? 2022-01-29 12:47:37 -06:00
Steven Hugg
44ffa5e988 ecs: allocate init data table 2022-01-29 12:47:37 -06:00
Steven Hugg
ba73d7bb19 ecs: all includes[] must be present 2022-01-29 12:47:37 -06:00
Steven Hugg
c022c16dc2 ecs: const values 2022-01-29 12:47:37 -06:00
Steven Hugg
47461b5a28 ecs: actions have queries 2022-01-29 12:47:37 -06:00
Steven Hugg
4c2442dd90 ecs: use ca65 syntax 2022-01-29 12:47:37 -06:00
Steven Hugg
37167a2202 ecs init values 2022-01-29 12:47:37 -06:00
Steven Hugg
b00d43d1ea ecs 1st compile 2022-01-29 12:47:37 -06:00
Steven Hugg
3f87b5dbb8 ecs branch 2022-01-29 12:47:37 -06:00
Steven Hugg
0cc8d1bc37 ca65: fixed line numbers(?) 2022-01-29 12:47:27 -06:00
Micah Cowan
9df41590be apple2: Ctrl+Bksp -> soft RESET 2022-01-28 23:44:03 -08:00
Micah Cowan
45ee1b5c28 Capture Ctrl keys in keydown, not keypress 2022-01-28 23:44:03 -08:00
Micah Cowan
3681bc65e8 apple2: don't modify uploaded ROMs with RTS byte 2022-01-28 23:42:23 -08:00
Micah Cowan
fc59dd30c3 apple2: repair "DOS fake" bytes after loadROM 2022-01-28 23:42:23 -08:00
Micah Cowan
7071f70bb2 apple2: force hard resets, fixing loadROM 2022-01-28 23:42:23 -08:00
Micah Cowan
c58d999ee4 apple2 fakeDrive: PROM bytes on read, JMP on exec 2022-01-28 23:42:23 -08:00
Micah Cowan
8e3f929098 apple2: allow mis-sized BIOS files 2022-01-28 23:42:23 -08:00
Micah Cowan
5970ae5bcc apple2: implement loadBIOS / apple2.rom 2022-01-28 23:42:23 -08:00
Steven Hugg
b3d42f944b ca65: parse new error msgs 2022-01-27 08:42:05 -06:00
Steven Hugg
0b059b48f5 updated atari8 cc65 fs, ignore cc65 warning 2022-01-26 10:54:17 -06:00
Steven Hugg
3244c17ce1 removed electron, upgrade npm pkgs 2022-01-25 09:32:40 -06:00
Steven Hugg
73389b1d1d fixed some cc65 stuff, wiz too 2022-01-24 18:51:39 -06:00
Steven Hugg
c42beda98f upgraded cc65 2022-01-24 13:26:11 -06:00
Steven Hugg
0345834bb5 updated wiz.wasm 2022-01-22 20:17:47 -06:00
Steven Hugg
82ebc47caa cpc: music player 2021-12-22 08:50:02 -06:00
Steven Hugg
6c0c610514 vcs: resizeobserver
cpc: siege game
2021-12-03 08:25:57 -06:00
Steven Hugg
c3403a0506 cpc: cpctelera, start @ 0x4000, new vsync 2021-12-02 13:01:02 -06:00
Steven Hugg
68320b8ee9 Merge branch 'master' of github.com:sehugg/8bitworkshop 2021-12-01 14:08:42 -06:00
Steven Hugg
8fa0389da1 cpc: started investigation, cpcrslib, aspect 2021-12-01 14:03:26 -06:00
kremnev8
dc8eca58ff Fix asset editor issues on verilog-vga platform 2021-10-15 21:51:54 +03:00
Steven Hugg
97248cf399 vcs: listen for kbd on emulator div 2021-09-20 16:08:31 -05:00
Steven Hugg
9f171bcf75 github: added octokat.js back in 2021-09-15 21:53:38 -05:00
Steven Hugg
9a2e411587 added vcs.stellerator platform 2021-09-15 14:41:25 -05:00
Steven Hugg
6441129dc1 scripting: use persistent store 2021-09-15 09:52:08 -05:00
Steven Hugg
1d66f77f9a scripting: dropdown mode for ui.select 2021-08-30 12:07:56 -05:00
Steven Hugg
5542555193 scripting: fixed cache, io.module(), return values, button, blank() 2021-08-27 10:42:02 -05:00
Steven Hugg
6343c75953 scripting: io.mutable(), $ vs $$ 2021-08-23 11:17:23 -05:00
Steven Hugg
005adcc9ba scripting: updates, moved interact to ui pkg 2021-08-23 09:10:12 -05:00
Steven Hugg
65a16db7b7 scripting: don't need $$reset (i think?) 2021-08-22 14:51:42 -05:00
Steven Hugg
8fc94aad25 scripting: started on interact(), ui.select, chromas 2021-08-22 12:39:03 -05:00
Steven Hugg
6cee4e26e4 scripting: print(), css, palette layout, flex
make syncdev/prod: fixed mime type upload
2021-08-20 12:25:05 -05:00
Steven Hugg
9076ede5c1 scripting: use chroma-js 2021-08-18 15:40:50 -05:00
Steven Hugg
05ab17d3da ui: don't print alert if lose visibility before compile 2021-08-17 20:01:43 -05:00
Steven Hugg
6134a8c89c scripting: working on notebook, functions, files, setItem(), fixed tests 2021-08-17 19:38:48 -05:00
Steven Hugg
7f86ed0cb6 use preact for scripting notebook, moved files 2021-08-14 22:05:24 -05:00
Steven Hugg
a8b2b7c043 starting on js scripting language; worker msgs can run async functions (but we don't need to ... yet) 2021-08-13 21:23:23 -05:00
Steven Hugg
bd00d98b77 split workermain into tools/* modules; share parseXMLPoorly() 2021-08-12 13:51:10 -05:00
Steven Hugg
a12d1a0638 removed redundant 'use strict' from ts files 2021-08-11 11:18:41 -05:00
Steven Hugg
f073ce2350 updated worker with result type-checking 2021-08-08 13:54:20 -05:00
Steven Hugg
505492d1c7 renamed embed.html to player.html 2021-08-07 09:04:17 -05:00
Steven Hugg
0bb450944c rewrote AnimationTimer loop, use setTimeout() 2021-08-07 08:41:28 -05:00
Steven Hugg
5eb3e864fb fixed file upload after esbuild refactor 2021-08-06 21:02:45 -05:00
Steven Hugg
79b1d8ba4b fixed saveAs; more async usage; importURL ignores if embed=1/ignore=1 2021-08-06 11:53:02 -05:00
Steven Hugg
42f3febb29 vcs: moved Javatari to loadScript() in Platform.start() 2021-08-06 09:07:40 -05:00
Steven Hugg
4cb8b890da moved firebase imports to dynamic load 2021-08-06 08:50:40 -05:00
Steven Hugg
f5ba481c1d intro tour: dynamic import of .js file; renamed 6809.js to .ts 2021-08-06 08:10:13 -05:00
Steven Hugg
6f6b617723 embed: use IntersectionObserver to load/pause/resume when scrolling 2021-08-05 21:14:47 -05:00
Steven Hugg
ed41c1fb2a split baseplatform.ts into mame/wasm 2021-08-05 19:16:13 -05:00
Steven Hugg
e1b6a2397d add highlight=<start>,<end> option in query string 2021-08-05 16:51:29 -05:00
Steven Hugg
be679ecc10 fixed unit tests 2021-08-04 21:20:55 -05:00
Steven Hugg
df44459c7a fixed AnimationTimer w/ requestAnimationFrame (nes) 2021-08-04 21:09:25 -05:00
Steven Hugg
dd57c65897 moved octokat to import(), removed unused lib/ files 2021-08-04 20:48:50 -05:00
Steven Hugg
91d0031366 split ide/views.ts into ide/views/* 2021-08-04 17:57:43 -05:00
Steven Hugg
8f6432f0d4 refactoring: UIQueryString UserPrefs, moved createNewPersistentStore, es2017, fixed tests, style changes for embed 2021-08-04 16:54:01 -05:00
Steven Hugg
ef01639a06 embed=1 uses referrer as storage location; use requestAnimationFrame() 2021-08-03 19:33:29 -05:00
Steven Hugg
a1e2e2aafc moved clipboard, jszip, FileSaver libs to import(), fixed embed 2021-08-03 14:48:14 -05:00
Steven Hugg
e00819da59 fixed error when platform is invalid 2021-08-02 14:08:07 -05:00
Steven Hugg
4506ebd7e0 started migration to esbuild modules 2021-08-02 08:32:46 -05:00
Steven Hugg
5c52862a0b mame: made 6502/z80 subclasses 2021-07-31 17:01:19 -05:00
Steven Hugg
34322dd3d7 worker: convert globals to FileWorkingStore and Builder classes, emscripten types 2021-07-30 20:09:28 -05:00
Steven Hugg
29f0238b90 worker: use imports instead of require() 2021-07-30 09:54:35 -05:00
Steven Hugg
f3bf1602d5 started bundling worker with esbuild 2021-07-27 11:13:58 -05:00
Steven Hugg
55735b4039 starting on WASI emulator support, atari800 2021-07-27 11:13:50 -05:00
Steven Hugg
820985cb73 revert back to single tsconfig.json 2021-07-24 11:40:46 -05:00
Steven Hugg
f634007e51 verilog: genModuleSync (for testing) 2021-07-24 09:40:55 -05:00
Steven Hugg
658e161550 removed store.ts, working on local fs (https://web.dev/file-system-access/) 2021-07-22 11:14:05 -05:00
Steven Hugg
e82245d7bd worker: uses import and require() 2021-07-22 11:14:05 -05:00
Steven Hugg
954490e1b6 forgot to commit src/worker/loader.ts 2021-07-22 11:14:05 -05:00
Steven Hugg
d388bc84b8 verilog: new hex format for value labels 2021-07-22 09:28:30 -05:00
Steven Hugg
bb818c34f8 verilog: fixed silice <ccast> case 2021-07-22 09:28:30 -05:00
Steven Hugg
6a21b467cf verilog: fixed keyboard strobe 2021-07-16 09:19:48 -05:00
Steven Hugg
06fb57e0d5 fixed replay panel spacing 2021-07-16 07:11:13 -05:00
Steven Hugg
a0ec21d623 cc65: can #define CC65_FLAGS <comma-separated values> 2021-07-15 13:00:38 -05:00
Steven Hugg
ab090455db williams: fixed regression 2021-07-15 11:54:50 -05:00
Steven Hugg
ff4bbaccdb verilog: added signed property to data types 2021-07-15 11:41:41 -05:00
Steven Hugg
8d756ff363 updated package-lock.json, define __MAIN__ and __8BITWORKSHOP__ for ca65 2021-07-15 11:10:37 -05:00
Steven Hugg
9f39f9c531 verilog: use --debug-check flag instead of --xml-output 2021-07-14 21:04:52 -05:00
Steven Hugg
6c704d78fe electron: open project dialog 2021-07-13 11:56:05 -05:00
Steven Hugg
04859a5360 williams-defender platform (no sound) 2021-07-13 09:46:49 -05:00
Steven Hugg
5109986557 nanoasm: fixed multi-byte fixups 2021-07-12 18:05:37 -05:00
Steven Hugg
51ee5526c9 nanoasm: added "endian":"little" attribute to variable defs 2021-07-12 13:08:34 -05:00
Steven Hugg
aa7fe61a86 verilog: disabled v4 warnings, inline asm in non-main files 2021-07-12 12:39:57 -05:00
Steven Hugg
2fba433f7a verilog: fixed reset values 2021-07-11 13:41:20 -05:00
Steven Hugg
58b49cb6f6 updated c64/zx .wasm emulators 2021-07-10 18:57:05 -05:00
Steven Hugg
1b934eb32e deleted some asm.js files, since replaced by wasm 2021-07-10 16:59:31 -05:00