Documentation ¶
Overview ¶
Copyright 2014, 2015 Jonathan da Silva SAntos
This file is part of Alphanes.
Alphanes is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Alphanes is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Alphanes. If not, see <http://www.gnu.org/licenses/>.
Copyright 2014, 2014 Jonathan da Silva SAntos ¶
This file is part of Alphanes.
Alphanes is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Alphanes is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Alphanes. If not, see <http://www.gnu.org/licenses/>.
Copyright 2014, 2014 Jonathan da Silva SAntos ¶
This file is part of Alphanes.
Alphanes is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Alphanes is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Alphanes. If not, see <http://www.gnu.org/licenses/>.
Copyright 2014, 2014 Jonathan da Silva SAntos ¶
This file is part of Alphanes.
Alphanes is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Alphanes is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Alphanes. If not, see <http://www.gnu.org/licenses/>.
Index ¶
- func Bit0(input byte) byte
- func Bit1(input byte) byte
- func Bit2(input byte) byte
- func Bit3(input byte) byte
- func Bit4(input byte) byte
- func Bit5(input byte) byte
- func Bit6(input byte) byte
- func Bit7(input byte) byte
- func ClearVBLANK(ppu *PPU)
- func H(value uint16) byte
- func L(value uint16) byte
- func LE(a byte, b byte) uint16
- func Process(ppu *PPU, cart *cartridge.Cartridge)
- func READ_SCREEN(ppu *PPU, x int, y int) int
- func ReadBit(input byte, pos byte) byte
- func ReadPPURam(ppu *PPU, addr uint16) byte
- func SetBit(input byte, pos byte, value byte) byte
- func SetVBLANK(ppu *PPU)
- func ShowScreen(ppu *PPU)
- func WRITE_SCREEN(ppu *PPU, x int, y int, k int)
- type PPU
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClearVBLANK ¶
func ClearVBLANK(ppu *PPU)
func ReadPPURam ¶
func SetBit ¶
func SetBit(input *byte, pos byte, value byte ) { if value == 1 { *input |= 1 << pos } else { *input &= ^(1 << pos) } }
func ShowScreen ¶
func ShowScreen(ppu *PPU)
Types ¶
Click to show internal directories.
Click to hide internal directories.