Skip to content

Commit 822f4e8

Browse files
Note OBJ_TRN and TEST_EN do not work on any SGB retail unit (#657)
* Note OBJ_TRN does not work on any SGB retail unit This is easily confirmed with disassembly (the OBJ_TRN handler is an immediate rts on all SGB revisions). Some (but not all) beta SGB BIOS revisions appear to not have this rts and thus appear to have the command functional. * Note TEST_EN does not work on any SGB retail unit Same deal with OBJ_TRN, this is easily confirmed with disassembly (the TEST_EN handler is an immediate rts on all SGB revisions). Some (but not all) beta SGB BIOS revisions appear to not have this rts and thus appear to have the command functional.
1 parent 2d49d59 commit 822f4e8

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

src/SGB_Command_Border.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ Thus a border can use three 15-color palettes.
101101

102102
## SGB Command $18 — OBJ_TRN
103103

104+
This command does nothing on all retail SGB revisions. The following description only applies to some prototype units.
105+
104106
Used to start transferring object attributes to SNES object attribute memory (OAM). Unlike all other
105107
functions with names ending in "\_TRN", this function does not use the usual
106108
one-time 4 KiB VRAM transfer method. Instead, when enabled (below
@@ -111,8 +113,6 @@ of the Game Boy screen are used - the masking method is unknown - frozen,
111113
black, or recommended to be covered by the SGB border, or else ??? Also,
112114
when the function is enabled, attract mode (built-in borders' screen saver on idle) is not performed.
113115

114-
This command does nothing on some SGB revisions. (SGBv2, SGB2?)
115-
116116
```
117117
Byte Content
118118
0 Command*8+Length (fixed length=1)

src/SGB_Command_System.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,11 @@ Attraction Disable disables this animation.
5151

5252
## SGB Command $0D — TEST_EN
5353

54+
This command does nothing on all retail SGB revisions. The following description only applies to some prototype units.
55+
5456
Used to enable/disable test mode for "SGB-CPU variable clock speed
5557
function". This function is disabled by default.
5658

57-
This command does nothing on some SGB revisions. (SGBv2 confirmed,
58-
unknown on others)
59-
6059
```
6160
Byte Content
6261
0 Command*8+Length (fixed length=1)

0 commit comments

Comments
 (0)