Clearly this feature merits some discussion.

New thread: State Clearing Operators

A loose end from implementing PARAM.SCALE and IN.SCALE: the operator names!

@bpcmusic had suggested MAP as an alternative, as scale has a musical meaning.

The pull request is ready, so discussion on the feature can continue on github for those with an account.

Added to the feature list: bitwise operators!

1 Like

Added a bugfix to cause entered numeric values to saturate at the appropriate limits. (PR #128)

Alpha 1 Release

Status: Superseded by Alpha 2

Changelog:

  • NEW: new bitwise ops: &, |, BSET, BCLR, BGET
  • NEW: new ops PARAM.SCALE min max and IN.SCALE min max to add static scaling to inputs
  • NEW: blanking screensaver after 90 minutes of keyboard inactivity, any key to wake
  • NEW: new op: CHAOS chaotic sequence generator. Control with CHAOS.ALG and CHAOS.R
  • IMP: screen now redraws only lines that have changed
  • FIX: multiply now saturates at limits, previous behaviour returned 0 at overflow
  • FIX: entered values now saturate at int16 limits
  • FIX: reduced flash memory consumption by not storing TEMP script
3 Likes

Alpha 2 Release

teletype.zip (120.4 KB)

Changelog

  • FIX: missing CHAOS.ALG entries
  • FIX: live mode redraw fixup

Why this release was removed temporarily:

Short answer: compiler bug. Vexed me for a while.

1 Like

8 posts were merged into an existing topic: (Teletype) CHAOS

@Leverkusen at @sliderule’s request I moved the CHAOS discussion to the CHAOS thread.

i noticed that the shortcut for help screen is listed as Alt-?. it’s a bit confusing since the actual shortcut is Alt-Shift-/. perhaps we should allow both Alt-/ and Alt-Shift-/ to avoid confusion? (and it can stay as Alt-? in the docs).

2 Likes

Alpha 3 Release

teletype-2.2.0-alpha.3.zip (120.5 KB)

Changelog

  • CHAOS bug fixes
2 Likes

PARAM.SCALE is great.
One question though, is it normal that PARAM.SCALE 1 16 results in a maximum of 15 ?

1 Like

Before executing PARAM.SCALE, does your PARAM go all the way to 16383?

There is a bug in Alpha 3 it seems, as I’m scaling to 16384 not 16383, but that won’t make a difference if your PARAM value doesn’t go all the way.

PARAM.CAL.MAX and PARAM.CAL.MIN are on the way and will solve this problem, I’ll make bugfix at that time.

Great. Mine goes up to 16340 only.

Yeah, I am seeing slight inconsistencies with PARAM.SCALE as well.
For example

PARAM.SCALE 0 24

yields values between 0 and 23

Same comment as above. If your naked PARAM at fully-clockwise does not reach 16384, then the maximum value yielded by a scaled PARAM will be off-by-one.

Yup, my PARAM on it’s own seems to slightly fluctuate between 16320 and 16336.

thread recategorized to Development

1 Like

My screen never goes fully blank. The only thing that happens is the message “Teletype 2.2.0-Alpha.3: 2424CFF” disappears, but the prompt and top right corner symbols and text are always visible.

1 Like

Thanks for the report! This turned out to be excessive sensitivity in sampling the knob value. Fixed in…

Alpha 4

teletype.zip (120.6 KB)

Changelog

  • Fixed buffer overflow in version string display
  • Reduced knob sensitivity for screensaver wake

Alpha 5

teletype.zip (120.6 KB)

Changelog

  • Fixed bug when changing scripts in edit mode with alt-F1 et al.