Browse Source
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.
pull/598/head
Wayne Warthen
6 months ago
No known key found for this signature in database
GPG Key ID: 8B34ED29C07EEB0A
10 changed files with
9 additions and
9 deletions
-
BIN
Doc/RomWBW Applications.pdf
-
BIN
Doc/RomWBW Disk Catalog.pdf
-
BIN
Doc/RomWBW Hardware.pdf
-
BIN
Doc/RomWBW Introduction.pdf
-
BIN
Doc/RomWBW System Guide.pdf
-
BIN
Doc/RomWBW User Guide.pdf
-
Source/Doc/SystemGuide.md
-
Source/HBIOS/ay38910.asm
-
Source/HBIOS/sn76489.asm
-
Source/HBIOS/spk.asm
|
|
|
@ -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: |
|
|
|
|