Please, check our SMD/THT services - smd.lotharek.pl; from idea to ready devices
Please, check our SMD/THT services - smd.lotharek.pl; from idea to ready devices
PID: LOTH000440
Based on DivTIESUS by Miguel Ángel Rodríguez Jódar (open-source version, with some changes).
.go3e, which only works with DivTIESUS and Bison.
Each press of the MODE button switches the joystick interface to the next mode. The change happens instantly, as soon as the button is pressed. Holding the button down does nothing extra; only presses count. You can press quickly several times in a row to skip through modes, and every press is registered.
LEDs: ● on ● dim ○ off
| # | Mode | LED 1 · 2 · 3 |
|---|---|---|
| 0 | OFF (interface disabled) | ○ ○ ○ |
| 1 | Kempston | ● ● ● |
| 2 | Sinclair 1 | ● ● ● |
| 3 | Sinclair 2 | ● ● ● |
| 4 | Fuller | ● ● ● |
| 5 | Protek | ● ● ● |
| 6 | QAOP / Space | ● ● ● |
| 7 | Kempston Mouse / Amiga | ● ● ● |
| 8 | Kempston Mouse / Atari ST | ● ● ● |
After mode 8 it wraps back to OFF.
The AY stereo mode and the SD card speed are not selected with buttons. Instead, a program sets them by writing to I/O port 4319 (0x10DF). You can do it from BASIC, from machine code, or from a small loader or menu program.
| Command | Setting | LED 4 confirmation |
|---|---|---|
OUT 4319,0 |
Audio: ABC stereo | ● 1 blink |
OUT 4319,1 |
Audio: ACB stereo | ● ● 2 blinks |
OUT 4319,2 |
Audio: mono | ● ● ● 3 blinks |
OUT 4319,16 |
SD card: 14 MHz (fast) | fast flicker (~10 Hz) for 1.5 s |
OUT 4319,17 |
SD card: 7 MHz (compatible, default) | slow flicker (~3 Hz) for 1.5 s |
| any other value | ignored, no change | none |
OUT 4319,0 : REM ABC stereo OUT 4319,1 : REM ACB stereo OUT 4319,2 : REM mono
Each blink is about 150 ms on and 150 ms off, so the whole confirmation takes 0.3 to 0.9 s. LED 4 blinks even if you select the mode that is already active, so you can always check which mode is set by writing it again.
OUT 4319,16 : REM SD card 14 MHz OUT 4319,17 : REM SD card 7 MHz (default)
The default 7 MHz works with practically every card, including old and cheap no-name SD cards up to 2 GB that fail at higher speed. Good branded cards can also be used at 14 MHz.
In practice both speeds load files equally fast: the Z80 reads the card byte by byte, and even at 7 MHz the SD interface is several times faster than the CPU. Choose 14 MHz only if you like, and switch back to 7 MHz if a card does not work.
OUT 4319,17 in BASIC. The command does not need the SD card, so you can always go back.The speed change is applied between bytes, never in the middle of a transfer, so it is safe to switch at any time.
The joystick mode, the audio mode and the SD card speed are saved to the onboard EEPROM and restored at power-up. The save happens in the background about 1.5 s after the last change, and only if a setting actually changed. Quickly skipping through several modes therefore causes just one EEPROM write.
Apart from the audio and SD speed confirmations, LED 4 lights briefly (about 0.3 s) whenever the interface accesses the EEPROM:
| When | What happens |
|---|---|
| Power-up | Saved settings are read from the EEPROM |
| ~1.5 s after the last change | New joystick / audio / SD speed settings are written to the EEPROM |
The second flash confirms that your setting has been stored and will be remembered after power-off. If the setting didn't actually change, nothing is written and LED 4 does not flash.
After power-up and after every reset, LEDs 1–3 show a short "running light" animation for about 1.2 s. After that they switch to showing the current joystick mode.
The light moves one LED at a time, about 75 ms per step, followed by a short pause with all LEDs off. One full cycle takes about 0.3 s, so it runs about four times.
The direction of the animation shows which machine the interface has detected:
| Direction | Sequence | Machine |
|---|---|---|
| Left → right | LED 1 → LED 2 → LED 3 → pause | 48K / 128K / +2 (NOTPLUS3 = 1) |
| Right → left | LED 3 → LED 2 → LED 1 → pause | +2A / +3 (NOTPLUS3 = 0) |
![]() 48K / 128K / +2 |
![]() +2A / +3 |
| Step | 1 | 2 | 3 | 4 (pause) |
|---|---|---|---|---|
| 48K / 128K / +2 | ● ○ ○ | ○ ● ○ | ○ ○ ● | ○ ○ ○ |
| +2A / +3 | ○ ○ ● | ○ ● ○ | ● ○ ○ | ○ ○ ○ |
Each step lasts about 75 ms; the whole cycle is repeated about four times (≈ 1.2 s).
This gives a quick check at startup that the interface is working and has recognised the machine correctly.
LOTHAREK FHU Przemysław Krawczyk
ul. Bukowa 18
42-610 Miasteczko Śląskie, Polska
E-mail: lotharek@lotharek.pl
NIP UE: PL6312246599
Identyfikator produktu (PID): LOTH000440
Nazwa produktu: DivMMC FPGA LITE - PREORDER
Pobierz Deklarację Zgodności UE (PDF)
Produkt przeznaczony jest dla użytkowników posiadających podstawową wiedzę techniczną w zakresie montażu i obsługi urządzeń elektronicznych. Przed instalacją lub podłączeniem urządzenia należy odłączyć zasilanie sprzętu, w którym jest ono montowane.
Produkt spełnia wymagania norm RoHS oraz WEEE. Urządzenia elektroniczne i elektryczne nie powinny być wyrzucane razem z odpadami komunalnymi — po zakończeniu eksploatacji należy przekazać je do punktu zbiórki zużytego sprzętu elektronicznego.
LOTHAREK FHU Przemysław Krawczyk
Bukowa 18
42-610 Miasteczko Śląskie, Poland
E-mail: lotharek@lotharek.pl
EU VAT: PL6312246599
Product identifier (PID): LOTH000440
Product name: DivMMC FPGA LITE - PREORDER
Download EU Declaration of Conformity (PDF)
This product is intended for users with basic technical knowledge of installing and handling electronic devices. Disconnect power from the host device before installing or connecting this product.
This product complies with RoHS and WEEE requirements. Electronic and electrical equipment must not be disposed of with household waste — please take it to an appropriate e-waste collection point at the end of its life.
LOTHAREK FHU Przemysław Krawczyk
Bukowa 18
42-610 Miasteczko Śląskie, Polen
E-Mail: lotharek@lotharek.pl
USt-IdNr.: PL6312246599
Produktkennzeichnung (PID): LOTH000440
Produktname: DivMMC FPGA LITE - PREORDER
EU-Konformitätserklärung herunterladen (PDF)
Dieses Produkt richtet sich an Nutzer mit grundlegenden technischen Kenntnissen beim Einbau und Umgang mit elektronischen Geräten. Trennen Sie das Zielgerät vor dem Einbau oder Anschluss von der Stromversorgung.
Dieses Produkt erfüllt die Anforderungen von RoHS und WEEE. Elektro- und Elektronikgeräte dürfen nicht über den Hausmüll entsorgt werden — bitte geben Sie das Gerät am Ende seiner Lebensdauer bei einer entsprechenden Sammelstelle ab.