mirror of
https://github.com/wwarthen/RomWBW.git
synced 2026-02-06 22:43:15 -06:00
Note Terminology Follow-up, Issue #595
- The SystemGuide.md file was omitted in the last commit. - Corrected terminology in the comments of the sound drivers.
This commit is contained in:
@@ -2277,15 +2277,15 @@ using values that correspond to musical notes. The frequency will be
|
||||
applied when the next SNDPLAY function is invoked. The returned Status
|
||||
(A) is a standard HBIOS result code.
|
||||
|
||||
The Note (HL) values correspond to quarter notes. Increasing/decreasing
|
||||
the value by 4 results in a full note increment/decrement.
|
||||
The Note (HL) values correspond to eighth notes. Increasing/decreasing
|
||||
the value by 8 results in a full note increment/decrement.
|
||||
Increasing/decreasing the value by 48 results in a full octave
|
||||
increment/decrement. The value 0 corresponds to Bb/A# in octave 0.
|
||||
|
||||
The sound chip resolution and its oscillator limit the range and
|
||||
accuracy of the notes played. The typical range of the AY-3-8910 is six
|
||||
octaves: Bb2/A#2 to A7, where each value is a unique tone. Values above
|
||||
and below can still be played but each quarter tone step may not result
|
||||
and below can still be played but each eighth tone step may not result
|
||||
in a note change.
|
||||
|
||||
The following table shows the mapping of the Note (HL) value to the
|
||||
|
||||
@@ -556,10 +556,10 @@ AYT_REGWR .DB "\r\nOUT AY-3-8910 $"
|
||||
#ENDIF
|
||||
;
|
||||
;======================================================================
|
||||
; QUARTER TONE FREQUENCY TABLE
|
||||
; EIGHTH TONE FREQUENCY TABLE
|
||||
;======================================================================
|
||||
;
|
||||
; THE FOLLOWING TABLE MAPS A FULL OCTAVE OF QUARTER-NOTES
|
||||
; THE FOLLOWING TABLE MAPS A FULL OCTAVE OF EIGHTH-NOTES
|
||||
; STARTING AT A# IN OCTAVE 0 TO THE CORRESPONDING PERIOD
|
||||
; VALUE TO USE ON THE PSG TO ACHIEVE THE DESIRED NOTE FREQUENCY.
|
||||
;
|
||||
|
||||
@@ -452,10 +452,10 @@ SNT_REGWR .DB "\r\nOUT SN76489, $"
|
||||
#ENDIF
|
||||
;
|
||||
;======================================================================
|
||||
; QUARTER TONE FREQUENCY TABLE
|
||||
; EIGHTH TONE FREQUENCY TABLE
|
||||
;======================================================================
|
||||
;
|
||||
; THE FOLLOWING TABLE MAPS A FULL OCTAVE OF QUARTER-NOTES
|
||||
; THE FOLLOWING TABLE MAPS A FULL OCTAVE OF EIGHTH-NOTES
|
||||
; STARTING AT A# IN OCTAVE 0 TO THE CORRESPONDING PERIOD
|
||||
; VALUE TO USE ON THE PSG TO ACHIEVE THE DESIRED NOTE FREQUENCY.
|
||||
;
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
;======================================================================
|
||||
;
|
||||
; LIMITATIONS - CPU FREQUENCY ADJUSTMENT LIMITED TO 1MHZ RESOLUTION
|
||||
; QUARTER TONES NOT SUPPORTED
|
||||
; EIGHTH TONES NOT SUPPORTED
|
||||
; DURATION FIXED TO 1 SECOND.
|
||||
; NO VOLUME ADJUSTMENT DUE TO HARDWARE LIMITATION
|
||||
;======================================================================
|
||||
@@ -118,7 +118,7 @@ SP_NOTE:
|
||||
AND 00000011B ; TO THE ASSOCIATED ENTRY
|
||||
JR Z,SP_NOTE1 ; IN THE TUNE TABLE.
|
||||
;
|
||||
LD HL,$FFFF ; QUARTER NOTES
|
||||
LD HL,$FFFF ; EIGHTH NOTES
|
||||
JR SP_NOTE2 ; NOT SUPPORTED
|
||||
;
|
||||
SP_NOTE1:
|
||||
|
||||
Reference in New Issue
Block a user