Global
	Print    "================================================="
	Print    ""
	Print    "This Real 71B graphic is by Christoph Giesselink."
	Print    "http://hp.giesselink.com/"
	Print    "Graphic based on a scan by Hewlett-Packard."
        Print    "Water resistant overlay for HP-71B."
	Print    ""
	Print    "================================================="
	Title    "HP-71B Water resistant for 1024x768"
	Author   "Christoph Giesselink / Matthias Wehrli"
	Hardware "Saturn"
	Model    "T"		# Titan
	Rom      "HP71B.ROM"
	Bitmap   "REAL71BL_Waterres.BMP"
	Debug    0
End

Background
	Offset   0   0
	Size   991 501
End

Lcd
	Zoom 3
	Offset 186 86
	Color  1 113 113 109	# character color table
	Color  2  98  98  94
	Color  3  84  84  81
	Color  4  70  70  67
	Color  5  56  56  54
	Color  6  42  42  40
	Color  7  28  28  27
	Color  8  14  14  13
	Color  9   0   0   0	# default
	Color 10   0   0   0
	Color 11   0   0   0
	Color 12   0   0   0
	Color 13   0   0   0
	Color 14   0   0   0
	Color 15   0   0   0
	Color 26 126 127 121	# background color table
	Color 27 120 121 115
	Color 28 114 115 109
	Color 29 108 109 103
	Color 30 102 103  97
	Color 31  96  97  91
End

# target position for the annunciators

Annunciator 4			# <--
	Offset 137 79
End

Annunciator 5			# AC
	Offset 137 89
End

Annunciator 6			# USER
	Offset 140 100
End

Annunciator 7			# RAD
	Offset 146 111
End

Annunciator 11			# f
	Offset 171 78
End

Annunciator 12			# g
	Offset 163 78
End

Annunciator 13			# BAT
	Offset 155 89
End

Annunciator 20			# 0
	Offset 589 76
End

Annunciator 21			# 1
	Offset 589 85
End

Annunciator 22			# 2
	Offset 589 94
End

Annunciator 23			# 3
	Offset 589 103
End

Annunciator 24			# 4
	Offset 589 112
End

Annunciator 28			# ((*))
	Offset 598 77
End

Annunciator 29			# -->
	Offset 617 78
End

Annunciator 30			# PRGM
	Offset 596 88
End

Annunciator 31			# SUSP
	Offset 597 99
End

Annunciator 32			# CALC
	Offset 597 110
End

Include "REAL71BL_ann.kmi"

Button 401			# ON, should be the first defined key
	Type 5
	Size 42 33
	Offset 66 416
	OutIn 0 32769		# wired with OutIn 0 32768 and OutIn 0 1
End

Button 101
	Type 5
	Size 42 33
	Offset 66 219
	OutIn 3 1
End
Button 102
	Type 5
	Size 42 33
	Offset 125 219
	OutIn 3 2
End
Button 103
	Type 5
	Size 42 33
	Offset 184 219
	OutIn 3 4
End
Button 104
	Type 5
	Size 42 33
	Offset 243 219
	OutIn 3 8
End
Button 105
	Type 5
	Size 42 33
	Offset 302 219
	OutIn 3 16
End
Button 106
	Type 5
	Size 42 33
	Offset 361 219
	OutIn 3 32
End
Button 107
	Type 5
	Size 42 33
	Offset 420 219
	OutIn 3 64
End
Button 108
	Type 5
	Size 42 33
	Offset 479 219
	OutIn 3 128
End
Button 109
	Type 5
	Size 42 33
	Offset 538 219
	OutIn 3 256
End
Button 110
	Type 5
	Size 42 33
	Offset 597 219
	OutIn 3 512
End
Button 111
	Type 5
	Size 53 32
	Offset 658 218
	OutIn 3 1024
End
Button 112
	Type 5
	Size 53 32
	Offset 730 218
	OutIn 3 2048
End
Button 113
	Type 5
	Size 53 32
	Offset 802 218
	OutIn 3 4096
End
Button 114
	Type 5
	Size 53 32
	Offset 874 218
	OutIn 3 8192
End

Button 201
	Type 5
	Size 42 33
	Offset 66 286
	OutIn 2 1
End
Button 202
	Type 5
	Size 42 33
	Offset 125 286
	OutIn 2 2
End
Button 203
	Type 5
	Size 42 33
	Offset 184 286
	OutIn 2 4
End
Button 204
	Type 5
	Size 42 33
	Offset 243 286
	OutIn 2 8
End
Button 205
	Type 5
	Size 42 33
	Offset 302 286
	OutIn 2 16
End
Button 206
	Type 5
	Size 42 33
	Offset 361 286
	OutIn 2 32
End
Button 207
	Type 5
	Size 42 33
	Offset 420 286
	OutIn 2 64
End
Button 208
	Type 5
	Size 42 33
	Offset 479 286
	OutIn 2 128
End
Button 209
	Type 5
	Size 42 33
	Offset 538 286
	OutIn 2 256
End
Button 210
	Type 5
	Size 42 33
	Offset 597 286
	OutIn 2 512
End
Button 211
	Type 5
	Size 53 32
	Offset 658 285
	OutIn 2 1024
End
Button 212
	Type 5
	Size 53 32
	Offset 730 285
	OutIn 2 2048
End
Button 213
	Type 5
	Size 53 32
	Offset 802 285
	OutIn 2 4096
End
Button 214
	Type 5
	Size 53 32
	Offset 874 285
	OutIn 2 8192
End

Button 301
	Type 5
	Size 42 33
	Offset 66 351
	OutIn 1 1
End
Button 302
	Type 5
	Size 42 33
	Offset 125 351
	OutIn 1 2
End
Button 303
	Type 5
	Size 42 33
	Offset 184 351
	OutIn 1 4
End
Button 304
	Type 5
	Size 42 33
	Offset 243 351
	OutIn 1 8
End
Button 305
	Type 5
	Size 42 33
	Offset 302 351
	OutIn 1 16
End
Button 306
	Type 5
	Size 42 33
	Offset 361 351
	OutIn 1 32
End
Button 307
	Type 5
	Size 42 33
	Offset 420 351
	OutIn 1 64
End
Button 308
	Type 5
	Size 42 33
	Offset 479 351
	OutIn 1 128
End
Button 309
	Type 5
	Size 42 33
	Offset 538 351
	OutIn 1 256
End
Button 310
	Type 5
	Size 42 99
	Offset 597 351
	OutIn 1 512		# decoding first
#	OutIn 0 512		# working both for END
End
Button 311
	Type 5
	Size 53 32
	Offset 658 350
	OutIn 1 1024
End
Button 312
	Type 5
	Size 53 32
	Offset 730 350
	OutIn 1 2048
End
Button 313
	Type 5
	Size 53 32
	Offset 802 350
	OutIn 1 4096
End
Button 314
	Type 5
	Size 53 32
	Offset 874 350
	OutIn 1 8192
End

Button 402
	Type 5
	Size 42 33
	Offset 125 416
	OutIn 0 2
End
Button 403
	Type 5
	Size 42 33
	Offset 184 416
	OutIn 0 4
End
Button 404
	Type 5
	Size 42 33
	Offset 243 416
	OutIn 0 8
End
Button 405
	Type 5
	Size 42 33
	Offset 302 416
	OutIn 0 16
End
Button 406
	Type 5
	Size 42 33
	Offset 361 416
	OutIn 0 32
End
Button 407
	Type 5
	Size 42 33
	Offset 420 416
	OutIn 0 64
End
Button 408
	Type 5
	Size 42 33
	Offset 479 416
	OutIn 0 128
End
Button 409
	Type 5
	Size 42 33
	Offset 538 416
	OutIn 0 256
End
Button 411
	Type 5
	Size 53 32
	Offset 658 416
	OutIn 0 1024
End
Button 412
	Type 5
	Size 53 32
	Offset 730 415
	OutIn 0 2048
End
Button 413
	Type 5
	Size 53 32
	Offset 802 415
	OutIn 0 4096
End
Button 414
	Type 5
	Size 53 32
	Offset 874 415
	OutIn 0 8192
End

Include "Keyb71b.kmi"
