-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change fire to return to start game and move across levels
- Loading branch information
1 parent
a661dc0
commit ceb7fbf
Showing
7 changed files
with
45 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
//////////////////////////////////////////////////////////////////////////////// | ||
// | ||
// Project : ForestSaver - https://github.com/intoinside/ForestSaver | ||
// Target : Commodore 64 | ||
// Author : Raffaele Intorcia - raffaele.intorcia@gmail.com | ||
// | ||
// Routine for keyboard managing | ||
// | ||
//////////////////////////////////////////////////////////////////////////////// | ||
|
||
#importonce | ||
|
||
Keyboard: { | ||
Init: { | ||
lda #1 | ||
sta KEYB.BUFFER_LEN // disable keyboard buffer | ||
lda #127 | ||
sta KEYB.REPEAT_SWITCH // disable key repeat | ||
} | ||
|
||
IsReturnPressed: { | ||
lda KEYB.CURRENT_PRESSED | ||
and #$01 | ||
sta ReturnPressed | ||
|
||
rts | ||
} | ||
|
||
ReturnPressed: .byte $00 | ||
} | ||
|
||
#import "_label.asm" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.