Skip to content

TinkerOS 5.19

Latest

Choose a tag to compare

@tinkeros tinkeros released this 06 Sep 03:18
· 39 commits to main since this release

General:

This release is mainly just to get out initial multi-channel sound support which is still work in progress. Currently 9 channels (0-8) should be usable. See demo Demo/Snd/RisenMulti.HC for playing music with multiple instruments. You can also independently play different notes with different setup instruments on different channels by manually calling SndM.

Adam:

  • Multi-Channel play which acts like normal Play but using one or more specified channels public U0 PlayM(U8 *st,U8 *words=NULL, I64 ch_start=0, I64 ch_end=0)

Apps:

  • Cube now has x key to form + of the same color on top of cube to help get started
  • Cube fixed a possible hang scenario

Demo:

  • Extended OPL code to allow usage of 9 channels instead of just one. Added optional channel argument to pretty much every function (SetFreq, SetVolume, SetKeyState, OPLBeep, U64Inst, RandInst, PickInst, etc)
  • Added Demo/Snd/RisenMulti.HC - Demo that plays risen with different channels and/or more than one channel

Kernel:

  • Added multi-channel Snd function variant U0 SndM(I8 ona=0, I64 chan=0) which can play an ona on any channel that has been properly setup when in OPL mode (does not work with the PC speaker or other non-OPL sound backends)

Note: ISOs will NOT boot from USB, if you want to use USB you must use the .img file.