diff --git a/MANUAL_EN.md b/MANUAL_EN.md index 88f209e..9a7ae60 100644 --- a/MANUAL_EN.md +++ b/MANUAL_EN.md @@ -28,7 +28,7 @@ The [RETURN] key or a joystick button moves to the next screen. ## 2. Entering the name of players and selecting the level of computer-controlled players -The second screen is shown for each player. Here you can use the cursor keys or joystick to select whether the tank will be driven by a human (HUMAN option) or a computer (other options). At the same time, you can enter the name of the selected player from the keyboard. +The second screen is shown for each player. Here you can use the cursor keys or joystick to select whether the tank will be driven by a human (HUMAN option) or a computer (other options). The [TAB] or [SELECT] key, and on the Atari 5200 console the [5] controller key allow you to choose which joystick port the player will use. At the same time, you can enter the name of the selected player from the keyboard. When the [RETURN] key is pressed or the Joystick button is pressed briefly, the screen switches to the next player until the difficulty levels for each player are selected. The player's name can also be entered with the joystick. After pressing and holding the button for more than 1s. you can use up/down movements to change the letter being entered, and left/right movements to change its position in the name. Releasing the button ends the name entry and returns to the level selection. diff --git a/MANUAL_PL.md b/MANUAL_PL.md index 0d82012..6e52e46 100644 --- a/MANUAL_PL.md +++ b/MANUAL_PL.md @@ -26,7 +26,7 @@ Wybór opcji klawiszami kursora lub joystickiem. Klawisz [RETURN] lub przycisk Joysticka przechodzi do następnego ekranu. ## 2. Wprowadzanie nazwy graczy i wybór poziomu graczy sterowanych przez komputer -Drugi ekran powtarza się dla każdego z graczy można na nim klawiszami kursora lub joystickiem wybrać czy danym czołgiem będzie kierował człowiek (opcja HUMAN) czy też komputer (pozostałe opcje). Jednocześnie z klawiatury można wprowadzić nazwę wybranego gracza. +Drugi ekran powtarza się dla każdego z graczy można na nim klawiszami kursora lub joystickiem wybrać czy danym czołgiem będzie kierował człowiek (opcja HUMAN) czy też komputer (pozostałe opcje). Klawisz [TAB] lub [SELECT], a na konsoli Atari 5200 klawisz [5] kontrolera pozwalają wybrać z którego portu joysticka będzie korzystał gracz. Jednocześnie z klawiatury można wprowadzić nazwę wybranego gracza. Po naciśnięciu klawisza [RETURN] lub krótkim naciśnięciu przycisku Joysticka ekran przechodzi na następnego gracza aż zostaną wybrane poziomy trudności dla wszystkich. Nazwę gracza można wprowadzać także przy pomocy joysticka. Po wciśnięciu i przytrzymaniu przycisku ponad 1s. za pomocą ruchów góra/dół można zmienić wprowadzaną literę, a lewo/prawo jej pozycję w nazwie. Puszczenie przycisku kończy wprowadzanie nazwy i wraca do wyboru poziomu. diff --git a/scorch.asm b/scorch.asm index 4386b11..adcb1f2 100644 --- a/scorch.asm +++ b/scorch.asm @@ -1728,11 +1728,21 @@ checkJoyGetKey bne getkeyend notpressedJoyGetKey - ;fire - lda STRIG0 + ;fire + lda STRIG0 + beq JoyButton + .IF TARGET = 800 ; Select key only on A800 + bne checkSelectKey +checkSelectKey + lda CONSOL + and #%00000010 + .ENDIF bne @- - lda #@kbcode._ret ;Return key - +OptionPressed + lda #@kbcode._tab ; Select key + bne getkeyend +JoyButton + lda #@kbcode._ret ;Return key getkeyend ldy #0 sty ATRACT ; reset atract mode diff --git a/scorch.bin b/scorch.bin index 6bfea1a..62e553c 100644 Binary files a/scorch.bin and b/scorch.bin differ diff --git a/scorch.xex b/scorch.xex index c1e7cb0..5f43069 100644 Binary files a/scorch.xex and b/scorch.xex differ