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

21 lines
895 B
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-04-29 05:18:51 +00:00
also known as Famicom. It is a five-channel PSG: 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-04-29 05:18:51 +00:00
- set to 0 to disable it.