From be35aa931549ad6b41d5c758104af9060a07d669 Mon Sep 17 00:00:00 2001 From: Will Scullin Date: Sun, 21 Feb 2021 18:38:21 -0800 Subject: [PATCH] NTSC shader (#58) Incorporate a real NTSC shader. --- .github/workflows/nodejs.yml | 5 +- apple2js.html | 15 +- apple2jse.html | 15 +- css/apple2.css | 9 +- js/apple2.ts | 50 +- js/apple2io.ts | 34 +- js/canvas.ts | 265 ++++------ js/cards/videoterm.js | 9 +- js/gl.ts | 942 +++++++++++++++++++++++++++++++++++ js/main2.js | 27 +- js/main2e.js | 26 +- js/mmu.ts | 2 +- js/prefs.ts | 14 +- js/types.ts | 21 +- js/ui/apple2.js | 25 +- js/videomodes.ts | 75 +++ package-lock.json | 13 +- package.json | 1 + tsconfig.json | 4 +- types/apple2shader.d.ts | 3 + 20 files changed, 1278 insertions(+), 277 deletions(-) create mode 100644 js/gl.ts create mode 100644 js/videomodes.ts create mode 100644 types/apple2shader.d.ts diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 53e25ee..070db9f 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -12,11 +12,14 @@ jobs: node-version: [12.x] steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} + - uses: webfactory/ssh-agent@v0.5.0 + with: + ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} - name: npm install, build, and test run: | npm ci diff --git a/apple2js.html b/apple2js.html index 2a365c2..3f0b9b2 100644 --- a/apple2js.html +++ b/apple2js.html @@ -46,7 +46,7 @@
- +
@@ -195,10 +195,10 @@

Monitor

Sound

- +
@@ -200,10 +200,10 @@

Monitor

Sound