Login
Back to forumReply to this topicGo to last reply

Posted By

Patrick
on 2012-04-27
08:35:24
 CBM prg studio

the developer from CBM prg studio send me a message with the following question: I downloaded a book of C16 programs and in one of them was the word 'GETKEY', however the VICE emulator doesn't recognise it. Is there such a word? (There is a word 'KEY' though, which is token $F9)

hopefully someone will help him out!

Posted By

Luca
on 2012-04-27
09:11:37
 Re: CBM prg studio

Didn't read my answer of Facebook, which links to the GETKEY explication here? :o

Also, you can redefine F-keys with the KEY instruction. Example:
KEY1,"PATRICK"
assigns that print to the F1 key. Moreover, you can use it plain as :
KEY
in order to display the current F-keys assignments.

Posted By

rudis
on 2012-04-27
10:44:58
 Re: CBM prg studio

maybe rom-routine scnkey at $ff9f aka $db11 might help?

better post the programm.

Posted By

Patrick
on 2012-04-27
10:40:35
 Re: CBM prg studio

@luca, ofcourse i did read your answer and i forwarded it to arthur, but for him it was not completly clear. soo i made a topic here and informed arthur about it. hopefully he will also read it and maybe post his questions here.

Posted By

Gaia
on 2012-04-27
12:42:00
 Re: CBM prg studio

GETKEY is totally valid. It will suspend program execution until you press any key (except shift, ctrl or C=). It is basically more or less equivalent to the following piece of code:

10 GETA$:IFA$=""THEN10

There is no single token for it, as it is composed of $A1 and $F9, so in the sense he needs it for CBM studio, it is not a separate command. It does work in VICE for me.

Posted By

Arthur
on 2012-04-27
13:38:22
 Re: CBM prg studio

Thanks guys, I see what's happening now. GETKEY is actually GET KEY. I tried both out in VICE and it uses the same tokens.

Cheers.

Posted By

rudis
on 2012-04-27
14:29:48
 Re: CBM prg studio

10 GETKEY A$
20 PRINT A$



Back to topReply to this topic


Copyright © Plus/4 World Team, 2001-2024. Support Plus/4 World on Patreon