Jump to content



0

World's smallest POKEY music/sfx program


5 replies to this topic

#1 Rybags ONLINE  

Rybags

    Quadrunner

  • 10,323 posts
  • Location:Australia

Posted Tue Jun 20, 2006 11:42 AM

Well, not really music, and POKEY's only doing part of the work here.

Real machine required, won't work in an emulator.

Start the machine with BASIC installed.

POKE 53775,2

Now, hold down groups of 3 keys, especially in horizontal rows with each hand.

Try combinations involving SHIFT, CONTROL and also cursor keys and the DELETE key.

#2 Bryan OFFLINE  

Bryan

    Quadrunner

  • 7,626 posts
  • Cruise Elroy = 4DB7
  • Location:Port St. Lucie, Florida

Posted Tue Jun 20, 2006 7:28 PM

Ah, by turning off key debouncing you cause Pokey to generate rapid-fire interrupts when a key is pressed (Pokey does no "same as last key" checks), so you hear the key click going nuts. I guess multiple keys need to be pressed to fool the OS, though.

-Bry

#3 analmux OFFLINE  

analmux

    Stargunner

  • 2,033 posts

Posted Wed Jun 21, 2006 11:38 AM

this is really freaky.....and a feature i've never seen before :)

also try:

poke 559,0
poke 54286,0

to turn off antic DMA and NMI (vblank interrupts)

then the sound gets cleaner


also freaky what's appearing on the screen...(cursors moving in weird directions, inverse turning on and off all the time etc.)

#4 Allas OFFLINE  

Allas

    Stargunner

  • 1,096 posts
  • Location:Lima - Perú

Posted Wed Jun 21, 2006 11:54 AM

View Postanalmux, on Wed Jun 21, 2006 12:38 PM, said:

this is really freaky.....and a feature i've never seen before :)

also try:

poke 559,0
poke 54286,0

to turn off antic DMA and NMI (vblank interrupts)

then the sound gets cleaner


also freaky what's appearing on the screen...(cursors moving in weird directions, inverse turning on and off all the time etc.)

The screen go blank, nothing more happens.... :?

#5 Rybags ONLINE  

Rybags

    Quadrunner

  • 10,323 posts
  • Location:Australia

Posted Wed Jun 21, 2006 12:07 PM

Do it all in one line.

If Vblank is disabled (poke 54286,0) then the key debounce isn't done properly by the software and it won't detect consecutive keys that are the same.

#6 Allas OFFLINE  

Allas

    Stargunner

  • 1,096 posts
  • Location:Lima - Perú

Posted Wed Jun 21, 2006 1:10 PM

I surrender nothing strange happens, maybe the NTSC system is different.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users