Skip to content

Commit 04c35a4

Browse files
authored
Merge pull request #9 from Hacktix/patch-1
IR Communications Port flags
2 parents 3082d5d + 69ef3ab commit 04c35a4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

hardware.inc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -607,9 +607,15 @@ HDMA5F_BUSY EQU %10000000 ; 0=Busy (DMA still in progress), 1=Transfer complete
607607
; --
608608
; -- RP ($FF56)
609609
; -- Infrared Communications Port (R/W)
610+
; -- CGB Mode Only
610611
; --
611612
rRP EQU $FF56
612613

614+
RPF_ENREAD EQU %11000000
615+
RPF_DATAIN EQU %00000010 ; 0=Receiving IR Signal, 1=Normal
616+
RPF_WRITE_HI EQU %00000001
617+
RPF_WRITE_LO EQU %00000000
618+
613619

614620
; --
615621
; -- BCPS ($FF68)

0 commit comments

Comments
 (0)