Skip to content

Commit

Permalink
Treat the yellow key like a control key.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgiven committed Sep 20, 2020
1 parent c55de46 commit fff8e21
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/nc200/supervisor/keyboard.inc
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ process_keyboard_event:
and 0x7f
cp 0x09 ; control key
jr z, ctrl_change
cp 0x08 ; yellow key
jr z, ctrl_change
and 0x7e
jr z, shift_change

Expand Down
3 changes: 3 additions & 0 deletions arch/nc200/supervisor/pcmcia.inc
Original file line number Diff line number Diff line change
Expand Up @@ -332,3 +332,6 @@ str.ide_error: db "IDE error: ", 0
str.ata_card: db "PCMCIA card found: ", 0
str.not_ata: db "Card is not ATA", 13, 10, 0
str.no_card: db "No PCMCIA card found", 13, 10, 0

; vim: sw=4 ts=4 expandtab ft=asm

2 changes: 2 additions & 0 deletions arch/nc200/supervisor/startup.inc
Original file line number Diff line number Diff line change
Expand Up @@ -121,3 +121,5 @@ str.loading:
str.ready:
db "Ready", 10, 13, 0

; vim: sw=4 ts=4 expandtab ft=asm

0 comments on commit fff8e21

Please sign in to comment.