Commit graph

65 commits

Author SHA1 Message Date
Gwilym Inzani b963065ad6 Update the justfile 2024-04-09 21:06:21 +01:00
Gwilym Inzani e8aed8e376
Backtraces (#590)
Implements a very basic backtrace and the ability to format them

If you run the panic example and press A, you get:

```
[ERROR] GBA Debug: [failed]
[ERROR] GBA Debug: debug data: ce3-1ee7-1fb7-24d-1ad
[FATAL] GBA Debug: Error: panicked at src/memory_mapped.rs:101:24:
index out of bounds: the len is 240 but the index is 240
```

which you can then prettify with:

```
> agb-addr2line ../target/thumbv4t-none-eabi/debug/examples/panic 0ce3-1f57-2027-024d-01ad
0:	rust_begin_unwind <agb>/lib.rs:321
1:	core::panicking::panic_nounwind <core>/panicking.rs:151
2:	core::panicking::assert_failed_inner <core>/panicking.rs:321
3:	agb::memory_mapped::MemoryMapped2DArray<T,_,_>::set <agb>/memory_mapped.rs:101
	(inlined by) agb::display::bitmap3::Bitmap3::draw_point <agb>/display/bitmap3.rs:31
4:	main /home/gwilym/Projects/agb/agb/examples/panic.rs:15
```

- [ ] Changelog updated / no changelog update needed
2024-04-09 20:25:15 +01:00
Gwilym Inzani c77ed7fa56 Update the justfile target 2024-04-09 20:15:33 +01:00
Corwin a9c6723a3b
make website with nextjs 2024-04-09 00:33:32 +01:00
Corwin 582cce78c8
compress the combo rom 2024-04-08 03:23:19 +01:00
Corwin 942418298e
install packages 2024-04-04 19:45:26 +01:00
Corwin 713fc168ae
load game based on path hash 2024-04-04 17:57:06 +01:00
Corwin 8cb306a9b7
add book 2024-04-04 01:07:10 +01:00
Corwin e1453cb4c8
build mgba wasm 2024-04-04 00:54:23 +01:00
Gwilym Inzani e9455d6031 Fix justfile to produce a file in the correct place 2024-04-03 14:18:54 +01:00
Gwilym Inzani 4ed2ea3784 Move the linkers scripts to the src directory so agb itself can change its script 2023-10-18 12:26:50 +01:00
Gwilym Inzani 721aba3c76 Remove linker script consistency checks and helpers 2023-10-18 12:09:01 +01:00
Gwilym Inzani 5feb67285d Add a test that multiboot works 2023-10-17 23:49:57 +01:00
Corwin 6a8106977d
run tests for dpl in ci 2023-09-14 12:29:13 +01:00
Corwin 246e4da99e
run tests for emulator workspace 2023-08-08 09:48:10 +01:00
Gwilym Inzani b45668f5e9 Make it easier to run update-lockfiles locally 2023-08-06 21:04:58 +01:00
Corwin b80c85f1d9
Import dungeon puzzler's lament (#459)
Includes dungeon keepers lament in the examples

- [x] no changelog update needed
2023-07-25 20:52:48 +01:00
Corwin b806fa8e66
fix names 2023-07-25 20:27:03 +01:00
Gwilym Inzani 1a25268285 Do the correct type of building for the tracker 2023-07-23 20:36:54 +01:00
Gwilym Inzani b593b90701 Get the docs building 2023-07-23 19:52:11 +01:00
Gwilym Inzani 992ce37464 Update justfile to support the tracker crates 2023-07-23 00:31:12 +01:00
Corwin 67435b31e0
update justfile 2023-07-19 17:54:41 +01:00
Corwin 2a21c5fdab
add optimisation for 64 bit upcast multiply 2023-06-06 23:00:17 +01:00
Corwin ea0149e6c3
add amplitude to build 2023-04-26 01:37:37 +01:00
Gwilym Inzani cd369f212e Ensure tests run on hashmap too 2023-04-23 18:48:16 +01:00
Gwilym Inzani d594e9e078 Also build docs for agb-hashmap 2023-04-23 18:37:22 +01:00
Gwilym Inzani db0eab7589 Add miri test step 2023-04-23 17:46:00 +01:00
Gwilym Inzani 0e006bd3d5 Update publish justfile command to accept arguments 2023-04-12 15:12:00 +01:00
Gwilym Inzani 7ec077e08a Implement makercode as expected 2023-04-08 21:18:27 +01:00
Gwilym Inzani 89c883466a Allow calling just gbafix 2023-04-08 21:14:11 +01:00
Gwilym Inzani 6d28e4193b Replace objcopy + gbafix to use our own gbafix 2023-04-08 21:10:47 +01:00
Gwilym Inzani 85defe8e2b Add targets to format and check formatting 2023-03-23 21:59:49 +00:00
Gwilym Kuiper 14b4656842 Add the combo rom to the distributed roms 2022-12-09 21:41:47 +00:00
Gwilym Kuiper e6963fe377 Stop building dependency docs while testing docs 2022-12-09 21:18:15 +00:00
Corwin 995151bd76 check docs in ci 2022-10-12 17:30:08 +01:00
Gwilym Kuiper 7a55f50adf Extract changelog text into the annotation 2022-10-02 18:19:14 +01:00
Gwilym Kuiper 866cc8f5a0 Add release just script 2022-10-02 17:55:05 +01:00
Gwilym Kuiper a52b1e16cc cargo run adds junk to the environment 2022-10-02 17:53:42 +01:00
Corwin 427c2db8b9
run arm debug tests in debug mode 2022-08-24 02:52:32 +01:00
Corwin 8db2617722 switch to using the rust built in target 2022-08-23 12:44:54 +01:00
Gwilym Kuiper 4bc5df458a Lint and test the tools in CI 2022-08-04 22:23:49 +01:00
Gwilym Kuiper 375c878849 Use the new publish crate tool 2022-08-04 21:30:52 +01:00
Gwilym Kuiper 566b43b85b Check linker script consistency using just ci 2022-08-02 23:14:30 +01:00
Corwin 8421ca2893 add quotes to the target paths to allow for spaces 2022-08-01 20:31:23 +01:00
Corwin 191741d3c8 test in ci 2022-08-01 17:36:12 +01:00
Corwin 9209cbf199 add build hyperspace 2022-07-25 20:25:56 +01:00
Gwilym Kuiper 65258ac575 Add running the doctests to the ci 2022-07-12 15:07:59 +01:00
Gwilym Kuiper b29b4c261e Add justfile target for running the doc tests 2022-07-12 14:37:17 +01:00
Gwilym Kuiper b4d8f23bfb Add justfile command for updating the linker script 2022-06-17 00:48:24 +01:00
Gwilym Kuiper 61ed2b905d Allow warnings when developing, but still fail CI 2022-04-24 17:07:43 +01:00