Commit graph

30 commits

Author SHA1 Message Date
Muhammad Nauman Raza d88e8ae514 refactor: restructure project
Former-commit-id: ac1eb2f7d5293d0566be14911ce5564576b508f2
Former-commit-id: 2f07af167b564620680a8a52280a5a6abbd6cec6
2024-03-23 20:15:48 +00:00
Muhammad Nauman Raza bdf412d469 docs: fix link to file
Former-commit-id: 53fd2d1bba40aa513d9607d0110ce5c97a2dd499
Former-commit-id: 256ec4dc18308ac1bc5a9a5681d21eb54fc5f1bf
2024-03-22 23:30:35 +00:00
Muhammad Nauman Raza 36c219a444 docs: state external content
Former-commit-id: 33c0373f53335ff94265eedae5afb2ae9351cf97
Former-commit-id: 75e066ad3b9f8d6168a5a3132c1fffb82050b419
2024-03-22 23:10:14 +00:00
Muhammad Nauman Raza 9f5d376e4a docs: update for current repo
Former-commit-id: 9f494d57299faa5d1d5a962d617fb047634cd93d
Former-commit-id: 262ee4fd58084dce3302539eeb80c116cca9a9a5
2024-03-22 20:56:40 +00: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 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 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 879374a9b0 Refactor dir rustboyadvance-core -> core
Former-commit-id: 5af970f6d56d321472f2b91885e41ca113390986
Former-commit-id: 748e222a36362eb5ac8909068c32f2d3f98ca536
2020-05-30 13:43:37 +03:00
MishMish b905e5b791 Add build workflow for windows.
Also, add some badges :P


Former-commit-id: 697095b9f1d5055205f4a4c5e1c880c4c6581faa
Former-commit-id: 6a32c4caea7e7460058ecf46ac12ddedba70b1ff
2020-04-30 20:10:53 +03:00
Michel Heily fc988ba5b5 Add SDL2 binaries and use them when building locally
Former-commit-id: f51fad54302b9a0af416cfccdb318fede4384b6a
Former-commit-id: e8362f4552c6eab911751b7900bca0910eff1dd4
2020-04-30 19:52:34 +03:00
MishMish ab37609fcb Update README.md
Add a link to the GitHub pages demo

Former-commit-id: 4e04aca3d7cba050735cf40b8123aede9d7b8ee4
2020-04-13 19:48:59 +03:00
Michel Heily ac43292051 Add rustboyadvance-wasm
Former-commit-id: 04a1ad2f382055d46b943cb0e4e467d925d99298
2020-04-13 17:55:39 +03:00
Michel Heily 81655e6730 README Updates
Former-commit-id: 46775ea001b13cd63193c0f4dee2915aa48ae095
2020-04-11 17:18:42 +03:00
Michel Heily 8b6d356924 Add new project icon
Derived from rusts' lovely public domain mascot, Ferris the crab!

The design is based from https://rustacean.net/assets/rustacean-flat-happy.svg


Former-commit-id: cac7eb31b5913a9a536c55f474018db0c2d7e2a8
2020-04-10 16:45:55 +03:00
Michel Heily 778274b5ae refactor: split "plat" binaries into separate crates
Former-commit-id: 73554b0128e036279f7ac895acb57d8f89cb1c96
2020-02-23 00:30:38 +02:00
Michel Heily c50ab1ecd8 feat: Add basic gdbserver feature
Initially I began implementing the gdb protocol on my own, but I then found a
nice work-in-progress crate on https://github.com/daniel5151/gdbstub
that suited my needs.


Former-commit-id: f77557cbbd8652c2ed05ac439efc1956d8e99729
2020-02-21 22:12:58 +02:00
MishMish 1a382b4cee Update README.md
Former-commit-id: e1ff263d66abf91ebedc7863148b9203466f424d
2020-02-17 23:57:51 +02:00
Michel Heily eda3d3e3e7 feat(flash): Implement Flash save type
Pokemon games now boot and save.
Fixes #7


Former-commit-id: c60cda3352cc5117c88d4aec272c4e9d2662d21d
2020-01-26 02:18:27 +02:00
Michel Heily a47cb18cda core/arm7tdmi/arm/: Fix wrong calculation of op1 in DATA_PROCESSING instruction when RN==R15
The docs state: "If a register is used to specify the shift amount the PC will be 12 bytes ahead"
I probably misread that when implementing DataProcessing instructions,
and because of that added 4 bytes to (op1+8) when shift amount was specified by a rotated immediate.

Fixes #6 (and probably tons of other bugs too!)


Former-commit-id: 129f0951a6381221314c23a468c3da8b31435a30
2020-01-18 23:46:47 +02:00
Michel Heily 8755013ec6 tests: Wrap gba-suite by jsmolka
Former-commit-id: 511f08470520c712b3b5a5bd9e33ac590939c315
2020-01-17 01:33:21 +02:00
Michel Heily 2cd8dc1f75 docs: Add license badge
Former-commit-id: f4b7902a9a83be93173d0c1d9387692b14481754
2020-01-12 02:08:19 +02:00
Michel Heily a00800ea8d docs: update README.md
Former-commit-id: 5d729faa3f30a88402fd58810375ebe624e8277d
2020-01-12 02:04:44 +02:00
Michel Heily 49a3bc6fd0 feat: Add temporary project icon
Former-commit-id: 05da47f328f076045f4b27f521c72e03648ede77
2020-01-12 01:30:35 +02:00
Michel Heily 4a73d80ace docs: Remove outdated gifs
Former-commit-id: 4a220d546deea05993509fd8dd9e157564c7a1e5
2020-01-12 01:29:14 +02:00
Michel Heily 3a1d5c10ce Fix many bugs, refactor many things..
Passing: Armwrestler, cpu_test by Dead_Body

Former-commit-id: 80d815d110c5341515dd01c476a0d7e25ecb66a8
2019-11-09 01:06:24 +02:00
Michel Heily 2bd8b56bc6 Fix that DAMN bug.
Long story short, I've been hunting this bug for a while now.
While passing armwresteler tests, I still had an emulation bug which
causeed libgcc's iprintf to produce bugged strings.

In order to find it, I've used https://github.com/fleroviux/NanoboyAdvance/
And patched it to produce a formatted log of every step of the execution
of iprintf:
{OPCODE} {PC} {R0} {R1} ... {R14} {FLAGS}
Did the same on my emulator and searched for differences.

Found out the a "CMP r3, #0x0" instruction turned off the carry flag
when it shouldn't. Found this sad function, the check I'm using for
carry flag is meaningless when done on signed integers. :sigh:


Former-commit-id: 871d2581921796dae9bf4f5fdaa45c6ad46aebec
2019-11-06 00:49:59 +02:00
MishMish c9df623d36 Update README.md
Former-commit-id: 03b224b7de9735a1ed43dd7460fe5fa9ece147b4
2019-07-03 02:23:36 +03:00
Michel Heily 2238c7a72f Add demo gif to README.md
Former-commit-id: 05ec55725c04cd4d4ca08471ea88b1b6b1b11e08
2019-06-28 15:32:21 +03:00
Michel Heily 5245f0780c Update README.md 2019-06-28 13:05:48 +03:00
Michel Heily 8324c1ed50 Initial commit 2019-06-24 16:36:20 +03:00