Skip to content

Commit

Permalink
Fix for Python Edition behavior after using Python app
Browse files Browse the repository at this point in the history
  • Loading branch information
calc84maniac committed Aug 24, 2019
1 parent 98d4cbb commit 9ca5f4f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion setup.asm
Original file line number Diff line number Diff line change
Expand Up @@ -2207,7 +2207,9 @@ _
ld l,mpLcdCtrl & $FF
res 0,(hl)
; Configure SPI hardware (necessary for Rev-M support?)
; Configure SPI hardware (necessary for Python Edition support)
ld hl,$2000B
ld (mpSpiUnknown0),hl
ld hl,$182B
ld (mpSpiConfig),hl
ld hl,$C
Expand Down
1 change: 1 addition & 0 deletions tiboyce.asm
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ mpKeypadGrp6 = $F5001C
mpKeypadGrp7 = $F5001E

mpSpiConfig = $F80000
mpSpiUnknown0 = $F80004
mpSpiTransfer = $F80008
mpSpiStatus = $F8000C
mpSpiUnknown1 = $F80010
Expand Down

0 comments on commit 9ca5f4f

Please sign in to comment.