Files
SplitBit-Emulator/Programs/Tunes/two.score
T
AnachronautandClaude Opus 5 dfc9d9ef7f A score is written and a tune is what the machine reads
The convention, at the user's asking, and it is the one this project
already has everywhere else: a .asm is written and a .sbx or a .bin is
what the machine loads. A .score and a .tune are the same pair one
subject along.

It is not only tidiness. I read the user's splash.tune as a compiled tune
yesterday, dumped its header, and got a tick of seven and a half million
cycles and ninety seven patches out of what was plainly a text file.
Different names make that a thing nobody has to notice.

AND THE SPLASH WAS SILENT ON THE DISK THAT MATTERS. The play disk mirrors
every .asm and puts every app, and nothing on it put a compiled tune - so
make run-cosmos and make run-voyager both booted a Lander that read
/splash.tune, did not find one, and held the logo in silence. Only the
test disk had it, because I had added it there and stopped.

The makefile now compiles Programs/Tunes/splash.score with TuneC and puts
the result on the disk, and the mirror's prerequisite list learned about
.score files so that changing the music rebuilds the disk. That is the
same failure the mirror was built for, in a file type the mirror did not
know about yet: tune.asm went into Examples once, the image was not
remade, and it was simply not there.

Measured on the real disk: music from 0.9 s to 9.6 s.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01E2JrLzFvuFX9fgi1LDRjrW
2026-09-06 10:24:39 -04:00

25 lines
765 B
Plaintext

; two.score
; The smallest thing that is a tune: one voice, two sequences, and an instrument change.
; Written by Anachronaut
;
; BOTH NOTES ARE NUMBER 60. The octave between them is the #Use in the second sequence, which
; loads the other patch - so what this plays says the whole path works: a header, a tick taken
; from it, two tables relocated, an order list followed, and a patch out of the file.
#Tick 0d125000 ; A sixteenth note at 120 beats a minute.
#Patch Low low.patch
#Patch High high.patch
#Voice 0d0 Low ; What voice nought starts on. The other three have no part.
#Sequence Plain
0d60 0d4
#Sequence Octave
#Use High ; A command, which takes no tick at all.
0d60 0d4
#Order 0d0
Plain Octave