Browse Source

AY-3-8910 MINORS

pull/317/head
b1ackmai1er 3 years ago
parent
commit
af2a025cff
  1. 2
      Source/Doc/SystemGuide.md
  2. 11
      Source/HBIOS/ay38910.asm

2
Source/Doc/SystemGuide.md

@ -1241,7 +1241,7 @@ The Status (A) is a standard HBIOS result code.
Assign the specified character Attribute (E) code to be used for all Assign the specified character Attribute (E) code to be used for all
subsequent character writes/fills on the specified Video Unit (C). This subsequent character writes/fills on the specified Video Unit (C). This
attribute is used to fill new lines generated by scroll operations. The attribute is used to fill new lines generated by scroll operations. The
character attributes values are listed abovev. Note that a given video
character attributes values are listed above. Note that a given video
display may or may not support any/all attributes. The Status (A) is a display may or may not support any/all attributes. The Status (A) is a
standard HBIOS result code. standard HBIOS result code.

11
Source/HBIOS/ay38910.asm

@ -11,6 +11,13 @@
; @1.7897725 OCTAVE RANGE IS 2 - 7 (Bb2/A#2 .. A7) ; @1.7897725 OCTAVE RANGE IS 2 - 7 (Bb2/A#2 .. A7)
; @2.0000000 OCTAVE RANGE IS 2 - 7 (B2 .. A7) ; @2.0000000 OCTAVE RANGE IS 2 - 7 (B2 .. A7)
; ;
; DIFFENCES BETWEEN AY-3-8910 AND YM2149
; THE AY-3-8910 HAS 16 ENVELOPE LEVELS, YM2149 HAS 32.
; THIS AFFECTS AUDIO OUTPUT ONLY. THERE IS NO PROGRAMMING IMPACT.
; UNUSED BITS IN REGISTERS ARE READ AS ZERO ON AY-3-8910.
; UNUSED BITS CAN BE READ BACK AND WRITTEN ON YM.
; VOLTAGE LEVEL OUTPUT ON A AY-3-8910 IS LOW AND AROUND 2V ON YM2149.
;
AY_RCSND .EQU 0 ; 0 = EB MODULE, 1=MF MODULE AY_RCSND .EQU 0 ; 0 = EB MODULE, 1=MF MODULE
; ;
#IF (AYMODE == AYMODE_SCG) #IF (AYMODE == AYMODE_SCG)
@ -101,8 +108,8 @@ AY_NOISECNT .EQU 1 ; COUNT NUMBER OF NOISE CHANNELS
;AY_SCALE .EQU 3 ; DATA TO MAINTAIN MAXIMUM ;AY_SCALE .EQU 3 ; DATA TO MAINTAIN MAXIMUM
;#ENDIF ; RANGE AND ACCURACY ;#ENDIF ; RANGE AND ACCURACY
; ;
.ECHO "SN76489 CLOCK: "
.ECHO SN7CLK
.ECHO "AY38910 CLOCK: "
.ECHO AY_CLK
.ECHO "\n" .ECHO "\n"
; ;
#INCLUDE "audio.inc" #INCLUDE "audio.inc"

Loading…
Cancel
Save