Michel Heily
838ca43ac4
Gdb fixes
...
Former-commit-id: f8507472a94386902962d1ffead7dd6f85624d82
Former-commit-id: 15446ef199288e887b7bc02fec08f9798c4c6ea2
2022-09-20 23:58:54 +03:00
Michel Heily
c8c1cdd57b
Gdb fixes
...
Former-commit-id: 2940580fc6b3760d77b5598b0faf72a773183304
Former-commit-id: cf3f361178c75d4e39832774bdd052ef8aab6be8
2022-09-19 00:10:55 +03:00
Michel Heily
3bb480c120
Mark minifb as deprecated
...
Former-commit-id: 5d1e4a45832df51c7e0504be91a84e24e73fd901
Former-commit-id: 900d6e1cb9d4e69338e0bea78a37b8a1f91acce6
2022-09-17 02:20:13 +03:00
Michel Heily
c47d9e1f11
Experimental gdbserver
...
Former-commit-id: e78618b03c745bb9820216e6d9f8c1f4cade28d5
Former-commit-id: 5851f5930e07d8132e643bbe6773bdd0bd42fad6
2022-09-17 02:19:46 +03:00
Michel Heily
9abc08fffe
Remove old gdbstub
...
Former-commit-id: d3b35aa75f4560a407478d54439ca8218e04e19e
Former-commit-id: c72b109e16c6cf844d4c99c38473c61c4c113c42
2022-09-16 12:21:13 +03:00
Michel Heily
de82bb171c
Fix bad use statements after refactoring
...
Former-commit-id: d7e01c4d78058e62905cc3bb7a19e01b02d80882
Former-commit-id: a887db8f429ae4c495071bc8e2678d3e8d007dbe
2022-09-15 01:21:11 +03:00
Michel Heily
a750cb8e16
Cleanup sdl2 desktop app
...
Former-commit-id: abc58c25406c6a16efa8acf771ebe2bc95343236
Former-commit-id: 90fbe62bbdd7758fe582280d499a4d23440c7fb5
2022-09-15 00:34:48 +03:00
Michel Heily
e51936b880
Update Cargo.lock
...
Former-commit-id: f3de1c1acebdf73bf703b25cad81cd0c1b6c7ad6
Former-commit-id: 244fb99bb65880484e5a6edaacb96dff1b530f4d
2022-09-13 22:07:30 +03:00
Michel Heily
c9811cc272
all: refactoring audio stuff and using structopt in desktop app
...
Former-commit-id: 8fb2e158eba5f81bc9fb953bfa6d0f4d9e505a61
Former-commit-id: c436751be80c9517401777ec5060061383d75929
2022-09-13 01:52:05 +03:00
Michel Heily
b431b2605a
arm7tdmi: examples: fix paths
...
Former-commit-id: 533b97320b14e550b5aa0d2783fb087fe2616f9e
Former-commit-id: 024b23ced88fc85c29ca8c350c0d46af3f5a496d
2022-09-13 00:09:55 +03:00
Michel Heily
42c64ed429
Fix missing linking against utils in fps_bench
...
Former-commit-id: 1d5f92f8351d176eb2b49ab870c291d65d7ece8b
Former-commit-id: 36c8b0076f8e5b744c7b9e4e2fc95e1bc9f08605
2022-09-12 01:14:22 +03:00
Michel Heily
4db32b1af2
Get rid of the VideoInterface trait
...
Former-commit-id: 30a14ff0609b385b80b4c17a8f70e89fce816509
Former-commit-id: 519aeea19b3faa37b732463ecfdddb9730322021
2022-09-12 01:13:01 +03:00
Michel Heily
0f64f07133
fixes
...
Former-commit-id: bfa963ac13e76b7e3cf2eb2e23651eb3189d3cbb
Former-commit-id: 6602c3b0a22327d5ceb85063c9934b3490e1da01
2022-09-12 00:41:35 +03:00
Michel Heily
407818d32a
Deprecate InputDevice trait
...
Former-commit-id: 4d25e16d0a6a0a55a5204c28230620dba3531e08
Former-commit-id: da149cb9ebb1258693272a4e9daa615902d99e6e
2022-09-12 00:11:50 +03:00
Michel Heily
91bb17f6dc
Deprecated minifb
...
Former-commit-id: 7b4be22333cd43fdcc6a78fa8b9f855f5de96e51
Former-commit-id: 78b19d497d359af5b7d97eea4c6c26ff030993d7
2022-09-11 23:42:09 +03:00
Michel Heily
c9bfa05ca7
arm7tdmi small fixes
...
Former-commit-id: cf1e2f885c6ea6574fb1bbcab395ef2b8cb6c81d
Former-commit-id: 3738bcf43df5af77ad30c2388e52ff2e3a6f110a
2022-09-11 23:06:56 +03:00
Michel Heily
c11cdc45dc
Remove .travis.yml
...
Former-commit-id: 2aff9523aaeaadd92b632972a9e67dcd7c2266f9
Former-commit-id: 4705e9954e897d82e6c2e04fea941c2a76f7ebdb
2022-09-08 23:53:34 +03:00
MichelOS
682074c402
arm7tdmi: examples: test_program: Add volatile to global
...
Former-commit-id: 7ac8cc7c0cb6e4bc98c875e9f915257ff6eceec0
Former-commit-id: 1c89600a2f4ddda36abd895bf40e2f9a7f3ea33c
2022-09-08 23:49:39 +03:00
Michel Heily
85766bc499
Fix SimpleMemory memory_map_xml
...
Former-commit-id: 391758925af1c1082536e14e382ca37338e95f55
Former-commit-id: 51ba0286fc9f5c4b413ab5e50fd928b0bb0c4d4b
2022-09-08 23:48:00 +03:00
Michel Heily
f3fac5e3b8
Implement new gdbstub target for arm7tdmi, add a small example & test as well
...
Former-commit-id: 16ba6dada28f8beb5971413acbbe153a26aa9ec3
Former-commit-id: f0661ad20245110797fd99fe16d3fb11382bb78a
2022-09-08 23:40:38 +03:00
Michel Heily
4c5d35c5d1
Clippy fixes
...
Former-commit-id: 6107b2249a5b5e42eb5add5f6a0c37c373d77147
Former-commit-id: 1387473cc566db7eb898222b319cc1bcfde886f5
2022-09-08 23:40:38 +03:00
Michel Heily
a289900f6a
Refactor Bus traits into the arm7tdmi crate
...
Former-commit-id: 0027611bd4c777dcb7a4d3de6b0cc90cd649faa8
Former-commit-id: 41e30b29f97aee9e5d256a4f8d0c92ac1c761ac7
2022-09-06 02:04:50 +03:00
Michel Heily
716a4d11ae
Treat .gba files as binary files, avoid the unknown file extension warning
...
Former-commit-id: ae5cc43d66fbd55623de97aa6b7c5c6504346018
Former-commit-id: 437ec2ccc79ef355ff0b688994133352ac2d2632
2022-09-05 01:34:21 +03:00
Michel Heily
d4b91257b7
Gotta make clippy happy #2
...
Former-commit-id: 25d2b2b52c4113ceb299908248773bb7e4bfd6c9
Former-commit-id: a612adacf46b62d8a5bd78bdcd3b0bc6323898a5
2022-09-05 01:34:21 +03:00
Michel Heily
25b630951d
Gotta make clippy happy
...
Former-commit-id: b2e4b28ae9d054020891029ae0be5e148357779e
Former-commit-id: fd0c17e9729f35fd40bd3c75fe53907129776445
2022-09-05 01:19:00 +03:00
Michel Heily
12d9edf5c4
Fix some cargo-clippy, and broken sub-crates
...
Former-commit-id: 93db7bc11bff9a48f4d66e0a378cd77ab42ca197
Former-commit-id: a6ce714c2a6a4112ff30d748c0686b1b2da41c6b
2022-09-05 00:34:00 +03:00
Michel Heily
255806ff69
Move rustbodyadvance-jni to platform/
...
Former-commit-id: c4565bfe5bf7c4887b6b86c44afbf6b55ac76811
Former-commit-id: b3f296200b0a718ba5509db0cce1117e0fb38a1a
2022-09-05 00:02:00 +03:00
Michel Heily
28fb9ffa70
chore: Refactor into crates
...
Been wanting to do this for a long time.
This does impose performance issues when building with the vanilla
release profile, as cargo does not perform optimizations across crate
boundary (we care mostly about inlining).
so I added release-lto profile
Also fixed some broken stuff I found across the project, meh
Former-commit-id: 06d03263cc6245313f3ea22c715479ab6da7c4d4
Former-commit-id: f93abd10c67ea8a3b8072b47462be5eca4f3e02b
2022-09-04 23:54:44 +03:00
Michel Heily
1535062e6c
Make the rustboyadvance-sdl2 as the default target for cargo
...
Former-commit-id: 30a23b71305ba7dc7e18f843f08b8e544dae825e
Former-commit-id: 8d23da59ad40a8f716cdbc06f56a9c4d7bd471e1
2022-09-04 22:10:16 +03:00
Michel Heily
8ea942e973
Update my cargo profiles
...
Former-commit-id: bdc727d4a0a3f7138d2d97505d7ef75cac24b575
Former-commit-id: 17f26c2a5e831c0b361cd328d8d2f72a440e4c89
2022-09-04 22:08:50 +03:00
Michel Heily
8572b220a8
Update Cargo.lock
...
Former-commit-id: e29a6dbe504fe5ad3103aa40d0940a8a539fff75
Former-commit-id: 2dcd224e28d8240930d1ae02aa5b4b86ee2f6ec2
2022-09-04 02:51:51 +03:00
Michel Heily
91453e8777
Refactor&improve the scheduler to handle missed events
...
Solves #168
Former-commit-id: 09104a6ebefdaf2e33ae22eb08860d9711ecb66b
Former-commit-id: e07219e40fa187f516dd266ab753a67f3c7e796b
2022-09-04 02:51:44 +03:00
MichelOS
7af9bc5760
Update build.yml
...
Add ability to manually trigger builds as the github artifacts expired UwU 3:
Former-commit-id: dc8c4658dbf0d06c6189d4b953b7909cdc3243b2
Former-commit-id: a73e54b5f843e60ec13ea005bf921a187975a426
2022-03-15 14:34:38 +02:00
Michel Heily
32e2d807bd
Update README.md with the minimal rust version
...
Former-commit-id: e45a46fa5803f049c8461b36d734134af9d75e77
Former-commit-id: c59ed03a400b5d36a2452592047c131118a72fbb
2021-07-04 00:37:49 +03:00
Michel Heily
47032ec8b9
arm: Forgot this one :)
...
Former-commit-id: 7e6dfc766fd4b3872bffa08cfa2276d7517ba048
Former-commit-id: 4001761f719b98ed98d652ee00275dd1d8f7d232
2021-07-04 00:36:21 +03:00
Michel Heily
76d9102231
arm: remove old code
...
Former-commit-id: 906a5b902726c000fcdc1a01443c6662da72b2c9
Former-commit-id: ab2dac2ae2c066758645026b6484cd1a9355831a
2021-07-03 22:29:55 +03:00
Michel Heily
a7cc770be8
arm: finish converting all instructions to const-generics
...
Former-commit-id: 4557ecffb89d563357f5bd769515254533a404ac
Former-commit-id: 8ce461f1b48ff5e7c72cdcd3069dcee0960dbc8e
2021-07-03 22:29:55 +03:00
Michel Heily
86c35a2eb3
arm: do const-generics for BlockDataTransfer
...
Former-commit-id: d4be9648b334891de5a2daf3c2931cf8e31b337a
Former-commit-id: 6e7e54efd9fa3901008d2fab21dab4560d597763
2021-07-03 22:29:55 +03:00
Michel Heily
416cc2937b
arm: do const-generics for HalfwordDataTransfer*
...
Former-commit-id: 891fd23bef3a4ecc7fe5a4012456d51fc91f8601
Former-commit-id: 431ac09cbf73078988d6400c6320a7fdadceef1a
2021-07-03 22:29:55 +03:00
Michel Heily
9819bf611d
arm: convert some instructions to const-generics
...
Former-commit-id: 493127ef64f3d5e396e0391c5bb0db985cac8945
Former-commit-id: 987edb22cd27584dfdee0a23602df45424a6f4b8
2021-07-03 22:29:55 +03:00
Michel Heily
03d28c77b6
thumb: Finish converting all instructions to use const-generics
...
Former-commit-id: 671c75a985123a52b312a8ae5495ff545d7678dc
Former-commit-id: c0794ce36f410cd8c058cbe087c388a84aae8b85
2021-07-03 22:29:55 +03:00
Michel Heily
4a7eb53707
thumb: more const-generics :)
...
Former-commit-id: e869dafa68973d944be3b8d88d3238451b64718c
Former-commit-id: 8118d529e7a40303e4535f581ad4cf247b926b46
2021-07-03 22:29:55 +03:00
Michel Heily
9e6b787536
arm: convert more instructions to use const generics
...
Former-commit-id: bd4c802a49a8c37e6709c2481cc73367bbadade0
Former-commit-id: f3881e4f8fee1a7110cf676c3c62b6c39db88280
2021-07-03 22:29:55 +03:00
Michel Heily
7e96be21ae
perf: Move pc
to the beginning of the CPU struct
...
Former-commit-id: 1b17095bee5c6010d3792fc220a8abcf3a373207
Former-commit-id: 5e65dad6398ef6e9d907d086c982fd70e85c9184
2021-07-03 22:29:55 +03:00
Michel Heily
892dfbe395
More const generics..
...
Former-commit-id: 74e4c88128d8c83bbb23a874ba8e0821ffc583a7
Former-commit-id: 99ed5c5f73ba9ad2e95b9b190e0100d0e1b9e6a2
2021-07-03 22:29:55 +03:00
Michel Heily
0665ff7451
WIP 2 SingleDataTransfer
...
Former-commit-id: 8a103161f34eb1a6c731c63ae65ca1056117ec55
Former-commit-id: 74c8158e7354253f6bd4ad50488d34de34e3ad70
2021-07-03 22:29:55 +03:00
Michel Heily
b3c3c70bce
WIP const generics
...
Former-commit-id: 2c38215fb57de66bfce26cfa7e61c460bd2954ac
Former-commit-id: 8fe5cc4fdc58b1155590dbfd6546b280fcdcc259
2021-07-03 22:29:55 +03:00
Michel Heily
1545be7b4f
core: debugger: Improve info command
...
Former-commit-id: 534b4907911408f3765825145f14d0b680058dcf
Former-commit-id: 20ed0d130e2fb17b9fc6fb7c1cfc485277a6fb10
2021-06-10 00:13:17 +03:00
Michel Heily
82fa433e26
Fix warning: invalid attribute
...
Former-commit-id: d3a6a4f23c343ba9960269938e1127729271545d
Former-commit-id: 0fc0461c38531a8a841d7dbab14dd4796ab3a77b
2021-06-09 23:39:43 +03:00
Michel Heily
7512bad3a0
core: debugger: Fix dissassembly
...
Former-commit-id: ec8d6726eb1f599e43b0826e99508cc954454220
Former-commit-id: 3b64d5b60377c303b85be32794df18671002d509
2021-06-09 02:24:51 +03:00