Skip to content

Commit

Permalink
Fixed kernel long jump in NES-only mode
Browse files Browse the repository at this point in the history
  • Loading branch information
visrealm committed Jan 20, 2024
1 parent 29267d1 commit a29a827
Show file tree
Hide file tree
Showing 3 changed files with 282 additions and 112 deletions.
3 changes: 2 additions & 1 deletion code/6502/kernel/kernel.asm
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ kernelMain:

lda #HBC56_CONSOLE_FLAG_NOWAIT
bit HBC56_CONSOLE_FLAGS
bne .afterInput
bne .afterNesInput

lda #HBC56_CONSOLE_FLAG_NES
and HBC56_CONSOLE_FLAGS
Expand Down Expand Up @@ -314,6 +314,7 @@ kernelMain:
}
cli
jsr nesWaitForPress
.afterNesInput:
jmp .afterInput

.keyboardInput
Expand Down
Binary file modified code/6502/kernel/kernel.o
Binary file not shown.
Loading

0 comments on commit a29a827

Please sign in to comment.