Changes

Jump to: navigation, search

Programming:Keyboard redefinition

5 bytes added, 20:14, 15 January 2014
/* Key redefinition library */
GetPressed
push HL
ld C,10.loop_col
ld B,8

Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /mnt/cpcwiki-httpdocs/includes/diff/DairikiDiff.php on line 434
ld A,(HL++).loop_bit rla jr nc,.pressed
djnz .loop_bit
dec C
.loop
rra ;get bit in carry
djnz .loop
ccf ;reverse bit
pop HL
115
edits