Skip to content
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.

Commit

Permalink
doc: update register list
Browse files Browse the repository at this point in the history
  • Loading branch information
LunarLambda committed Feb 18, 2023
1 parent fbfac86 commit fa14ffd
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion dist.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ make_dist() {

[ ! -d "$DIST" ] && mkdir "$DIST" || rm "$DIST"/*

(PROJECT=libseven VERSION=0.17.0 make_dist)
(PROJECT=libseven VERSION=0.17.1 make_dist)
(PROJECT=minrt VERSION=0.7.3 make_dist)
22 changes: 11 additions & 11 deletions libseven/doc/registers.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Address | Size | Access | GBATEK | libgba | libtonc | libs
0400 004C | 16 | W | MOSAIC | MOSAIC | MOSAIC | MOSAIC
0400 0050 | 16 | R/W | BLDCNT | BLDCNT | BLDCNT | BLDCNT
0400 0052 | 16 | R/W | BLDALPHA | BLDALPHA | BLDALPHA | BLDALPHA
0400 0054 | 16 | W | BLDY | BLDY | BLDY | **BLDVAL**
0400 0054 | 16 | W | BLDY | BLDY | BLDY | BLDY
​|||||||
0400 0060 | 16 | R/W | SOUND1CNT_L | SOUND1CNT_L | SOUND1CNT_L | -
0400 0062 | 16 | R/W | SOUND1CNT_H | SOUND1CNT_H | SOUND1CNT_H | -
Expand Down Expand Up @@ -85,22 +85,22 @@ Address | Size | Access | GBATEK | libgba | libtonc | libs
0400 010E | 16 | R/W | TM3CNT_H | TM3CNT_H | TM3CNT_H | **TM3CNT**
​|||||||
0400 0120 | 32 | R/W | SIODATA32 | SIODATA32 | SIODATA32 | SIODATA32
0400 0120 | 16 | R/W | SIOMULTI0 | SIOMULTI0 | SIOMULTI0 | -
0400 0122 | 16 | R/W | SIOMULTI1 | SIOMULTI1 | SIOMULTI1 | -
0400 0124 | 16 | R/W | SIOMULTI2 | SIOMULTI2 | SIOMULTI2 | -
0400 0126 | 16 | R/W | SIOMULTI3 | SIOMULTI3 | SIOMULTI3 | -
0400 0120 | 16 | R/W | SIOMULTI0 | SIOMULTI0 | SIOMULTI0 | **MULTIRECV0**
0400 0122 | 16 | R/W | SIOMULTI1 | SIOMULTI1 | SIOMULTI1 | **MULTIRECV1**
0400 0124 | 16 | R/W | SIOMULTI2 | SIOMULTI2 | SIOMULTI2 | **MULTIRECV2**
0400 0126 | 16 | R/W | SIOMULTI3 | SIOMULTI3 | SIOMULTI3 | **MULTIRECV3**
0400 0128 | 16 | R/W | SIOCNT | SIOCNT | SIOCNT | SIOCNT
0400 012A | 16 | R/W | SIOMLT_SEND | SIOMLT_SEND | SIOMLT_SEND | -
0400 012A | 16 | R/W | SIOMLT_SEND | SIOMLT_SEND | SIOMLT_SEND | **MULTISEND**
0400 012A | 16/8 | R/W | SIODATA8 | SIODATA8 | SIODATA8 | SIODATA8
​|||||||
0400 0130 | 16 | R | KEYINPUT | KEYINPUT [²] | KEYINPUT [²]| KEYINPUT
0400 0132 | 16 | R/W | KEYCNT | KEYCNT | KEYCNT | KEYCNT
​|||||||
0400 0134 | 16 | R/W | RCNT | RCNT | RCNT | **SIOMODE2**
0400 0140 | 16 | R/W | JOYCNT | **HS_CTRL** | JOYCNT | -
0400 0150 | 32 | R/W | JOY_RECV | **JOYRE** | JOY_RECV | -
0400 0154 | 32 | R/W | JOY_TRANS | **JOYTR** | JOY_TRANS | -
0400 0158 | 16 | R | JOYSTAT | **JSTAT** [²] | JOYSTAT [²] | -
0400 0134 | 16 | R/W | RCNT | RCNT | RCNT | RCNT
0400 0140 | 16 | R/W | JOYCNT | **HS_CTRL** | JOYCNT | JOYCNT
0400 0150 | 32 | R/W | JOY_RECV | **JOYRE** | JOY_RECV | **JOYRECV**
0400 0154 | 32 | R/W | JOY_TRANS | **JOYTR** | JOY_TRANS | **JOYSEND**
0400 0158 | 16 | R | JOYSTAT | **JSTAT** [²] | JOYSTAT [²] | JOYSTAT
​|||||||
[0400 0200] | 16 | R/W | IE | IE | IE | IE
0400 0202 | 16 | R/W | IF | IF | IF | IF
Expand Down
2 changes: 1 addition & 1 deletion libseven/include/seven/base.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

#define LIBSEVEN_VERSION_MAJOR 0
#define LIBSEVEN_VERSION_MINOR 17
#define LIBSEVEN_VERSION_PATCH 0
#define LIBSEVEN_VERSION_PATCH 1

#define LIBSEVEN_VERSION \
_LIBSEVEN_STR2(LIBSEVEN_VERSION_MAJOR) "." \
Expand Down
2 changes: 1 addition & 1 deletion libseven/include/seven/hw/video/blend.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ _LIBSEVEN_EXTERN_C

#define REG_BLDCNT VOLADDR(0x04000050, uint16_t)
#define REG_BLDALPHA VOLADDR(0x04000052, uint16_t)
#define REG_BLDVAL VOLADDR(0x04000054, uint16_t)
#define REG_BLDY VOLADDR(0x04000054, uint16_t)

#define BF_BLEND_MODE_OFFSET 6
#define BF_BLEND_MODE_LENGTH 2
Expand Down
2 changes: 1 addition & 1 deletion libseven/meson.build
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = '0.17.0'
version = '0.17.1'

sources = [
'src/hw/bios.s',
Expand Down
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
project('sdk-seven', 'c',
version: '0.19.3',
version: '0.19.4',
license: 'Zlib',
meson_version: '>=0.59.0',
default_options: ['warning_level=2', 'c_std=c99'])
Expand Down

0 comments on commit fa14ffd

Please sign in to comment.