lazyboy-0.2.0.1: An EDSL for programming the Game Boy.

Copyright(c) Rose 2019
LicenseBSD3
Maintainerrose@lain.org.uk
Stabilityexperimental
PortabilityPOSIX
Safe HaskellSafe
LanguageHaskell2010

Lazyboy.Constants

Description

This module provides definitions of constants referring to the Game Boy hardware.

Synopsis

Documentation

wram0 :: Word16 Source #

Work RAM (WRAM) Bank 0

wram1 :: Word16 Source #

Work RAM (WRAM) Bank 1

joypad :: Word16 Source #

Player 1 Joypad

lcdc :: Word16 Source #

LCD Control

lcdstate :: Word16 Source #

LCD state

scx :: Word16 Source #

Scroll X

scy :: Word16 Source #

Scroll Y

ly :: Word16 Source #

LCDC Y-coordinate

lyc :: Word16 Source #

LCDC Y-compare

dma :: Word16 Source #

DMA start address

bgp :: Word16 Source #

Background Palette Data

vram :: Word16 Source #

Video RAM (VRAM)

background1 :: Word16 Source #

Start of 32x32 tile background map #1

background2 :: Word16 Source #

Start of 32x32 tile background map #2

hram :: Word16 Source #

High RAM (HRAM)

screenWidth :: Word8 Source #

Screen width

screenHeight :: Word8 Source #

Screen height