Global
	Print "=========================================================="
	Print ""
	Print "This Real 50G graphic is by Eric Rechlin."
	Print "eric@hpcalc.org   http://www.hpcalc.org"
	Print "Graphic based on a scan by Hewlett-Packard."
	Print ""
	Print "Note that contrast support, a touch-sensitive"
	Print "screen, and NXT and PREV buttons to the right"
	Print "and left of the menu are implemented."
	Print ""
	Print "=========================================================="
	Title  "Eric's Real 50G"
	Author "Eric Rechlin"
	Model  "Q"
	Class  50
	Rom    "ROM.50G"
	Bitmap "REAL50G.BMP"
	Debug  0
End

Background
	Offset   0   0
	Size   304 638
End

Lcd
	Zoom 2
	Offset  21  12
	Color  0 168 192 176
	Color  1 168 192 176
	Color  2 168 192 176
	Color  3 168 192 176
	Color  4 168 192 176
	Color  5 155 177 163
	Color  6 140 160 147
	Color  7 127 145 133
	Color  8 113 129 119
	Color  9  98 112 103 # lightest foreground allowed
	Color 10  85  97  89
	Color 11  72  82  75
	Color 12  56  64  59
	Color 13  43  49  45
	Color 14  29  34  31
	Color 15  14  16  15
	Color 16   0   0   0 # default foreground
	Color 17   0   0   0
	Color 18   0   0   0
	Color 19   0   0   0
	Color 20   0   0   0
	Color 21   0   0   0
	Color 22   0   0   0
	Color 23   0   0   0
	Color 24   0   0   0
	Color 25   0   0   0
	Color 26   0   0   0
	Color 27   0   0   0
	Color 28   0   0   0
	Color 29   0   0   0
	Color 30   0   0   0
	Color 31   0   0   0

	Color 48 168 192 176 # default background
	Color 49 155 177 163
	Color 50 140 160 147
	Color 51 127 145 133
	Color 52 113 129 119
	Color 53  98 112 103
	Color 54  85  97  89
	Color 55  72  82  75
	Color 56  56  64  59 # darkest background allowed
	Color 57  43  49  45
	Color 58  29  34  31
	Color 59  14  16  15
	Color 60   0   0   0
	Color 61   0   0   0
	Color 62   0   0   0
	Color 63   0   0   0
End

Annunciator 1
	Size 16 11
	Offset 49 1
	Down 0 638
End

Annunciator 2
	Size 16 11
	Offset 90 1
	Down 16 638
End

Annunciator 3
	Size 16 11
	Offset 131 1
	Down 32 638
End

Annunciator 4
	Size 16 11
	Offset 172 1
	Down 48 638
End

Annunciator 5
	Size 16 11
	Offset 215 1
	Down 64 638
End

Annunciator 6
	Size 16 11
	Offset 255 1
	Down 80 638
End

Button 11
	Type 0
	Size  42 28
	Offset  8 188
	Down 312 188
	OutIn 5 1
End
Scancode 65
	Map 65 11
End
Scancode 112
	Map 112 11
End

Button 12
	Type 0
	Size  42 28
	Offset 56 188
	Down 360 188
	OutIn 5 2
End
Scancode 66
	Map 66 12
End
Scancode 113
	Map 113 12
End

Button 13
	Type 0
	Size  42 28
	Offset 105 188
	Down 409 188
	OutIn 5 4
End
Scancode 67
	Map 67 13
End
Scancode 114
	Map 114 13
End

Button 14
	Type 0
	Size  42 28
	Offset 154 188
	Down 458 188
	OutIn 5 8
End
Scancode 68
	Map 68 14
End
Scancode 114
	Map 114 13
End

Button 15
	Type 0
	Size  42 28
	Offset 204 188
	Down 508 188
	OutIn 5 16
End
Scancode 69
	Map 69 15
End
Scancode 116
	Map 116 15
End

Button 16
	Type 0
	Size  42 28
	Offset 254 188
	Down 558 188
	OutIn 5 32
End
Scancode 70
	Map 70 16
End
Scancode 116
	Map 116 15
End

Button 21
	Type 0
	Size 42 33
	Offset 8 231
	Down 312 231
	OutIn 5 128
End
Scancode 71
	Map 71 21
End

Button 22
	Type 0
	Size 42 33
	Offset 57 231
	Down 361 231
	OutIn 4 128
End
Scancode 72
	Map 72 22
End

Button 23
	Type 0
	Size 42 33
	Offset 106 231
	Down 410 231
	OutIn 3 128
End
Scancode 73
	Map 73 23
End


Button 31
	Type 0
	Size 42 33
	Offset 8 280
	Down 312 280
	OutIn 2 128
End
Scancode 74
	Map 74 31
End

Button 32
	Type 0
	Size 42 33
	Offset 57 280
	Down 361 280
	OutIn 1 128
End
Scancode 75
	Map 75 32
End

Button 33
	Type 0
	Size 42 33
	Offset 106 280
	Down 410 280
	OutIn 0 128
End
Scancode 76
	Map 76 33
End


Button 41
	Type 0
	Size 52 33
	Offset 8 328
	Down 312 328
	OutIn 4 64
End
Scancode 77
	Map 77 41
End
Button 42
	Type 0
	Size 52 33
	Offset 67 328
	Down 371 328
	OutIn 3 64
End
Scancode 78
	Map 78 42
End

Button 43
	Type 0
	Size 52 33
	Offset 126 328
	Down 430 328
	OutIn 2 64
End
Scancode 79
	Map 79 43
End

Button 44
	Type 0
	Size 52 33
	Offset 184 328
	Down 488 328
	OutIn 1 64
End
Scancode 80
	Map 80 44
End

Button 45
	Type 0
	Size 52 33
	Offset 243 328
	Down 547 328
	OutIn 0 64
End
Scancode 8
	Map 8 45
End


Button 51
	Type 0
	Size 52 33
	Offset 8 370
	Down 312 370
	OutIn 4 32
End
Scancode 81
	Map 81 51
End

Button 52
	Type 0
	Size 52 33
	Offset 67 370
	Down 371 370
	OutIn 3 32
End
Scancode 82
	Map 82 52
End

Button 53
	Type 0
	Size 52 33
	Offset 126 370
	Down 430 370
	OutIn 2 32
End
Scancode 83
	Map 83 53
End

Button 54
	Type 0
	Size 52 33
	Offset 184 370
	Down 488 370
	OutIn 1 32
End
Scancode 84
	Map 84 54
End

Button 55
	Type 0
	Size 52 33
	Offset 243 370
	Down 547 370
	OutIn 0 32
End
Scancode 85
	Map 85 55
End


Button 61
	Type 0
	Size 52 33
	Offset 8 412
	Down 312 412
	OutIn 4 16
End
Scancode 86
	Map 86 61
End

Button 62
	Type 0
	Size 52 33
	Offset 67 412
	Down 371 412
	OutIn 3 16
End
Scancode 87
	Map 87 62
End

Button 63
	Type 0
	Size 52 33
	Offset 126 412
	Down 430 412
	OutIn 2 16
End
Scancode 88
	Map 88 63
End

Button 64
	Type 0
	Size 52 33
	Offset 184 412
	Down 488 412
	OutIn 1 16
End
Scancode 89
	Map 89 64
End

Button 65
	Type 0
	Size 52 33
	Offset 243 412
	Down 547 412
	OutIn 0 16
End
Scancode 90
	Map 90 65
End
Scancode 111
	Map 111 65
End
Scancode 191
	Map 191 65
End


Button 71
	Type 0
	Size 52 39
	Offset 8 452
	Down 312 452
	OutIn 7 8
End
Scancode 9
	Map 9 71
End

Button 72
	Type 0
	Size 52 39
	Offset 67 452
	Down 371 452
	OutIn 3 8
End
Scancode 55
	Map 55 72
End
Scancode 103
	Map 103 72
End

Button 73
	Type 0
	Size 52 39
	Offset 126 452
	Down 430 452
	OutIn 2 8
End
Scancode 56
	Map 56 73
End
Scancode 104
	Map 104 73
End

Button 74
	Type 0
	Size 52 39
	Offset 184 452
	Down 488 452
	OutIn 1 8
End
Scancode 57
	Map 57 74
End
Scancode 105
	Map 105 74
End

Button 75
	Type 0
	Size 52 39
	Offset 243 452
	Down 547 452
	OutIn 0 8
End
Scancode 106
	Map 106 75
End

Button 81
	Type 0
	Size 52 39
	Offset 8 499
	Down 312 499
	OutIn 7 4
End
Scancode 16
	Map 16 81
End

Button 82
	Type 0
	Size 52 39
	Offset 67 499
	Down 371 499
	OutIn 3 4
End
Scancode 52
	Map 52 82
End
Scancode 100
	Map 100 82
End

Button 83
	Type 0
	Size 52 39
	Offset 126 499
	Down 430 499
	OutIn 2 4
End
Scancode 53
	Map 53 83
End
Scancode 101
	Map 101 83
End

Button 84
	Type 0
	Size 52 39
	Offset 184 499
	Down 488 499
	OutIn 1 4
End
Scancode 54
	Map 54 84
End
Scancode 102
	Map 102 84
End

Button 85
	Type 0
	Size 52 39
	Offset 243 499
	Down 547 499
	OutIn 0 4
End
Scancode 109
	Map 109 85
End
Scancode 189
	Map 189 85
End

Button 91
	Type 0
	Size 52 39
	Offset 8 545
	Down 312 545
	OutIn 7 2
End
Scancode 17
	Map 17 91
End

Button 92
	Type 0
	Size 52 39
	Offset 67 545
	Down 371 545
	OutIn 3 2
End
Scancode 49
	Map 49 92
End
Scancode 97
	Map 97 92
End

Button 93
	Type 0
	Size 52 39
	Offset 126 545
	Down 430 545
	OutIn 2 2
End
Scancode 50
	Map 50 93
End
Scancode 98
	Map 98 93
End

Button 94
	Type 0
	Size 52 39
	Offset 184 545
	Down 488 545
	OutIn 1 2
End
Scancode 51
	Map 51 94
End
Scancode 99
	Map 99 94
End

Button 95
	Type 0
	Size 52 39
	Offset 243 545
	Down 547 545
	OutIn 0 2
End
Scancode 107
	Map 107 95
End
Scancode 187
	Map 187 95
End

Button 101
	Type 0
	Size 52 39
	Offset 8 589
	Down 312 589
	OutIn 0 32768
End
Scancode 27
	Map 27 101
End

Button 102
	Type 0
	Size 52 39
	Offset 67 589
	Down 371 589
	OutIn 3 1
End
Scancode 48
	Map 48 102
End
Scancode 96
	Map 96 102
End

Button 103
	Type 0
	Size 52 39
	Offset 126 589
	Down 430 589
	OutIn 2 1
End
Scancode 190
	Map 190 103
End
Scancode 110
	Map 110 103
End

Button 104
	Type 0
	Size 52 39
	Offset 184 589
	Down 488 589
	OutIn 1 1
End
Scancode 32
	Map 32 104
End

Button 105
	Type 0
	Size 52 39
	Offset 243 589
	Down 547 589
	OutIn 0 1
End
Scancode 13
	Map 13 105
End


Button 110
	Type 0
	Size 35 37
	Offset 244 254
	Down 548 254
	OutIn 6 1
End
Scancode 39
	Map 39 110
End

Button 111
	Type 0
	Size 35 37
	Offset 208 282
	Down 512 282
	OutIn 6 2
End
Scancode 40
	Map 40 111
End

Button 112
	Type 0
	Size 35 37
	Offset 172 254
	Down 476 254
	OutIn 6 4
End
Scancode 37
	Map 37 112
End

Button 113
	Type 0
	Size 35 37
	Offset 208 227
	Down 512 227
	OutIn 6 8
End
Scancode 38
	Map 38 113
End

Button 121
	Type 2
	Size 42 16
	Offset 21 156
	OnDown
		Press 11
	End
	OnUp
		Release 11
	End
End

Button 122
	Type 2
	Size 42 16
	Offset 65 156
	OnDown
		Press 12
	End
	OnUp
		Release 12
	End
End
Button 123
	Type 2
	Size 42 16
	Offset 109 156
	OnDown
		Press 13
	End
	OnUp
		Release 13
	End
End
Button 124
	Type 2
	Size 42 16
	Offset 153 156
	OnDown
		Press 14
	End
	OnUp
		Release 14
	End
End
Button 125
	Type 2
	Size 42 16
	Offset 197 156
	OnDown
		Press 15
	End
	OnUp
		Release 15
	End
End

Button 126
	Type 2
	Size 42 16
	Offset 241 156
	OnDown
		Press 16
	End
	OnUp
		Release 16
	End
End

Button 127
	Type 0
	Size 16 16
	Offset 0 156
	Down 305 156
	OnDown
		Press 81
		Release 81
		Press 33
	End
	OnUp
		Release 33
	End
End

Button 128
	Type 0
	Size 16 16
	Offset 288 156
	Down 593 156
	OnDown
		Press 33
	End
	OnUp
		Release 33
	End
End

Button 129
	Type 4
	Size 262 144
	Offset 21 12
	NoHold
End

Scancode 186
	Map 186 91
	Map 186 104
End

Scancode 192
	Map 192 91
	Map 192 43
End

Scancode 219
	Map 219 81
	Map 219 75
End

Scancode 221
	Map 221 81
	Map 221 95
End

Scancode 220
	Map 220 81
	Map 220 85
End

Scancode 222
	Map 222 43
End

Scancode 46
	Map 46 81
	Map 46 45
End

Scancode 36
	Map 36 91
	Map 36 112
End

Scancode 35
	Map 35 91
	Map 35 110
End

Scancode 33
	Map 33 81
	Map 33 113
End

Scancode 34
	Map 34 81
	Map 34 111
End