Commit graph

2533 commits

Author SHA1 Message Date
Gwilym Inzani 7edc6d16ab
Use 32768Hz for the tracker (#479)
Sounds way better and we can get away with it in DPL

- [x]  no changelog update needed
2023-09-06 09:56:28 +01:00
Gwilym Inzani 0900121273 Update docs 2023-09-06 09:41:13 +01:00
Gwilym Inzani 9350027fa2
Make image converter produce tile sets (#480)
Removes loads of duplicated code. There's no reason why this couldn't
create regular tile sets.

- [x] Changelog updated
2023-09-06 09:40:17 +01:00
Gwilym Inzani 5b3248ec5a Massively improve the code generation around tile sizes 2023-09-06 08:51:47 +01:00
Gwilym Inzani ed2e7dec5c Let rust do the register allocation 2023-09-06 08:34:14 +01:00
Gwilym Inzani bb57298c54 This has better code generation 2023-09-06 00:37:23 +01:00
Gwilym Inzani 77445b304f Custom assembly as thumb 2023-09-06 00:23:01 +01:00
Gwilym Inzani e504b93fe3 Write a custom tile copy command 2023-09-05 23:52:35 +01:00
Gwilym Inzani c04d674101 Extend changelog entry to allow for tile set 2023-09-05 23:24:53 +01:00
Gwilym Inzani 0c19988699 Use 32768Hz for the tracker 2023-09-05 23:22:50 +01:00
Gwilym Inzani ff4154699a
Update actions/checkout action to v4 (#478)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [actions/checkout](https://togithub.com/actions/checkout) | action |
major | `v3` -> `v4` |

---

### Release Notes

<details>
<summary>actions/checkout (actions/checkout)</summary>

###
[`v4`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v400)

[Compare Source](https://togithub.com/actions/checkout/compare/v3...v4)

- [Support fetching without the --progress
option](https://togithub.com/actions/checkout/pull/1067)
-   [Update to node20](https://togithub.com/actions/checkout/pull/1436)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log [here](https://developer.mend.io/github/agbrs/agb).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi43OC44IiwidXBkYXRlZEluVmVyIjoiMzYuNzguOCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciJ9-->
2023-09-05 20:06:18 +01:00
GBA bot ab07ed31db Update lockfiles 2023-09-04 12:36:38 +00:00
renovate[bot] c0964d23b1
Update actions/checkout action to v4 2023-09-04 12:35:54 +00:00
Gwilym Inzani 7431086b14 Try using memcpy4 for copying the tile data 2023-08-31 07:53:08 +01:00
Gwilym Inzani d3c32ce351 Minor optimisation for the show entire screen case 2023-08-31 07:53:01 +01:00
Gwilym Inzani 4642a74a0f Update the examples with the new tileset importing 2023-08-30 17:07:14 +01:00
Gwilym Inzani 2c556f9ce8 Fix docs for real this time 2023-08-30 17:02:06 +01:00
Gwilym Inzani dc04785669 Fix doc examples 2023-08-30 16:46:05 +01:00
Gwilym Inzani 11fe4d92ac Delete the old toml file 2023-08-30 16:25:16 +01:00
Gwilym Inzani 3a1f8ed8ed Add a convienence fill_with method 2023-08-30 16:22:55 +01:00
Gwilym Inzani f0ddfc96b4 Reference the TRANSPARENT_TILE_INDEX in the definition of BLANK 2023-08-30 16:18:08 +01:00
Gwilym Inzani 6853d36a9c Dynamic tile can also return the setting directly 2023-08-30 16:14:51 +01:00
Gwilym Inzani 5cfa64030a Generate the tileset directly 2023-08-30 16:08:43 +01:00
Gwilym Inzani dc5bf9de98
Deduplicate background tiles (#477)
This started as an attempt to get dungeon puzzler in the combo rom,
ended up fixing a _load_ of 256 colour bugs and the ability to
deduplicate tiles you import.

Fixes #448

- [x] Changelog updated / no changelog update needed
2023-08-29 20:02:38 +01:00
Gwilym Inzani 6422ed63f1 Give purple night the deduplication treatment 2023-08-29 16:33:11 +01:00
Gwilym Inzani 54237c0fce Remove trailing whitespace 2023-08-29 16:28:57 +01:00
Gwilym Inzani 345a27a7d9 Remove useless cast 2023-08-29 16:25:16 +01:00
Gwilym Inzani b25ebf4a94 Add a changelog entry about the new flip methods 2023-08-29 16:21:28 +01:00
Gwilym Inzani 9abfa7f8e1 Update documentation 2023-08-29 16:20:54 +01:00
Gwilym Inzani eede8c3719 Add changelog entries 2023-08-29 16:19:15 +01:00
Gwilym Inzani 3eb7aabe37 Add dungeon puzzler to combo 2023-08-29 16:17:14 +01:00
Gwilym Inzani b5991d3ccc Copy all the tiles for a 256 colour map 2023-08-29 16:14:05 +01:00
Gwilym Inzani a865240308 Start fixing 256 colours 2023-08-29 16:07:50 +01:00
Gwilym Inzani 9db4230aee Better error if we run out of VRam 2023-08-29 15:34:07 +01:00
Gwilym Inzani c25cd74f43 Correctly use deduplication for combo rom 2023-08-29 15:20:41 +01:00
Gwilym Inzani c9bf56755a Also deduplicate for the dungeon puzzler 2023-08-29 15:17:50 +01:00
Gwilym Inzani a73e817f02 Deduplicate everything in hatwiz 2023-08-29 15:05:57 +01:00
Gwilym Inzani 201a127673 Use deduplicated tiles for hatwiz splash screens 2023-08-29 14:55:23 +01:00
Gwilym Inzani b39f99990c Use deduplication in hyperspace roll 2023-08-29 14:52:20 +01:00
Gwilym Inzani 6d56e72d66 Fix palette assignment 2023-08-29 14:39:41 +01:00
Gwilym Inzani 3d7d3f25a2 Update agb repo 2023-08-29 14:13:40 +01:00
Gwilym Inzani b5af3a3aff Generate tile settings instead of palette assignments 2023-08-29 14:07:19 +01:00
Gwilym Inzani f097e152cc Pass deduplicate one step further 2023-08-29 13:18:14 +01:00
Gwilym Inzani 8158bc1ff3 Allow deduplicating background tiles 2023-08-29 13:16:57 +01:00
Gwilym Inzani dd119604d8
If r2 < 4 don't overwrite all memory (#475)
Rare case, but we probably shouldn't break everything if it happens :)

- [x] Changelog updated / no changelog update needed
2023-08-26 14:25:12 +01:00
Gwilym Inzani dc46cfef45 If r2 < 4 don't overwrite all memory 2023-08-22 20:15:26 +01:00
Gwilym Inzani 9a6f96b2ba
Update dependency ubuntu to v22 (#473)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [ubuntu](https://togithub.com/actions/runner-images) | github-runner |
major | `20.04` -> `22.04` |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log [here](https://developer.mend.io/github/agbrs/agb).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi40MC4zIiwidXBkYXRlZEluVmVyIjoiMzYuNDAuMyIsInRhcmdldEJyYW5jaCI6Im1hc3RlciJ9-->
2023-08-13 13:12:55 +01:00
GBA bot c29ba6e9ec Update lockfiles 2023-08-13 10:36:46 +00:00
renovate[bot] 10da95b2e3
Update dependency ubuntu to v22 2023-08-13 10:36:09 +00:00
Gwilym Inzani ec7d1447d8
Replace mgba-test-runner with better bindings (#471)
- [ ] Changelog updated / no changelog update needed
2023-08-13 11:35:32 +01:00