Gwilym Kuiper
|
bec0cc6055
|
Make alloc an optional default feature
|
2021-08-16 23:32:31 +01:00 |
|
Gwilym Kuiper
|
469db77437
|
Add allocation example
|
2021-08-16 23:28:33 +01:00 |
|
Gwilym Kuiper
|
22189eb809
|
Add some more allocation tests
|
2021-08-16 23:20:51 +01:00 |
|
Gwilym Kuiper
|
b30cc7715c
|
Add really simple block reuse
|
2021-08-16 22:55:02 +01:00 |
|
Gwilym Kuiper
|
e80ad601a3
|
Extract current alloc to a new_block function
|
2021-08-16 22:33:56 +01:00 |
|
Gwilym Kuiper
|
d372ca74bf
|
Use the block allocator by default now
|
2021-08-16 22:31:10 +01:00 |
|
Gwilym Kuiper
|
4b9e4ce42a
|
Move tests to agb_alloc mod.rs
|
2021-08-16 22:28:41 +01:00 |
|
Gwilym Kuiper
|
7425e9973d
|
Add a really basic block allocator
|
2021-08-16 22:25:08 +01:00 |
|
Gwilym Kuiper
|
f2ce19c356
|
Switch to non-null
|
2021-08-16 22:24:32 +01:00 |
|
Gwilym Kuiper
|
a7a1cb3ecd
|
use super::*;
|
2021-08-16 21:20:52 +01:00 |
|
Gwilym Kuiper
|
c8ac436b84
|
Use constants rather than hard coded stuff
|
2021-08-16 21:20:29 +01:00 |
|
Gwilym Kuiper
|
81e9789272
|
Correctly handle OOM
|
2021-08-16 21:19:51 +01:00 |
|
Gwilym Kuiper
|
94d5a71007
|
Split out bump_allocator
|
2021-08-16 21:14:28 +01:00 |
|
Gwilym Kuiper
|
8a0cb86eda
|
Assert that it is actually in ewram
|
2021-08-16 21:11:40 +01:00 |
|
Gwilym Kuiper
|
cd4718f8c5
|
Remove the need for this to be mut and write it in a more 'rusty' way
|
2021-08-16 21:08:39 +01:00 |
|
Gwilym Kuiper
|
22c6efa5fa
|
Have a new() method
|
2021-08-16 21:07:25 +01:00 |
|
Gwilym Kuiper
|
2bacbf35dc
|
Extern definition can be made smaller
|
2021-08-16 21:04:37 +01:00 |
|
Gwilym Kuiper
|
7062610aba
|
Start a basic allocator with a super simple test
|
2021-08-16 21:02:55 +01:00 |
|
Gwilym Kuiper
|
1c07268f11
|
Include alloc
|
2021-08-16 21:02:36 +01:00 |
|
Gwilym Kuiper
|
a500c9dbb1
|
Make mutex new constant and reduce unsafe block size
|
2021-08-16 21:02:03 +01:00 |
|
Gwilym Kuiper
|
1b40fe2b03
|
Merge pull request #106 from gwilymk/half-multiplications-in-sound-mixing
Halve the number multiplications in sound mixing
|
2021-08-15 23:36:21 +01:00 |
|
Gwilym Kuiper
|
500f271182
|
Merge pull request #107 from gwilymk/update-agb-when-releasing
Update agb when releasing
|
2021-08-15 23:34:20 +01:00 |
|
Gwilym Kuiper
|
5d255fddea
|
Add asm_include.s to the rerun-if-changed in build.rs
|
2021-08-15 23:27:39 +01:00 |
|
Gwilym Kuiper
|
9193391731
|
Makes sense to me to do the testing later
|
2021-08-15 23:21:29 +01:00 |
|
Gwilym Kuiper
|
2b1ba6c849
|
local can only be used in functions
|
2021-08-15 23:18:55 +01:00 |
|
Gwilym Kuiper
|
2e7c2be11e
|
Get the booleans correct
|
2021-08-15 23:16:30 +01:00 |
|
Gwilym Kuiper
|
8b2bd66b19
|
Also check if agb-macros works
|
2021-08-15 23:15:52 +01:00 |
|
Gwilym Kuiper
|
2f12748004
|
Allow for easier testing
|
2021-08-15 23:15:25 +01:00 |
|
Gwilym Kuiper
|
7e268ba8ce
|
Update agb's cargo.toml when updating a dependency
|
2021-08-15 23:12:18 +01:00 |
|
Gwilym Kuiper
|
dffd57204c
|
Remove trailing space
|
2021-08-15 23:04:02 +01:00 |
|
Gwilym Kuiper
|
a2f0c43f26
|
Reduce the number of registers stored and used
|
2021-08-15 23:00:17 +01:00 |
|
Gwilym Kuiper
|
1be6dfbf36
|
Unwind loop 4 times
|
2021-08-15 22:36:32 +01:00 |
|
Gwilym Kuiper
|
0c48975fa0
|
Do 2 mulitplications at once
|
2021-08-15 22:18:02 +01:00 |
|
Gwilym Kuiper
|
fcce9bd5c5
|
Merge pull request #105 from gwilymk/rename-agb-entry-to-agb-macros
Rename agb entry to agb macros
|
2021-08-15 21:43:45 +01:00 |
|
Gwilym Kuiper
|
00debe98e8
|
Update all other references to agb-entry
|
2021-08-15 20:40:48 +01:00 |
|
Gwilym Kuiper
|
a2da434013
|
Rename the directory
|
2021-08-15 20:39:17 +01:00 |
|
Gwilym Kuiper
|
4a6ef023f5
|
Rename agb-entry to agb-macro in cargo.tomls
|
2021-08-15 20:37:36 +01:00 |
|
Corwin
|
6f229b3426
|
Merge pull request #102 from gwilymk/update-template-to-use-new-entrypoint
Template should use agb::entry rather than no_mangle
|
2021-08-08 12:05:39 +01:00 |
|
Gwilym Kuiper
|
6526651bb2
|
Template should use agb::entry rather than no_mangle
|
2021-08-07 18:27:10 +01:00 |
|
Gwilym Kuiper
|
7b122b431a
|
Merge pull request #100 from gwilymk/dedicated-entrypoint
Dedicated #[agb::entry] macro
|
2021-08-07 18:24:25 +01:00 |
|
Gwilym Kuiper
|
be829e1d3d
|
cargo fmt
|
2021-08-07 16:53:13 +01:00 |
|
Gwilym Kuiper
|
9667e58e70
|
Add clippy to CI run of agb-entry
|
2021-08-07 16:52:12 +01:00 |
|
Gwilym Kuiper
|
1241896177
|
Fix clippy lints in agb-entry
|
2021-08-07 16:51:14 +01:00 |
|
Gwilym Kuiper
|
bcfc8e506c
|
Specify what has the arguments
|
2021-08-07 16:46:16 +01:00 |
|
Gwilym Kuiper
|
503b7262ca
|
May as well call this version 0.1
|
2021-08-07 16:45:08 +01:00 |
|
Gwilym Kuiper
|
d74c876238
|
Add release script and workflow to release agb-entry
|
2021-08-07 16:43:50 +01:00 |
|
Gwilym Kuiper
|
739f81dd30
|
rename agb-entrypoint to agb-entry
|
2021-08-07 16:40:09 +01:00 |
|
Gwilym Kuiper
|
861ecc626a
|
Use the new entrypoint macro in all the examples
|
2021-08-07 16:37:32 +01:00 |
|
Gwilym Kuiper
|
d2a4d0d1c3
|
Export the new macro in agb
|
2021-08-07 16:33:17 +01:00 |
|
Gwilym Kuiper
|
c59f063b2b
|
Rename crate with an _ to be consistent with the image converter
|
2021-08-07 16:33:17 +01:00 |
|