Changes

Jump to: navigation, search

LK Links

2,821 bytes added, 19:35, 11 August 2017
/* LK4 - Screen Refresh Rate */
[[Category:CPC Internal Components]]
'''Links''' - Amstrad has used a number of LKs (Links) on CPC mainboards and on peripherals like DDI-1 and CPC+ Cartridges. The LKs are simply a piece of wire that is (or is not) installed between two soldering points.
== LK1,LK2,LK3 - Manufacturer ID ==
LK1,LK2,LK3 connect to [[8255|PPI]] Port B, Bit1-3. The links select the manufacturer name (which is displayed by the BIOS in the power-up message). These LKs exist on all CPC mainboards (in CPC Plus/GX4000 /Costdown schematics they are named LK101,LK102,LK103). By default, LK1-LK3 are not installed ([[Amstrad]]). Other combinations are LK2 installed in german [[Schneider]] models, and LK1+LK2 in australian [[Awa]] models. For more info see [[LK-selectable Brand Names]].
== LK4 - Screen Refresh Rate ==
LK4 (LK104 on Plus/GX4000/Costdown) connects to [[8255|PPI]] Port B, Bit4. The link tells the BIOS whether it should set-up the [[CRTC]] for 50Hz or 60Hz refresh rate. Default is LK4 not installed (50Hz). It might be installed in US models, there isn't too much known about whether CPCs were exported to USA.... One source says that the CPC6128 was initially sold ''only'' in USA... Another source says that Indescomp (spanish distributor) produced CPCs with ''Indescomp International U.S.A.'' stickers. The 60Hz setting may cause compatibility problems with various non-BIOS software. And, due to a BIOS glitch, even with BIOS-based software (see [[Media:S968ap13.pdf|SOFT 968 Appendix 13 (XIII) (Hints Tips and Workarounds)]] for details).
== CPC6128:LK5,LK6,LK8 - Disable 128K RAM Banking ==
The CPC6128 contains 128K RAM, RAM banking is controlled by a PAL (which assists its [[Gate Array]]). However, the 6128 mainboard can be also used for 64K computers - in that case, only 64K would be installed, the PAL would be missing, and LK5,LK6,LK8 would be installed (bypassing the RAM banking logic, and passing /CAS,A14,A15 signals directly to unbanked RAM). The CPC+ has a similar feature (see R128 below).
== DDI-1:LK1 - Autoboot CP/M ==
In DDI-1, LK2-LK3 connect to the P1/P0 pins of the FDC9229BT Disc Data Separator (P0=LK3, P1=LK2, and fixed: P2=GND). According to FDC9229BT datasheet: ''P2-P0 select the amount of precompensation applied to the write data''.
== CPC6128:LK7 aka CPC664:LK201 - Autoboot CP/M ==
Same as DDI-1:LK1 (see there). By default, the two soldering points are connected with each other (by a printed wire on the PCB, to activate autoboot one must scratch off that connection).In the CPC664, LK201 is located close to the power-supply connectors.In the CPC6128, LK7 is located close to the gate array.
== CPC Plus:LK105 - Autoboot CP/M ==
Same as DDI-1:LK1 (see there).'''Bug:''' There's a bug in the System Cartridge, which always attempts to execute the Burnin' Rubber bootmenu at address 7:C072h, this is done even if bank 0 and 7 are exchanged, causing the CPC to crash when LK105 is changed. Workaround would be to replace opcode LD C,07h (at 05EBh in system cart) by LD C,83h (this fixes the bug), or to replace opcode LD HL,C072h (at 05E8h in system cart) by LD HL,0000h (completely disables the bootmenu, which was a rather idea annoying anyways). The same bug occurs when [[Connecting a Disc Interface to CPC464+]]. == CPC Plus:LK106 - Unknown == Purpose unknown...? Usually LK106 is not installed. (related to Upper ROM Bank signals /IORQ, A13, /WAIT, /RESET)
== CPC Plus:R128 aka R28 (10kOhm) - 128K RAM Enable ==
'''Purpose Unknown !!!'''
* The ASIC (where R129 connects to) should hava have nothing to do with the FDC. However, it does control the AMSDOS ROM bank selection: translating ROM bank 7 (or 0) to cartridge bank 3. However, bank 7 is used by the Burnin' Rubber boot-menu, so bank 7 must exist regardless of R129.* Possibly, The ASIC does output some FDC related signals /MOTOR and /FDC. Maybe removing R129 might disable disables these, though that feature (so cartridge bank 3 could would be only accessed as ROM bank 83h, but of not as ROM bank 7too much use (unless one wants to disable an internal FDC, nor 0in order to use an external FDC instead of it).
This is not verified, can somebody test what happens when installing/removing R129 ?
== CPC Plus:R130 aka R30 (10kOhm) - 8bit Printer Enable ==
When installed (default), enables the 8th printer bit, controlled via [[CRTC]]Register 0Ch, Bit 3. When removed, outputs LOW as 8th bit (as on classic CPCs with 7bit printer port). See also: [[8bit Printer Ports]].
== CPC Plus Cartridges:LK1-LK6 - EPROM Address Lines ==
The six [[GX4000 cartridge|cartridge]] LKs are for A15,A17,A18 (address lines, of course, not the "A1-A18" pins).
VCC ---LK1--- EPROM.A18---LK2---CPC.A18CA18 VCC ---LK3--- EPROM.A17---LK4---CPC.A17CA17 VCC ---LK5--- EPROM.A15---LK6---CPC.A15CA15
Some cartridge PCBs don't have any LKs installed, instead, the etched circuit has hardwired connections between some of them. One could scratch them off, and then use the LK soldering points to reconfigure the board for eproms of other size.
 
== GX4000:LKs ==
 
* LK1-LK4 - same as CPC, though not being actually used, due to absent BIOS (though game cartridges could check LK4 to determine the desired video refresh rate) (default is LK1-LK4 not installed, equivalent to Video=50Hz, and Manufacturer=Amstrad)
* LK5 - none such (corresponding PPI input is floating, neither having a LOW level, nor a stable HIGH level) (meaning the ROM Bank0=BASIC and Bank7=AMSDOS are unstable on GX4000, this seems to be the reason for the CPC+ System Cartridge not booting properly on the GX4000)
* LK6 - unknown (same as LK106 on CPC+) (usually LK6 is not installed, neither in GX4000 nor CPC+)
* LK7 - shortcut +5V with +5VMOD (installed in french version, which has no TV modulator)
2,541
edits