şükela:  tümü | bugün
  • (bkz: basic)'te hafizanin bi yerine deger atamak icin kullanilan komut..

    orn: (bkz: cpc464) poke &bdee,201
    orn: (bkz: c64) poke $401,65
    orn: (bkz: pc) def seg=0:poke &h41c,0
  • (bkz: peek)
  • commodore basic'te makina diliyle basic arasında köprü kuran kutsal komut. poke adres,değer şeklinde decimal sayılarla kullanılır.
  • poke 53281,0 veya poke 53280,5 gibi obsiyonlarıyla ekranın dış ve iç renkleri degisirdi...
  • sinclair zx spectrum'da o tuşuna basınca çıkan komut. aynı zamanda kusma efekti çağrışımına sahip bir kelime.
  • (bkz: pokemon)
  • cogu c64 kullanicisinin bu komutu kullani$ amaci oyunlarda sinirsiz hak elde etmekle sinirli kalmi$tir.
    poke x,y
    denir, sonra da bir sys komutuyla (genelde sys 49152) oyuna geri donulurdu.
  • (bkz: pis poke)
  • oyunlarda hile kavramı, poke komutu sayesinde doğmuştur.

    mesela commodore 64 üzerinde çalışan krakout oyununda poke 32934,x deriz ve x'in 1'le 100 arası bir rakam olması şartıyla istediğimiz seviyeye atlarız. henüz oyuna başlayalı on dakika bile olmamışken 58. bölümde olduğunuzu gören arkadaşlarınız aptala dönerler, tabii sene 1986 filan ise.
  • characters and the screen
    ------------------------------------------------------------------
    poke 53272,21 switch to uppercase mode
    poke 53272,23 switch to lowercase mode
    poke 53280,c change border color (c=0-15)
    poke 53281,c change screen color (c=0-15)
    poke 646,c change cursor color (c=0-15)
    poke 53265,peek(53265) and 23 turn off screen display
    poke 53265,peek(53265) or 16 turn on screen display
    ------------------------------------------------------------------
    the keyboard
    ------------------------------------------------------------------
    poke 650,128 all keys repeat
    poke 650,127 no keys repeat
    poke 650,0 normal repeat
    poke 657,128 disable shift-commodore
    poke 657,0 enable shift-commodore
    poke 198,0 clear keyboard buffer
    poke 649,1 disable keyboard buffering
    poke 649,0 disable keyboard
    poke 649,10 normal buffering
    poke 808,239 disable run/stop key
    poke 792,193 disable restore
    poke 808,239:poke 792,193 disable run-stop/restore
    poke 808,234 disable run-stop/restore and list
    poke 808,237:poke 792,71 enable run-stop/restore and list
    ------------------------------------------------------------------
    miscellaneous
    ------------------------------------------------------------------
    poke 775,200 disable list
    poke 775,167 enable list
    poke 56341,s set cursor speed (s=0-255)
    poke 204,0 turn cursor on during a get
    poke 204,255 turn cursor back off
    poke 19,65 turn off question mark during input
    poke 19,0 turn question mark back on
    poke 54296,15:poke 54296,0 make a click sound
    ------------------------------------------------------------------
    ------------------------------------------------------------------

    poke 1,0 disable operating system (default value 1,1)
    poke 198,0 clear keyboard buffer
    poke 198,0 clears keyboard buffer (default value 198,0)
    poke 22,35 turns off line numbers
    poke 22,35 with list command, shows no line numbers
    poke 53265,11 turns screen off
    poke 53265,27 turns screen on
    poke 53272,21 upper case/graphics
    poke 53272,23 upper case/lower case
    poke 56334,129 clock reset for 50 cycle current
    poke 56590,128 clock reset for 50 cycle current
    poke 649,0 disable keyboard
    poke 649,10 enable keyboard
    poke 649,15 increase keyboard buffer
    poke 650,0 disable repeat function
    poke 650,128 enable repeat function
    poke 650,64 disables repeat of all keys
    poke 774,0 with list command, shows only line numbers
    poke 774,141 with list command, vanishes completely (default value 774,26)
    poke 775,167 enable list command
    poke 775,168 disable list command
    poke 775,171 causes computer to crash if a list command is attempted
    poke 775,200 disable list command
    poke 788,49 enable syop key and ti$
    poke 788,52 disables stop key and ti$
    poke 808,225 disable restore
    poke 808,237 enable restore
    poke 808,237 restore keyboard
    sys 42562 new
    sys 57194 re-activates epyx fastload
    sys 58235 warm start
    sys 58260 initialize
    sys 58726 clr/home
    sys 59062 advance cursor
    sys 59137 previous line
    sys 59626 scrolls a line
    sys 59903 clears line of text
    sys 64738 cold start (reset)
    sys 65126 alternate start
    ------------------------------------------------------------------
    speciality commands
    ------------------------------------------------------------------
    poke 792,peek(65532):poke 793,peek(65533)
    changes restore key to reset

    print peek(65408)
    test for kernel number

    poke 808,225:poke 818,32 disable runstop/restore
    poke 808,237:poke 818,237 enable runstop/restore

    poke 56324,28:poke 56325,0
    slow list

    poke 781,x:poke 782,y:poke 783,0:sys 65520:print"your message"
    prints your message at x=row number, y=column number

    poke 214,x:poke 211,y:sys 58732:print "your message"
    prints your message at x=row number, y=column number
    ------------------------------------------------------------------

    edit: çok daha ilginç poke çeşitleriyle dolu bir sayfaya link vermiştim, malesef artık çalışmıyor. onun yerine daha iyisini bulana kadar bunu koyuyorum, link mink de vermiyorum ki uçmasın.

    "nasıl da unutmuşum" editi: bunlar commodore 64 için geçerlidir elbette.