Internal EEPROM

From WSdev Wiki
Jump to navigationJump to search

The internal EEPROM is 128 bytes on the mono model, and 2048 bytes on Color models. It is absent on the Pocket Challenge V2.

The first 96 bytes are used for software data, and can be written to even after the protection bit has been enabled. This is intended for transferring save data between cartridges.

Contents

Offset Length Contents
$00 96 Program data. Can be written by programs even if write protection has been enabled.
$60 16 Owner name, custom character set.
$70 1 Owner birthday year, BCD, first/higher two digits
$71 1 Owner birthday year, BCD, last/lower two digits
$72 1 Owner birthday month, BCD
$73 1 Owner birthday day, BCD
$74 1 Owner gender:

0 - ?
1 - Male
2 - Female

$75 1 Owner blood type:

0 - ?
1 - A
2 - B
3 - 0
4 - AB

$76 1 Last booted ROM header byte 6 (developer/publisher ID)
$77 1 Last booted ROM header byte 7 (color)
$78 1 Last booted ROM header byte 8 (game ID)
$7C 1 Stored cartridge ID/version change counter
$7D 1 Owner name change counter
$7E 2 System startup counter
$80 1 Last booted ROM header byte 6 (developer/publisher ID) - only changed if byte 7 (color) != 0
$81 1 Last booted ROM header byte 7 (color) - only changed if byte 7 (color) != 0
$82 1 Last booted ROM header byte 8 (game ID) - only changed if byte 7 (color) != 0
$83 1 Color model configuration
$84 1 Name color
$85 ? Custom splash animation, if present

Owner name character set

.0 .1 .2 .3 .4 .5 .6 .7 .8 .9 .A .B .C .D .E .F
0. 0 1 2 3 4 5 6 7 8 9 A B C D E
1. F G H I J K L M N O P Q R S T U
2. V W X Y Z + - ? .

Color model configuration

7  bit  0
---- ----
sc.. ..vv
||     ||
||     ++- Volume level
|+-------- Contrast (WSC): 0 = Low, 1 = High
+--------- Custom splash animation enabled

Name colors

Value RGB code
0 #000
1 #f00
2 #f70
3 #ff0
4 #7f0
5 #0f0
6 #0f7
7 #0ff
8 #07f
9 #00f
10 #70f
11 #f0f
12 #f07
13 #fff