Commit graph

80 commits

Author SHA1 Message Date
Corwin abf7e9dc7f
fix justfile 2024-05-22 12:45:39 +01:00
Corwin a2dea3cab5
generate roms and screenshots 2024-05-22 02:21:30 +01:00
Corwin 1991fbf056
add dpl 2024-04-29 02:17:41 +01:00
Corwin 6d7e6f934a
some sweeping changes that at some level involves adding a showcase 2024-04-29 02:17:41 +01:00
Corwin 23ae3788f6
use docker instead of podman 2024-04-29 01:57:32 +01:00
Gwilym Inzani 4243592f63
Make backtraces optional (#648)
You probably don't want backtraces if you're doing multiboot and in a
few other cases.

Also #646 broke the build if you didn't use the `testing` feature, so
I've updated the `justfile` so that a CI run checks that agb builds
correctly both without the `testing` feature and without the `backtrace`
feature. The `backtrace` feature implies the testing feature to make
things a bit simpler.

- [x] Changelog updated
2024-04-21 20:07:02 +01:00
Corwin 528fe889fa
Merge remote-tracking branch 'upstream/master' into crash-page 2024-04-20 21:41:09 +01:00
Gwilym Inzani 96ad727b55 Ensure feature flag combinations are built in CI and tested 2024-04-20 20:37:03 +01:00
Corwin b317602c6b
Get saving working (#631)
- [ ] Changelog updated / no changelog update needed
2024-04-20 16:43:35 +01:00
Corwin 4022e8413e
load gba rom as a url to let next handle cache invalidation 2024-04-20 16:19:07 +01:00
Corwin 8433b23967
copy to backtrace 2024-04-19 21:49:00 +01:00
Corwin f5bbee01b7
move agb-wasm to website directory 2024-04-19 21:12:46 +01:00
Corwin 1a3b4319bc
correct justfile 2024-04-18 00:53:20 +01:00
Corwin 121ebe312c
add debug information to the crash page 2024-04-18 00:50:13 +01:00
Gwilym Inzani 8bdabb03dc Add justfile target to validate the renovate config 2024-04-16 20:19:57 +01:00
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