Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions hardware.inc
Original file line number Diff line number Diff line change
Expand Up @@ -1037,6 +1037,9 @@ def BOOTUP_A_MGB equ $FF
def BOOTUP_A_SGB equ BOOTUP_A_DMG
def BOOTUP_A_SGB2 equ BOOTUP_A_MGB

; Register B = CPU qualifier
def BOOTUP_B_DMG0 equ $FF
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO group all the B values together:

; Register B = CPU qualifier
def BOOTUP_B_DMG0 equ $FF
def B_BOOTUP_B_AGB equ 0 ; applicable if A is BOOTUP_A_CGB
    ...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, if you think it's cleaner that way.


; Register B = CPU qualifier (if A is BOOTUP_A_CGB)
def B_BOOTUP_B_AGB equ 0
def BOOTUP_B_CGB equ 0 << B_BOOTUP_B_AGB
Expand Down
Loading