<commit_before># emulator

`emulator` is a Nintendo Game Boy emulator written in C++. Its goals are _code readability_ and _utilisation of modern C++_.

### Progress

| #   | CPU Test            | Status |
| --- | ---                 | ---    |
| 01  | special             | ❌      |
| 02  | interrupts          | ❌      |
| 03  | op sp,hl            | ✅      |
| 04  | op r,imm            | ✅      |
| 05  | op rp               | ✅      |
| 06  | ld r,r              | ✅      |
| 07  | jr,jp,call,ret,rst  | ✅      |
| 08  | misc                | ✅      |
| 09  | op r,r              | ✅      |
| 10  | bit ops             | ✅      |
| 11  | op a,(hl)           | ❌      |

### Build Instructions

##### OSX & Linux

- Install [`libsfml`][sfml]
- Run `make`

[sfml]: http://www.sfml-dev.org

### Usage

##### Running a game

```sh
$ ./build/emulator rom_file
```

##### Using the integrated debugger

```sh
$ ./build/emulator rom_file -d
```<commit_msg>Update README.md now that 11-op a,(hl).gb passes<commit_after># emulator

`emulator` is a Nintendo Game Boy emulator written in C++. Its goals are _code readability_ and _utilisation of modern C++_.

### Progress

| #   | CPU Test            | Status |
| --- | ---                 | ---    |
| 01  | special             | ❌      |
| 02  | interrupts          | ❌      |
| 03  | op sp,hl            | ✅      |
| 04  | op r,imm            | ✅      |
| 05  | op rp               | ✅      |
| 06  | ld r,r              | ✅      |
| 07  | jr,jp,call,ret,rst  | ✅      |
| 08  | misc                | ✅      |
| 09  | op r,r              | ✅      |
| 10  | bit ops             | ✅      |
| 11  | op a,(hl)           | ✅      |

### Build Instructions

##### OSX & Linux

- Install [`libsfml`][sfml]
- Run `make`

[sfml]: http://www.sfml-dev.org

### Usage

##### Running a game

```sh
$ ./build/emulator rom_file
```

##### Using the integrated debugger

```sh
$ ./build/emulator rom_file -d
```
{'fraction_non_alphanumeric': 0.1688111168296449, 'fraction_numerical': 0.023674729799279464, 'mean_word_length': 1.3142857142857143, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '436141', 'n_tokens_mistral': 754, 'n_tokens_neox': 703, 'n_words': 188}