diff --git a/package.json b/package.json index 7492eeeed..c639567fd 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "zed-software-system", "private": true, - "version": "0.20.22", + "version": "0.20.23", "type": "module", "scripts": { "sloc": "npx sloc zss", diff --git a/zss/chip.ts b/zss/chip.ts index ca66b66bc..d778e0fe5 100644 --- a/zss/chip.ts +++ b/zss/chip.ts @@ -23,7 +23,7 @@ import { memoryclearflags, memoryreadflags } from './memory' import { ARG_TYPE, READ_CONTEXT, readargs } from './words/reader' import { WORD, WORD_RESULT } from './words/types' -export const CONFIG = { HALT_AT_COUNT: 64 } +export const CONFIG = { HALT_AT_COUNT: 96 } export type MESSAGE = { id: string diff --git a/zss/device/synth.ts b/zss/device/synth.ts index 1c957b2e3..074a10726 100644 --- a/zss/device/synth.ts +++ b/zss/device/synth.ts @@ -21,14 +21,14 @@ import { } from 'tone' import { createdevice } from 'zss/device' import { ECHO_OFF, ECHO_ON } from 'zss/gadget/audio/fx' -import { createsource } from 'zss/gadget/audio/source' -import { clamp } from 'zss/mapping/number' import { invokeplay, parseplay, SYNTH_INVOKE, SYNTH_NOTE_ON, -} from 'zss/mapping/play' +} from 'zss/gadget/audio/play' +import { createsource } from 'zss/gadget/audio/source' +import { clamp } from 'zss/mapping/number' import { isarray, isnumber, ispresent, isstring } from 'zss/mapping/types' import { NAME } from 'zss/words/types' diff --git a/zss/mapping/play.ts b/zss/gadget/audio/play.ts similarity index 98% rename from zss/mapping/play.ts rename to zss/gadget/audio/play.ts index 8b5a6eebb..15142bef8 100644 --- a/zss/mapping/play.ts +++ b/zss/gadget/audio/play.ts @@ -1,6 +1,5 @@ import * as Tone from 'tone' - -import { isnumber, ispresent } from './types' +import { isnumber, ispresent } from 'zss/mapping/types' export enum SYNTH_OP { OFF, diff --git a/zss/memory/index.ts b/zss/memory/index.ts index 51b5ff38b..0f84d7518 100644 --- a/zss/memory/index.ts +++ b/zss/memory/index.ts @@ -452,7 +452,7 @@ export function memorytick() { // loaders get more processing time const resethalt = CONFIG.HALT_AT_COUNT - CONFIG.HALT_AT_COUNT = resethalt * 32 + CONFIG.HALT_AT_COUNT = 256 // update loaders MEMORY.loaders.forEach((code, id) => {