ULA Control Port: Difference between revisions
From SpecNext Wiki
No edit summary |
mNo edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{Port | {{Port | ||
|Number=$xxFE | |Number=$xxFE | ||
|NumberDec=254 | |||
|ShortDesc=Controls border color and base Spectrum audio settings. | |ShortDesc=Controls border color and base Spectrum audio settings. | ||
|Readable=No | |Readable=No | ||
|Writable=Yes | |Writable=Yes | ||
}} | }} | ||
When written to, adjusts the border color and audio devices as follows: | When written to, adjusts the border color and audio devices as follows (soft reset = 0): | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 13: | Line 13: | ||
| 0-2 || Border color | | 0-2 || Border color | ||
|- | |- | ||
| 3 || | | 3 || MIC output (saving via audio jack) | ||
|- | |- | ||
| 4 || | | 4 || EAR output (connected to internal speaker) | ||
|- | |- | ||
| 5-7 || Unused | | 5-7 || Unused | ||
|} | |} | ||
Reading the port with certain particular high bytes will read the keyboard - see {{PortNo|$**FE}}. Bit 6 of the ULA byte is always the EAR input. | --------- | ||
Reading the port with certain particular high bytes will read the keyboard - see {{PortNo|$**FE}}. Bit 6 of the ULA byte is always the EAR input (signal from tape audio jack - also input from [https://wiki.specnext.dev/Pi:index Pi] digital audio is now mixed in, since 3.0 cores). | |||
Latest revision as of 11:50, 4 May 2020
| Number | PortNumber::$xxFE |
|---|---|
| Decimal | NumberDec::254 |
| Short desc. | ShortDesc::Controls border color and base Spectrum audio settings. |
| Bit Mask | PortMask:: |
| Readable | Readable::No |
| Writable | Writable::Yes |
| Subsystem | Subsystem:: |
When written to, adjusts the border color and audio devices as follows (soft reset = 0):
| Bit | Function |
|---|---|
| 0-2 | Border color |
| 3 | MIC output (saving via audio jack) |
| 4 | EAR output (connected to internal speaker) |
| 5-7 | Unused |
Reading the port with certain particular high bytes will read the keyboard - see {{#ask: PortNumber::$**FE }} ($**FE{{#ask: PortNumber::$**FE |mainlabel=- |headers=hide |intro= / |?NumberDec#- }}). Bit 6 of the ULA byte is always the EAR input (signal from tape audio jack - also input from Pi digital audio is now mixed in, since 3.0 cores).