Skip to content
A Gameboy emulator for Emacs
Branch: master
Clone or download
Pieter de Vreeze
Pieter de Vreeze Fix some instructions, ran the cpu instr tests
** Tested with individual cpu instructions tests:
*** 01
Infinite loop
*** 02
EI
FAILED #2
*** 03
F8 F8
Failed
*** 04
C6 DE
Failed
*** 05
Passed
*** 06
Passed
*** 07
Runs in infinite loop.
*** 08
Passed
*** 09
 1. 3F
 2. 07
 3. 17
 4. 0F
 5. CB 00
 6. CB 01
 7. CB 02
 8. CB 03
 9. CB 05
 10. CB 07
 11. Cb 08
 12. CB 09
 13. CB 0A
 14. CB 0B
 15. CB 0C
 16. CB 0D
 17. CB 0F
 18. CB 10
 19. CB 11
 20. CB 12
 21. CB 13
 22. CB 14
 23. CB 15
 24. CB 17
 25. CB 20
 26. CB 21
 27. CB 22
 28. CB 23
 29. CB 24
 30. CB 25
 31. CB 27
*** 10
Passed
*** 11
Failed:
 1. CB 06
 2. CB 0E
 3. CB 2E
 4. CB 3E
 5. CB 46
 6. CB 4E
 7. CB 56
 8. CB 5E
 9. CB 66
 10. CB 6E
 11. CB 76
 12. CB 7E
 13. CB 86
 14. CB 8E
 15. CB 96
 16. CB 9E
 17. CB A6
 18. CB AE
 19. CB B6
 20. CB BE
 21. CB C6
 22. CB CE
 23. CB D6
 24. CB DE
 25. CB E6
 26. CB EE
 27. CB F6
 28. CB FE
Latest commit 6a58439 Mar 16, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
gif Fix ignore non-character input. Mar 12, 2019
LICENSE
README.md
eboy-cpu.el
eboy-macros.el Move macros to separate file Mar 1, 2019
eboy-notes.org
eboy.el Fix ignore non-character input. Mar 12, 2019

README.md

Eboy - Emacs Gameboy Emulator

A Nintendo Gameboy emulator for Emacs. This is a work in progress! Just got Tetris starting up, not tested with anything else.

It currently runs a constant loop without delay. To get out of this loop, use the common C-g command.

The display is drawn using unicode, by default it is set for dark theme. Use the unicode list below when you have a light theme installed in Emacs.

(setq eboy-display-unicode-list eboy-display-unicode-list-light-theme)

It has frameskip enabled, by default set to 20.

Why?

I always wanted to learn how to a make an emulator and want learn how to write packages for Emacs. So here my first emulator and first emacs package.

Prerequisites

Emacs :)

Installing

For now just M-x eval-buffer or M-x byte-compile-file the following files: eboy-macros.el, eboy-cpu.el and eboy.el.

Usage

Load a rom using the M-x eboy-load-rom command.

Gameboy Eboy
Start Enter
Select Space
B D
A S
down k
up i
left j
right l

To continue a game after you pressed C-g, use the M-x eboy-run command.

You can’t perform that action at this time.