Commit graph

  • 7425e9973d Add a really basic block allocator Gwilym Kuiper 2021-08-16 22:25:08 +0100
  • f2ce19c356 Switch to non-null Gwilym Kuiper 2021-08-16 22:24:32 +0100
  • a7a1cb3ecd use super::*; Gwilym Kuiper 2021-08-16 21:20:52 +0100
  • c8ac436b84 Use constants rather than hard coded stuff Gwilym Kuiper 2021-08-16 21:20:29 +0100
  • 81e9789272 Correctly handle OOM Gwilym Kuiper 2021-08-16 21:19:51 +0100
  • 94d5a71007 Split out bump_allocator Gwilym Kuiper 2021-08-16 21:14:28 +0100
  • 8a0cb86eda Assert that it is actually in ewram Gwilym Kuiper 2021-08-16 21:11:40 +0100
  • cd4718f8c5 Remove the need for this to be mut and write it in a more 'rusty' way Gwilym Kuiper 2021-08-16 21:08:39 +0100
  • 22c6efa5fa Have a new() method Gwilym Kuiper 2021-08-16 21:07:25 +0100
  • 2bacbf35dc Extern definition can be made smaller Gwilym Kuiper 2021-08-16 21:04:37 +0100
  • 7062610aba Start a basic allocator with a super simple test Gwilym Kuiper 2021-08-16 21:02:55 +0100
  • 1c07268f11 Include alloc Gwilym Kuiper 2021-08-16 21:02:36 +0100
  • a500c9dbb1 Make mutex new constant and reduce unsafe block size Gwilym Kuiper 2021-08-16 21:02:03 +0100
  • 87705514a7 Merge branch 'master' of github.com:agbrs/agb into affine-double-warning Corwin Kuiper 2021-08-16 19:31:07 +0100
  • 4d45ca4203 remove warning Corwin Kuiper 2021-08-16 19:31:04 +0100
  • fe9461e5c5 redraw everything if there is no overlap Corwin Kuiper 2021-08-15 23:40:57 +0100
  • 631bf2bae2 add collision function Corwin Kuiper 2021-08-15 23:40:25 +0100
  • 1b40fe2b03
    Merge pull request #106 from gwilymk/half-multiplications-in-sound-mixing Gwilym Kuiper 2021-08-15 23:36:21 +0100
  • 500f271182
    Merge pull request #107 from gwilymk/update-agb-when-releasing Gwilym Kuiper 2021-08-15 23:34:20 +0100
  • 5d255fddea Add asm_include.s to the rerun-if-changed in build.rs Gwilym Kuiper 2021-08-15 23:27:39 +0100
  • 9193391731 Makes sense to me to do the testing later Gwilym Kuiper 2021-08-15 23:20:51 +0100
  • 2b1ba6c849 local can only be used in functions Gwilym Kuiper 2021-08-15 23:18:55 +0100
  • 2e7c2be11e Get the booleans correct Gwilym Kuiper 2021-08-15 23:16:30 +0100
  • 8b2bd66b19 Also check if agb-macros works Gwilym Kuiper 2021-08-15 23:15:52 +0100
  • 2f12748004 Allow for easier testing Gwilym Kuiper 2021-08-15 23:15:25 +0100
  • 7e268ba8ce Update agb's cargo.toml when updating a dependency Gwilym Kuiper 2021-08-15 23:12:18 +0100
  • dffd57204c Remove trailing space Gwilym Kuiper 2021-08-15 23:04:02 +0100
  • a2f0c43f26 Reduce the number of registers stored and used Gwilym Kuiper 2021-08-15 23:00:17 +0100
  • 1be6dfbf36 Unwind loop 4 times Gwilym Kuiper 2021-08-15 22:36:32 +0100
  • 0c48975fa0 Do 2 mulitplications at once Gwilym Kuiper 2021-08-15 22:18:02 +0100
  • fcce9bd5c5
    Merge pull request #105 from gwilymk/rename-agb-entry-to-agb-macros Gwilym Kuiper 2021-08-15 21:43:45 +0100
  • 00debe98e8 Update all other references to agb-entry Gwilym Kuiper 2021-08-15 20:40:48 +0100
  • a2da434013 Rename the directory Gwilym Kuiper 2021-08-15 20:39:17 +0100
  • 4a6ef023f5 Rename agb-entry to agb-macro in cargo.tomls Gwilym Kuiper 2021-08-15 20:37:36 +0100
  • 6f229b3426
    Merge pull request #102 from gwilymk/update-template-to-use-new-entrypoint Corwin 2021-08-08 12:05:39 +0100
  • 2974711a38 update more Corwin Kuiper 2021-08-08 00:01:58 +0100
  • 7708ccc4e1 remove unused import Corwin Kuiper 2021-08-07 23:51:07 +0100
  • 36c6ab1914 correct the commit routine Corwin Kuiper 2021-08-07 23:50:28 +0100
  • 0ccde7d328 satisfy linter Corwin Kuiper 2021-08-07 18:41:28 +0100
  • 6526651bb2 Template should use agb::entry rather than no_mangle Gwilym Kuiper 2021-08-07 18:27:10 +0100
  • 7b122b431a
    Merge pull request #100 from gwilymk/dedicated-entrypoint Gwilym Kuiper 2021-08-07 18:24:25 +0100
  • 724147ecfa commit step required now Corwin Kuiper 2021-08-07 18:20:08 +0100
  • 7798f4c95f nicer way of using mutable backing storages Corwin Kuiper 2021-08-07 18:07:31 +0100
  • d6b388e1d6 simplify the generics Corwin Kuiper 2021-08-07 14:56:38 +0100
  • 6652bdbd70 make to generics Corwin Kuiper 2021-08-01 17:48:48 +0100
  • e176e986ad part way implementation of background Corwin Kuiper 2021-08-01 00:18:09 +0100
  • f9014a0bf9 started work on new background implementation Corwin Kuiper 2021-07-22 17:55:16 +0100
  • be829e1d3d cargo fmt Gwilym Kuiper 2021-08-07 16:53:13 +0100
  • 9667e58e70 Add clippy to CI run of agb-entry Gwilym Kuiper 2021-08-07 16:52:12 +0100
  • 1241896177 Fix clippy lints in agb-entry Gwilym Kuiper 2021-08-07 16:51:14 +0100
  • bcfc8e506c Specify what has the arguments Gwilym Kuiper 2021-08-07 16:46:16 +0100
  • 503b7262ca May as well call this version 0.1 Gwilym Kuiper 2021-08-07 16:45:08 +0100
  • d74c876238 Add release script and workflow to release agb-entry Gwilym Kuiper 2021-08-07 16:43:50 +0100
  • 739f81dd30 rename agb-entrypoint to agb-entry Gwilym Kuiper 2021-08-07 16:40:09 +0100
  • 861ecc626a Use the new entrypoint macro in all the examples Gwilym Kuiper 2021-08-07 16:36:41 +0100
  • d2a4d0d1c3 Export the new macro in agb Gwilym Kuiper 2021-08-07 16:31:35 +0100
  • c59f063b2b Rename crate with an _ to be consistent with the image converter Gwilym Kuiper 2021-08-07 16:25:34 +0100
  • e6447cb08f Add a simple entrypoint macro Gwilym Kuiper 2021-08-07 16:24:19 +0100
  • b1516a07ab
    Merge pull request #83 from agbrs/interrupt-handler Corwin 2021-08-07 15:41:48 +0100
  • ff51341679 print in interrupt Corwin Kuiper 2021-08-07 14:16:41 +0100
  • 477b0465fb add docs for vblank interrupt Corwin Kuiper 2021-08-07 13:57:50 +0100
  • fa250cee60 remove allow warning Corwin Kuiper 2021-08-07 13:53:59 +0100
  • b559b0eb54 add some docs Corwin Kuiper 2021-08-07 13:10:51 +0100
  • c60eaaaff0 doesn't need to be public Corwin Kuiper 2021-08-07 13:03:11 +0100
  • 5093884612 move enable and disable to impl Corwin Kuiper 2021-08-06 23:32:06 +0100
  • 476b030b41 rename wait for vblank functions Corwin Kuiper 2021-08-06 23:28:19 +0100
  • 99f992353a fix wave example Corwin Kuiper 2021-08-06 23:26:51 +0100
  • da6ff40a32 add docs Corwin Kuiper 2021-08-06 23:21:50 +0100
  • 1b971b8993 add lock with key Corwin Kuiper 2021-08-06 23:12:55 +0100
  • 2e670c5d4e template consistency Corwin Kuiper 2021-08-01 00:20:58 +0100
  • 00a5b2487c change to using extern in linker Corwin Kuiper 2021-08-01 00:19:56 +0100
  • 013522f642 setting lto to thin works? Corwin Kuiper 2021-07-29 17:48:13 +0100
  • 4467d0cf18 fix incorrect label from rebase Corwin Kuiper 2021-07-28 20:50:56 +0100
  • 3b26c0b262 acknowledge requests after handling them Corwin Kuiper 2021-07-03 20:42:12 +0100
  • 7b46bc9703 change name to "get" Corwin Kuiper 2021-07-03 18:57:17 +0100
  • 37c29b7ec3 should enable interrupts by writing a 1 Corwin Kuiper 2021-07-03 18:41:59 +0100
  • 47f8ee5b70 satisfy linter Corwin Kuiper 2021-06-28 01:32:10 +0100
  • f8fb6ba7b4 change implementation of vblank to use new interrupt handler Corwin Kuiper 2021-06-28 01:03:08 +0100
  • 7b05da4783 change name of interrupt handler Corwin Kuiper 2021-06-27 02:46:32 +0100
  • 007d4d3ff8 handler does not need to be public to be exposed Corwin Kuiper 2021-06-27 02:36:47 +0100
  • f1a2b76d28 arm is callee save Corwin Kuiper 2021-06-26 21:59:10 +0100
  • e22564a29c disable interrupts during handler Corwin Kuiper 2021-06-25 23:34:58 +0100
  • 9bab2a75d0 add macro for much easier interrupt handler adding Corwin Kuiper 2021-06-25 22:47:24 +0100
  • 8b8b2b17a2 change to using iter Corwin Kuiper 2021-06-25 21:40:25 +0100
  • 1ac33bfbc8 put interrupt handler in iwram, 32 bit bus Corwin Kuiper 2021-06-25 21:40:07 +0100
  • bd1f5f6a5a store gbatek recommended registers Corwin Kuiper 2021-06-24 20:05:23 +0100
  • ac5fd06106 add test for length of interrupt table Corwin Kuiper 2021-06-24 19:52:45 +0100
  • d607f892e3 change to array for efficient lookup table Corwin Kuiper 2021-06-24 19:50:33 +0100
  • a959e8e06b don't use register 4 Corwin Kuiper 2021-06-24 12:30:40 +0100
  • 47b02d29cf correct which way round locked and unlocked is Corwin Kuiper 2021-06-24 01:02:55 +0100
  • 1318e7eca4 ensure mutex is unlocked before locking Corwin Kuiper 2021-06-24 01:02:41 +0100
  • a9aad11dd7 make interrupt system interrupt safe(r) Corwin Kuiper 2021-06-24 00:58:25 +0100
  • a5488fab56 review of documentation suggests that this does nothing Corwin Kuiper 2021-06-23 23:39:34 +0100
  • f54a539296 use better calling convention Corwin Kuiper 2021-06-23 23:33:32 +0100
  • 086a4385be correct comments to accurately reflect what is going on Corwin Kuiper 2021-06-23 23:33:09 +0100
  • 466d0844c5 push all registers, as rust may be using them Corwin Kuiper 2021-06-23 23:09:36 +0100
  • 597b9370fc don't disable and reenable interrupts Corwin Kuiper 2021-06-23 23:08:38 +0100
  • b98e6cbb02 add all other interrupts Corwin Kuiper 2021-06-23 23:01:51 +0100
  • 30c5a0eea9 export interrupt module Corwin Kuiper 2021-06-23 19:09:10 +0100
  • c2d4c99f66 correct exportation of functions Corwin Kuiper 2021-06-23 19:08:50 +0100