• What POKE command in the Commodore C-128 is used?

    From Yellow@invalid.org@3:770/3 to All on Wed Sep 9 12:51:14 2020
    To display the last device used. I know on the C-64 it is peek(186)

    TIA

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Silver Dream !@3:770/3 to Yellow@invalid.org on Thu Sep 10 01:09:56 2020
    On 09/09/2020 21:51, Yellow@invalid.org wrote:
    To display the last device used. I know on the C-64 it is peek(186)

    The "BA" variable seems to be in the same place on a 128

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Paul@3:770/3 to silverdr@nospam.net on Thu Sep 10 15:04:50 2020
    On Thu, 10 Sep 2020 01:09:56 +0200, Silver Dream !
    <silverdr@nospam.net> wrote:

    On 09/09/2020 21:51, Yellow@invalid.org wrote:
    To display the last device used. I know on the C-64 it is peek(186)

    The "BA" variable seems to be in the same place on a 128

    The BA variable returns nothing on the C128.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Silver Dream !@3:770/3 to Paul on Sat Sep 12 00:58:18 2020
    On 11/09/2020 00:04, Paul wrote:
    On Thu, 10 Sep 2020 01:09:56 +0200, Silver Dream !
    <silverdr@nospam.net> wrote:

    On 09/09/2020 21:51, Yellow@invalid.org wrote:
    To display the last device used. I know on the C-64 it is peek(186)

    The "BA" variable seems to be in the same place on a 128

    The BA variable returns nothing on the C128.

    What do you mean? The _system_ variable is located at $BA. It is not a
    BASIC variable. Actually I wanted to write "FA" variable (located at
    $BA). IOW - the same peek should work from BASIC on a 128 as on a 64.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)