furnace/papers/doc/7-systems/nes.md

26 lines
1.1 KiB
Markdown
Raw Normal View History

2022-01-16 06:10:43 +00:00
# NES
the console from Nintendo that plays Super Mario Bros. and helped revive the agonizing video game market in the US during mid-80s.
2022-10-16 05:53:05 +00:00
also known as Famicom. it is a five-channel sound generator: first two channels play pulse wave with three different duty cycles, third is a fixed-volume triangle channel, fourth is a noise channel (can work in both pseudo-random and periodic modes) and fifth is a (D)PCM sample channel.
2022-01-16 06:10:43 +00:00
# effects
2022-04-29 05:18:51 +00:00
- `11xx`: write to delta modulation counter.
- this may be used to attenuate the triangle and noise channels.
- will not work if a sample is playing.
2022-01-16 06:10:43 +00:00
- `12xx`: set duty cycle or noise mode of channel.
- may be 0-3 for the pulse channels and 0-1 for the noise channel.
2022-02-01 23:28:48 +00:00
- `13xy`: setup sweep up.
- `x` is the time.
- `y` is the shift.
- set to 0 to disable it.
- `14xy`: setup sweep down.
- `x` is the time.
- `y` is the shift.
2022-05-02 08:42:40 +00:00
- set to 0 to disable it.
- `18xx`: set PCM channel mode.
- `00`: PCM (software).
- `01`: DPCM (hardware).
2022-10-16 05:53:05 +00:00
- when in DPCM mode, samples will sound muffled (due to its nature), availables pitches are limited and loop point is ignored.