Megalextoria
Retro computing and gaming, sci-fi books, tv and movies and other geeky stuff.

Home » Digital Archaeology » Computer Arcana » Commodore » Commodore 8-bit » What POKE command in the Commodore C-128 is used?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
What POKE command in the Commodore C-128 is used? [message #399690] Wed, 09 September 2020 15:51 Go to next message
Anonymous
Karma:
Originally posted by: Yellow

To display the last device used. I know on the C-64 it is peek(186)

TIA
Re: What POKE command in the Commodore C-128 is used? [message #399719 is a reply to message #399690] Wed, 09 September 2020 19:09 Go to previous messageGo to next message
Anonymous
Karma:
Originally posted by: Silver Dream !

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
Re: What POKE command in the Commodore C-128 is used? [message #399817 is a reply to message #399719] Thu, 10 September 2020 18:04 Go to previous messageGo to next message
Paul is currently offline  Paul
Messages: 19
Registered: January 2012
Karma: 0
Junior Member
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.
Re: What POKE command in the Commodore C-128 is used? [message #399890 is a reply to message #399817] Fri, 11 September 2020 18:58 Go to previous message
Anonymous
Karma:
Originally posted by: Silver Dream !

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.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Next SCCAN meeting - Saturday, Sept. 12 (cancelled)
Next Topic: "Decode": how to make computer play?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Apr 19 14:44:46 EDT 2024

Total time taken to generate the page: 0.01171 seconds