From 921d2b2253e9f1fc2451f529f05eff5afbbbaf70 Mon Sep 17 00:00:00 2001 From: Steven Hugg Date: Thu, 2 Jul 2020 12:33:22 -0500 Subject: [PATCH] added ZX Spectrum 48k --- README.md | 2 +- index.html | 3 +- presets/zx/bios.c | 68 ++++ presets/zx/bios.h | 10 + presets/zx/cosmic.c | 627 +++++++++++++++++++++++++++++++++++++ presets/zx/hello.asm | 20 ++ res/zx.bios | Bin 0 -> 16384 bytes res/zx.wasm | Bin 0 -> 72098 bytes src/common/baseplatform.ts | 2 + src/ide/ui.ts | 4 +- src/machine/zx.ts | 121 +++++++ src/platform/zx.ts | 40 +++ src/worker/workermain.ts | 10 +- 13 files changed, 899 insertions(+), 8 deletions(-) create mode 100644 presets/zx/bios.c create mode 100644 presets/zx/bios.h create mode 100644 presets/zx/cosmic.c create mode 100644 presets/zx/hello.asm create mode 100755 res/zx.bios create mode 100755 res/zx.wasm create mode 100644 src/machine/zx.ts create mode 100644 src/platform/zx.ts diff --git a/README.md b/README.md index ef693b59..60b2f0da 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ unless otherwise licensed. ## Dependencies -Many of these use custom forks found at https://github.com/sehugg?tab=repositories +The IDE uses custom forks for many of these, found at https://github.com/sehugg?tab=repositories ### Emulators diff --git a/index.html b/index.html index 4f909519..401e3652 100644 --- a/index.html +++ b/index.html @@ -184,10 +184,11 @@ if (window.location.host.endsWith('8bitworkshop.com')) {