├── _data
├── Opcodes.json
└── OpcodeDescriptions.json
├── _sass
├── _syntax-highlighting.scss
├── bootstrap
│ ├── utilities
│ │ ├── _clearfix.scss
│ │ ├── _screenreaders.scss
│ │ ├── _visibility.scss
│ │ ├── _shadows.scss
│ │ ├── _sizing.scss
│ │ ├── _float.scss
│ │ ├── _align.scss
│ │ ├── _background.scss
│ │ ├── _position.scss
│ │ ├── _embed.scss
│ │ ├── _display.scss
│ │ ├── _spacing.scss
│ │ ├── _borders.scss
│ │ ├── _text.scss
│ │ └── _flex.scss
│ ├── _media.scss
│ ├── mixins
│ │ ├── _box-shadow.scss
│ │ ├── _clearfix.scss
│ │ ├── _size.scss
│ │ ├── _visibility.scss
│ │ ├── _lists.scss
│ │ ├── _text-truncate.scss
│ │ ├── _resize.scss
│ │ ├── _float.scss
│ │ ├── _badge.scss
│ │ ├── _alert.scss
│ │ ├── _nav-divider.scss
│ │ ├── _text-emphasis.scss
│ │ ├── _transition.scss
│ │ ├── _text-hide.scss
│ │ ├── _list-group.scss
│ │ ├── _pagination.scss
│ │ ├── _background-variant.scss
│ │ ├── _reset-text.scss
│ │ ├── _table-row.scss
│ │ ├── _border-radius.scss
│ │ ├── _screen-reader.scss
│ │ ├── _hover.scss
│ │ ├── _image.scss
│ │ ├── _caret.scss
│ │ ├── _grid.scss
│ │ ├── _grid-framework.scss
│ │ ├── _gradients.scss
│ │ ├── _buttons.scss
│ │ ├── _forms.scss
│ │ └── _breakpoints.scss
│ ├── _transitions.scss
│ ├── _jumbotron.scss
│ ├── bootstrap-reboot.scss
│ ├── _utilities.scss
│ ├── _root.scss
│ ├── bootstrap-grid.scss
│ ├── _progress.scss
│ ├── _close.scss
│ ├── bootstrap.scss
│ ├── _mixins.scss
│ ├── _code.scss
│ ├── _badge.scss
│ ├── _grid.scss
│ ├── _images.scss
│ ├── _alert.scss
│ ├── _breadcrumb.scss
│ ├── _pagination.scss
│ ├── _nav.scss
│ ├── _type.scss
│ ├── _functions.scss
│ ├── _tooltip.scss
│ ├── _buttons.scss
│ ├── _list-group.scss
│ ├── _print.scss
│ ├── _tables.scss
│ ├── _dropdown.scss
│ ├── _button-group.scss
│ ├── _popover.scss
│ ├── _modal.scss
│ ├── _input-group.scss
│ ├── _carousel.scss
│ ├── _card.scss
│ ├── _navbar.scss
│ ├── _forms.scss
│ └── _reboot.scss
├── _bootstrap_customization.scss
├── _variables.scss
└── _custom.scss
├── assets
├── opengraph-image.png
├── opengraph-image-octal.png
├── opengraph-image-dark.png
├── opengraph-image-classic.png
├── opengraph-image-default.png
├── opengraph-image-dark-octal.png
├── opengraph-image-classic-octal.png
├── opengraph-image-default-octal.png
└── css
│ └── style.scss
├── favicon.ico
├── favicon.png
├── .gitignore
├── favicon-x128.png
├── _includes
├── optables
│ ├── content.html
│ ├── footer.html
│ ├── op-table.html
│ ├── tables.html
│ ├── op-table-oct.html
│ ├── mnemonic.html
│ ├── op-table-cell.html
│ └── description.html
├── awesome.html
├── content.html
├── opcode-reference.html
├── nav.html
├── hex.html
└── oct.html
├── 404.html
├── collections
├── _optables
│ ├── dark.md
│ ├── index.md
│ ├── classic.md
│ ├── octal.md
│ ├── darkoctal.md
│ ├── classicoctal.md
│ └── errata.md
└── _opdescriptions
│ └── index.html
├── OpcodeDescriptions.json
├── _layouts
├── opdescriptions.html
├── optable.html
└── default.html
├── index.html
├── Gemfile
├── _config.yml
└── LICENSE
/_data/Opcodes.json:
--------------------------------------------------------------------------------
1 | ../Opcodes.json
--------------------------------------------------------------------------------
/_sass/_syntax-highlighting.scss:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/assets/opengraph-image.png:
--------------------------------------------------------------------------------
1 | opengraph-image-default.png
--------------------------------------------------------------------------------
/_data/OpcodeDescriptions.json:
--------------------------------------------------------------------------------
1 | ../OpcodeDescriptions.json
--------------------------------------------------------------------------------
/assets/opengraph-image-octal.png:
--------------------------------------------------------------------------------
1 | opengraph-image-default-octal.png
--------------------------------------------------------------------------------
/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gbdev/gb-opcodes/HEAD/favicon.ico
--------------------------------------------------------------------------------
/favicon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gbdev/gb-opcodes/HEAD/favicon.png
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | _site
2 | .sass-cache
3 | .jekyll-metadata
4 | *.lock
5 | run.sh
6 |
--------------------------------------------------------------------------------
/favicon-x128.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gbdev/gb-opcodes/HEAD/favicon-x128.png
--------------------------------------------------------------------------------
/_sass/bootstrap/utilities/_clearfix.scss:
--------------------------------------------------------------------------------
1 | .clearfix {
2 | @include clearfix();
3 | }
4 |
--------------------------------------------------------------------------------
/_includes/optables/content.html:
--------------------------------------------------------------------------------
1 | {% include optables/tables.html %}
2 | {% include optables/description.html %}
--------------------------------------------------------------------------------
/assets/opengraph-image-dark.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gbdev/gb-opcodes/HEAD/assets/opengraph-image-dark.png
--------------------------------------------------------------------------------
/assets/opengraph-image-classic.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gbdev/gb-opcodes/HEAD/assets/opengraph-image-classic.png
--------------------------------------------------------------------------------
/assets/opengraph-image-default.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gbdev/gb-opcodes/HEAD/assets/opengraph-image-default.png
--------------------------------------------------------------------------------
/assets/opengraph-image-dark-octal.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gbdev/gb-opcodes/HEAD/assets/opengraph-image-dark-octal.png
--------------------------------------------------------------------------------
/assets/opengraph-image-classic-octal.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gbdev/gb-opcodes/HEAD/assets/opengraph-image-classic-octal.png
--------------------------------------------------------------------------------
/assets/opengraph-image-default-octal.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gbdev/gb-opcodes/HEAD/assets/opengraph-image-default-octal.png
--------------------------------------------------------------------------------
/_sass/bootstrap/_media.scss:
--------------------------------------------------------------------------------
1 | .media {
2 | display: flex;
3 | align-items: flex-start;
4 | }
5 |
6 | .media-body {
7 | flex: 1;
8 | }
9 |
--------------------------------------------------------------------------------
/_includes/awesome.html:
--------------------------------------------------------------------------------
1 |
6 |
404
7 |
8 |
Page not found :(
9 |
The requested page could not be found.
10 |
11 |
--------------------------------------------------------------------------------
/_sass/bootstrap/mixins/_resize.scss:
--------------------------------------------------------------------------------
1 | // Resize anything
2 |
3 | @mixin resizable($direction) {
4 | overflow: auto; // Per CSS3 UI, `resize` only applies when `overflow` isn't `visible`
5 | resize: $direction; // Options: horizontal, vertical, both
6 | }
7 |
--------------------------------------------------------------------------------
/collections/_optables/dark.md:
--------------------------------------------------------------------------------
1 | ---
2 | layout: optable
3 | theme: dark
4 | containerFluid: true
5 | canonical: https://gbdev.github.io/gb-opcodes/optables/
6 | ogimage: /assets/opengraph-image-dark.png
7 | ---
8 |
9 | {% include optables/content.html %}
10 |
--------------------------------------------------------------------------------
/collections/_optables/index.md:
--------------------------------------------------------------------------------
1 | ---
2 | layout: optable
3 | theme: default
4 | containerFluid: true
5 | canonical: https://gbdev.github.io/gb-opcodes/optables/
6 | ogimage: /assets/opengraph-image.png
7 | ---
8 |
9 | {% include optables/content.html %}
10 |
--------------------------------------------------------------------------------
/collections/_optables/classic.md:
--------------------------------------------------------------------------------
1 | ---
2 | layout: optable
3 | theme: classic
4 | containerFluid: true
5 | canonical: https://gbdev.github.io/gb-opcodes/optables/
6 | ogimage: /assets/opengraph-image-classic.png
7 | ---
8 |
9 | {% include optables/content.html %}
10 |
--------------------------------------------------------------------------------
/_sass/bootstrap/mixins/_float.scss:
--------------------------------------------------------------------------------
1 | // stylelint-disable declaration-no-important
2 |
3 | @mixin float-left {
4 | float: left !important;
5 | }
6 | @mixin float-right {
7 | float: right !important;
8 | }
9 | @mixin float-none {
10 | float: none !important;
11 | }
12 |
--------------------------------------------------------------------------------
/collections/_optables/octal.md:
--------------------------------------------------------------------------------
1 | ---
2 | layout: optable
3 | theme: default
4 | containerFluid: true
5 | octalTables: true
6 | canonical: https://gbdev.github.io/gb-opcodes/optables/
7 | ogimage: assets/opengraph-image-octal.png
8 | ---
9 |
10 | {% include optables/content.html %}
11 |
--------------------------------------------------------------------------------
/collections/_optables/darkoctal.md:
--------------------------------------------------------------------------------
1 | ---
2 | layout: optable
3 | theme: dark
4 | containerFluid: true
5 | octalTables: true
6 | canonical: https://gbdev.github.io/gb-opcodes/optables/
7 | ogimage: /assets/opengraph-image-dark-octal.png
8 | ---
9 |
10 | {% include optables/content.html %}
11 |
--------------------------------------------------------------------------------
/_sass/bootstrap/utilities/_shadows.scss:
--------------------------------------------------------------------------------
1 | // stylelint-disable declaration-no-important
2 |
3 | .shadow-sm { box-shadow: $box-shadow-sm !important; }
4 | .shadow { box-shadow: $box-shadow !important; }
5 | .shadow-lg { box-shadow: $box-shadow-lg !important; }
6 | .shadow-none { box-shadow: none !important; }
7 |
--------------------------------------------------------------------------------
/collections/_optables/classicoctal.md:
--------------------------------------------------------------------------------
1 | ---
2 | layout: optable
3 | theme: classic
4 | containerFluid: true
5 | octalTables: true
6 | canonical: https://gbdev.github.io/gb-opcodes/optables/
7 | ogimage: /assets/opengraph-image-classic-octal.png
8 | ---
9 |
10 | {% include optables/content.html %}
11 |
--------------------------------------------------------------------------------
/_includes/optables/footer.html:
--------------------------------------------------------------------------------
1 |
2 | This page is based on the opcodes list of PASTRAISER . Errata
3 |
4 | {{ include.footerContent }}
5 |
--------------------------------------------------------------------------------
/_sass/bootstrap/mixins/_badge.scss:
--------------------------------------------------------------------------------
1 | @mixin badge-variant($bg) {
2 | color: color-yiq($bg);
3 | background-color: $bg;
4 |
5 | &[href] {
6 | @include hover-focus {
7 | color: color-yiq($bg);
8 | text-decoration: none;
9 | background-color: darken($bg, 10%);
10 | }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/OpcodeDescriptions.json:
--------------------------------------------------------------------------------
1 | {
2 | "unprefixed": {
3 | "nop": {
4 | "ops": [ 0 ],
5 | "desc": "No operation.",
6 | "flags": false
7 | },
8 | "ld_r16_n16": {
9 | "ops": [ 1, 17, 33, 49 ],
10 | "desc": "Load value
18 |
Hello, there!
19 |
20 | This page is built by the community but not yet finished.
21 | It is meant to become your go-to reference to lookup Game Boy instruction set related information.
22 |
23 | Why don’t you take a look at our
Opcode Tables first? :)
24 |
25 |
26 | {% endcapture%}
27 |
28 | {% include content.html content=_content %}
29 |
--------------------------------------------------------------------------------
/_sass/bootstrap/utilities/_position.scss:
--------------------------------------------------------------------------------
1 | // stylelint-disable declaration-no-important
2 |
3 | // Common values
4 |
5 | // Sass list not in variables since it's not intended for customization.
6 | // stylelint-disable-next-line scss/dollar-variable-default
7 | $positions: static, relative, absolute, fixed, sticky;
8 |
9 | @each $position in $positions {
10 | .position-#{$position} { position: $position !important; }
11 | }
12 |
13 | // Shorthand
14 |
15 | .fixed-top {
16 | position: fixed;
17 | top: 0;
18 | right: 0;
19 | left: 0;
20 | z-index: $zindex-fixed;
21 | }
22 |
23 | .fixed-bottom {
24 | position: fixed;
25 | right: 0;
26 | bottom: 0;
27 | left: 0;
28 | z-index: $zindex-fixed;
29 | }
30 |
31 | .sticky-top {
32 | @supports (position: sticky) {
33 | position: sticky;
34 | top: 0;
35 | z-index: $zindex-sticky;
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/_sass/_variables.scss:
--------------------------------------------------------------------------------
1 | $grid-breakpoints: (
2 | xs: 0,
3 | sm: 576px,
4 | md: 768px,
5 | lg: 992px,
6 | xl: 1360px
7 | ) !default;
8 |
9 | $container-max-widths: (
10 | sm: 540px,
11 | md: 720px,
12 | lg: 960px,
13 | xl: 1300px
14 | ) !default;
15 |
16 | $op-illegal: ( default: #d6d8db, classic: #bfbfbf, dark: #212529 );
17 | $op-control: ( default: #f5c6cb, classic: #ff99cc, dark: #7a171b );
18 | $op-jump: ( default: #ffdeba, classic: #ffcc99, dark: #a85e0d );
19 | $op-load: ( default: #c1b8ff, classic: #ccccff, dark: #282877 );
20 | $op-arithmetic: ( default: #ffeeba, classic: #ffff99, dark: #95730e );
21 | $op-arithmetic16: ( default: #f2c2b5, classic: #ffcccc, dark: #9f4021 );
22 | $op-bit: ( default: #d8f5f9, classic: #80ffff, dark: #137d8c );
23 | $op-load16: ( default: #c3e6cb, classic: #ccffcc, dark: #035603);
24 |
--------------------------------------------------------------------------------
/_sass/bootstrap/mixins/_border-radius.scss:
--------------------------------------------------------------------------------
1 | // Single side border-radius
2 |
3 | @mixin border-radius($radius: $border-radius) {
4 | @if $enable-rounded {
5 | border-radius: $radius;
6 | }
7 | }
8 |
9 | @mixin border-top-radius($radius) {
10 | @if $enable-rounded {
11 | border-top-left-radius: $radius;
12 | border-top-right-radius: $radius;
13 | }
14 | }
15 |
16 | @mixin border-right-radius($radius) {
17 | @if $enable-rounded {
18 | border-top-right-radius: $radius;
19 | border-bottom-right-radius: $radius;
20 | }
21 | }
22 |
23 | @mixin border-bottom-radius($radius) {
24 | @if $enable-rounded {
25 | border-bottom-right-radius: $radius;
26 | border-bottom-left-radius: $radius;
27 | }
28 | }
29 |
30 | @mixin border-left-radius($radius) {
31 | @if $enable-rounded {
32 | border-top-left-radius: $radius;
33 | border-bottom-left-radius: $radius;
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/_sass/bootstrap/mixins/_screen-reader.scss:
--------------------------------------------------------------------------------
1 | // Only display content to screen readers
2 | //
3 | // See: https://a11yproject.com/posts/how-to-hide-content/
4 | // See: https://hugogiraudel.com/2016/10/13/css-hide-and-seek/
5 |
6 | @mixin sr-only {
7 | position: absolute;
8 | width: 1px;
9 | height: 1px;
10 | padding: 0;
11 | overflow: hidden;
12 | clip: rect(0, 0, 0, 0);
13 | white-space: nowrap;
14 | border: 0;
15 | }
16 |
17 | // Use in conjunction with .sr-only to only display content when it's focused.
18 | //
19 | // Useful for "Skip to main content" links; see https://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1
20 | //
21 | // Credit: HTML5 Boilerplate
22 |
23 | @mixin sr-only-focusable {
24 | &:active,
25 | &:focus {
26 | position: static;
27 | width: auto;
28 | height: auto;
29 | overflow: visible;
30 | clip: auto;
31 | white-space: normal;
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/_sass/bootstrap/mixins/_hover.scss:
--------------------------------------------------------------------------------
1 | // Hover mixin and `$enable-hover-media-query` are deprecated.
2 | //
3 | // Originally added during our alphas and maintained during betas, this mixin was
4 | // designed to prevent `:hover` stickiness on iOS-an issue where hover styles
5 | // would persist after initial touch.
6 | //
7 | // For backward compatibility, we've kept these mixins and updated them to
8 | // always return their regular pseudo-classes instead of a shimmed media query.
9 | //
10 | // Issue: https://github.com/twbs/bootstrap/issues/25195
11 |
12 | @mixin hover {
13 | &:hover { @content; }
14 | }
15 |
16 | @mixin hover-focus {
17 | &:hover,
18 | &:focus {
19 | @content;
20 | }
21 | }
22 |
23 | @mixin plain-hover-focus {
24 | &,
25 | &:hover,
26 | &:focus {
27 | @content;
28 | }
29 | }
30 |
31 | @mixin hover-focus-active {
32 | &:hover,
33 | &:focus,
34 | &:active {
35 | @content;
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/_sass/bootstrap/utilities/_embed.scss:
--------------------------------------------------------------------------------
1 | // Credit: Nicolas Gallagher and SUIT CSS.
2 |
3 | .embed-responsive {
4 | position: relative;
5 | display: block;
6 | width: 100%;
7 | padding: 0;
8 | overflow: hidden;
9 |
10 | &::before {
11 | display: block;
12 | content: "";
13 | }
14 |
15 | .embed-responsive-item,
16 | iframe,
17 | embed,
18 | object,
19 | video {
20 | position: absolute;
21 | top: 0;
22 | bottom: 0;
23 | left: 0;
24 | width: 100%;
25 | height: 100%;
26 | border: 0;
27 | }
28 | }
29 |
30 | .embed-responsive-21by9 {
31 | &::before {
32 | padding-top: percentage(9 / 21);
33 | }
34 | }
35 |
36 | .embed-responsive-16by9 {
37 | &::before {
38 | padding-top: percentage(9 / 16);
39 | }
40 | }
41 |
42 | .embed-responsive-4by3 {
43 | &::before {
44 | padding-top: percentage(3 / 4);
45 | }
46 | }
47 |
48 | .embed-responsive-1by1 {
49 | &::before {
50 | padding-top: percentage(1 / 1);
51 | }
52 | }
53 |
--------------------------------------------------------------------------------
/_sass/bootstrap/_progress.scss:
--------------------------------------------------------------------------------
1 | @keyframes progress-bar-stripes {
2 | from { background-position: $progress-height 0; }
3 | to { background-position: 0 0; }
4 | }
5 |
6 | .progress {
7 | display: flex;
8 | height: $progress-height;
9 | overflow: hidden; // force rounded corners by cropping it
10 | font-size: $progress-font-size;
11 | background-color: $progress-bg;
12 | @include border-radius($progress-border-radius);
13 | @include box-shadow($progress-box-shadow);
14 | }
15 |
16 | .progress-bar {
17 | display: flex;
18 | flex-direction: column;
19 | justify-content: center;
20 | color: $progress-bar-color;
21 | text-align: center;
22 | white-space: nowrap;
23 | background-color: $progress-bar-bg;
24 | @include transition($progress-bar-transition);
25 | }
26 |
27 | .progress-bar-striped {
28 | @include gradient-striped();
29 | background-size: $progress-height $progress-height;
30 | }
31 |
32 | .progress-bar-animated {
33 | animation: progress-bar-stripes $progress-bar-animation-timing;
34 | }
35 |
--------------------------------------------------------------------------------
/_sass/bootstrap/_close.scss:
--------------------------------------------------------------------------------
1 | .close {
2 | float: right;
3 | font-size: $close-font-size;
4 | font-weight: $close-font-weight;
5 | line-height: 1;
6 | color: $close-color;
7 | text-shadow: $close-text-shadow;
8 | opacity: .5;
9 |
10 | &:not(:disabled):not(.disabled) {
11 |
12 | @include hover-focus {
13 | color: $close-color;
14 | text-decoration: none;
15 | opacity: .75;
16 | }
17 |
18 | // Opinionated: add "hand" cursor to non-disabled .close elements
19 | cursor: pointer;
20 | }
21 | }
22 |
23 | // Additional properties for button version
24 | // iOS requires the button element instead of an anchor tag.
25 | // If you want the anchor version, it requires `href="#"`.
26 | // See https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile
27 |
28 | // stylelint-disable property-no-vendor-prefix, selector-no-qualifying-type
29 | button.close {
30 | padding: 0;
31 | background-color: transparent;
32 | border: 0;
33 | -webkit-appearance: none;
34 | }
35 | // stylelint-enable
36 |
--------------------------------------------------------------------------------
/_includes/nav.html:
--------------------------------------------------------------------------------
1 | {% assign collection_url = page.url | split: "/" | pop | join "/" | strip | prepend: "/" | append: "/" | relative_url %}
2 |