Nintendo DMG-01 Manual - Page 127

Set System Color Palette Data $0b

Page 127 highlights

Game BoyTM CPU Manual 4.5. Commands 8. Set System Color Palette Data ($0b) 9. Enable/Disable Attraction Mode ($0c) 10. Speed Function ($0d) 11. SGB Function ($0e) 12. Super NES WRAM Transfer 1 ($0f) 13. Super NES WRAM Transfer 2 ($10) 14. Controller 2 Request (#11) ($00) - Request 1 play 15. Controller 2 Request (#11) ($01) - Request 2 play Is used to determine if system is SGB or regular GB. 16. Set Program Counter ($12) 17. CharSet Transfer ($13) (%00000xyy) (x=Char Type:0=BG,1=OBJ Range:0=00-7f,1=80-ff) y=CharSet The tiles that are downloaded to the SNES for the border are regular GB tiles that have been modified for extra colors. Every tile consists of 32 bytes. The format is: 16 bytes - Standard 4 color GB character set 16 bytes - Extended color information The same way GB uses two bytes to convey 8 pixels and the 4 colors for each pixel, the extended color by DP Page 127

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139

Game Boy
TM
CPU Manual
4.5. Commands
8.
Set System Color Palette Data ($0b)
9.
Enable/Disable Attraction Mode ($0c)
10.
Speed Function ($0d)
11.
SGB Function ($0e)
12.
Super NES WRAM Transfer 1 ($0f)
13.
Super NES WRAM Transfer 2 ($10)
14.
Controller 2 Request (#11) ($00) - Request 1 play
15.
Controller 2 Request (#11) ($01) - Request 2 play
Is used to determine if system is SGB or regular GB.
16.
Set Program Counter ($12)
17.
CharSet Transfer ($13)
(%00000xyy) (x=Char Type:0=BG,1=OBJ
y=CharSet
Range:0=00-7f,1=80-ff)
The tiles that are downloaded to the SNES for the
border are regular GB tiles that have been modified for
extra colors. Every tile consists of 32 bytes. The
format is:
16 bytes - Standard 4 color GB character set
16 bytes - Extended color information
The same way GB uses two bytes to convey 8 pixels
and the 4 colors for each pixel, the extended color
by DP
Page 127