online gigatron emulator and CSP errors

Using, learning, programming and modding the Gigatron and anything related.
Forum rules
Be nice. No drama.
Post Reply
fetchingcat
Posts: 4
Joined: 30 Apr 2024, 19:02

online gigatron emulator and CSP errors

Post by fetchingcat »

Anyone have any idea where the source is for https://gigatron.io/emu/ or how we could maybe fix the Content-Security-Policy errors it has? I was able to get the online emulator to work with an extension to disable the CSP errors but I was reading that it maybe possible to fix these in the pages source code. It is a nice resource and a shame it doesn't just work currently.
bmwtcu
Posts: 152
Joined: 01 Nov 2018, 12:02

Re: online gigatron emulator and CSP errors

Post by bmwtcu »

I think it's under the PhilThomas Contrib folder in the GH repo. Also have you seen this? viewtopic.php?t=459
fetchingcat
Posts: 4
Joined: 30 Apr 2024, 19:02

Re: online gigatron emulator and CSP errors

Post by fetchingcat »

Sure enough there it is. Not sure how I missed that but thanks. I've never seen this alternative emulator or perhaps more interesting that add on board before. Thanks!
fetchingcat
Posts: 4
Joined: 30 Apr 2024, 19:02

Re: online gigatron emulator and CSP errors

Post by fetchingcat »

Awesome, looks to be working now. Thank you!
lb3361
Posts: 382
Joined: 17 Feb 2021, 23:07

Re: online gigatron emulator and CSP errors

Post by lb3361 »

Awesome.

Walter:
Allow me to donate a version "emu-mscp" that directly runs Marcel's Simple Chess Program.
This has the RAM&IO board extension emulation and the custom rom.

Also emu-dev7 is an old dev7 rom. You'll find the newest ones in the same tar file if you care.
Attachments
emu-mscp.tar.gz
(208.58 KiB) Downloaded 321 times
walter
Site Admin
Posts: 164
Joined: 13 May 2018, 08:00

Re: online gigatron emulator and CSP errors

Post by walter »

Marcel would have enjoyed having MSCP running there.

https://gigatron.io/emu-mscp/ is now active.
lb3361
Posts: 382
Joined: 17 Feb 2021, 23:07

Re: online gigatron emulator and CSP errors

Post by lb3361 »

Just a question: I have a number of little improvements on the js emulation.
Where should I submit them? It does not seem right to make a GitHub pull request into somebody's Contrib code without this person input.

Examples:
- The js code assumes that native opcode st(...,X) copies the bus into X. In fact it should copy AC into X regardless of the bus.
- The loader code presses the arrow down 5 times, but some rooms have more than 5 entries to reach the Loader.
- Some browsers have trouble adjusting the speed while sound is being produced.
- Plus of course the extension and the spi emulation.
at67
Site Admin
Posts: 654
Joined: 14 May 2018, 08:29

Re: online gigatron emulator and CSP errors

Post by at67 »

You can't post into someone else's Contrib without their permission, so the only place left is your own.
lb3361
Posts: 382
Joined: 17 Feb 2021, 23:07

Re: online gigatron emulator and CSP errors

Post by lb3361 »

Makes sense. Pull request on the way for Contrib/lb3361.
Post Reply