# Ada on the Sega Dreamcast

**URL:** <https://forum.ada-lang.io/t/ada-on-the-sega-dreamcast/691>\
**Category:** General\
**Tags:** ada, embedded\
**Created:** [March 1, 2024, 8:35am UTC](https://forum.ada-lang.io/t/ada-on-the-sega-dreamcast/691 "2024-03-01T08:35:40Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![dkm](https://forum.ada-lang.io/letter_avatar_proxy/v4/letter/d/ce73a5/32.png) [@dkm](https://forum.ada-lang.io/u/dkm)\
**Post date:** [March 1, 2024, 8:35am UTC](https://forum.ada-lang.io/t/ada-on-the-sega-dreamcast/691/1 "2024-03-01T08:35:40Z")

</div>

Hello,

Small note, as this may be of interest to some. Maybe not 🙂

I’ve prototyped the bare minimum to have a toolchain and basic bindings to be able to use Ada on the Sega Dreamcast.

This small work was first targeting a FOSDEM presentation, but I was too short on time and didn’t make it… So Ada is not showcased in Falco’s nice talk:

> **[FOSDEM 2024 - Sega Dreamcast Homebrew with GCC](https://fosdem.org/2024/schedule/event/fosdem-2024-2634-sega-dreamcast-homebrew-with-gcc/)**

Nonetheless, I didn’t abandon the project and achieved my goal. In the end, it’s rather small code-wise. Everything can be found [from this github project.](https://github.com/dkm/ada-dreamcast-helloworld) (the small runtime, build instructions, etc).

As said above, it’s minimal, not exhaustive, not prefect.

Ada is now listed on the [Dreamcast wiki](https://dreamcast.wiki/Programming_language_support), which is nice.

---

<div class="post-metadata">

**Author:** ![DirkCraeynest](https://forum.ada-lang.io/user_avatar/forum.ada-lang.io/dirkcraeynest/32/94_2.png) [@DirkCraeynest](https://forum.ada-lang.io/u/DirkCraeynest)\
**Post date:** [March 1, 2024, 9:50am UTC](https://forum.ada-lang.io/t/ada-on-the-sega-dreamcast/691/2 "2024-03-01T09:50:51Z")

</div>

> [@dkm](#):
>
> This small work was first targeting a FOSDEM presentation, but I was too short on time and didn’t make it…

You might want to consider submitting a short presentation proposal for the “Ada Developers Workshop” [1] on Friday 14 June at the Ada-Europe conference in Barcelona, Spain.

That workshop has been set up as an alternative for our traditional Ada Devroom at FOSDEM, as our proposal for a 12th such DevRoom in February 2024 was not accepted…

[1] [https://www.ada-europe.org/conference2024/adadev.html](https://www.ada-europe.org/conference2024/adadev.html)

---

<div class="post-metadata">

**Author:** ![SweetAda](https://forum.ada-lang.io/letter_avatar_proxy/v4/letter/s/7993a0/32.png) [@SweetAda](https://forum.ada-lang.io/u/SweetAda)\
**Post date:** [March 1, 2024, 11:12am UTC](https://forum.ada-lang.io/t/ada-on-the-sega-dreamcast/691/3 "2024-03-01T11:12:31Z")

</div>

FYI

SweetAda runs on Dreamcast, either by means of the GXemul emulator (CD booting, ROM booting from the bare CPU reset) or on the real physical target (booting with the BBA adapter).

[https://www.sweetada.org](https://www.sweetada.org)

> **[GitHub - gabriele-galeotti/SweetAda: Ada-language framework](https://github.com/gabriele-galeotti/SweetAda)**
>
> Ada-language framework. Contribute to gabriele-galeotti/SweetAda development by creating an account on GitHub.

 ![Screenshot_20240301_121017](https://forum.ada-lang.io/uploads/default/original/1X/88ebc86636d191099934fa7ae30a5dc2086dd3ab.jpeg)

---

<div class="post-metadata">

**Author:** ![Lucretia](https://forum.ada-lang.io/user_avatar/forum.ada-lang.io/lucretia/32/17_2.png) [@Lucretia](https://forum.ada-lang.io/u/Lucretia)\
**Post date:** [March 2, 2024, 2:00pm UTC](https://forum.ada-lang.io/t/ada-on-the-sega-dreamcast/691/4 "2024-03-02T14:00:59Z")

</div>

I actually ported as much of a “game” (where I was working at the time) to Dreamcast using the open dev tools, nevr put Ada on it though, but wouldn’t be too hard. No longer have the DC as the power was flaky, so sold it.

---

<div class="post-metadata">

**Author:** ![dkm](https://forum.ada-lang.io/letter_avatar_proxy/v4/letter/d/ce73a5/32.png) [@dkm](https://forum.ada-lang.io/u/dkm)\
**Post date:** [March 3, 2024, 8:30pm UTC](https://forum.ada-lang.io/t/ada-on-the-sega-dreamcast/691/5 "2024-03-03T20:30:13Z")

</div>

Thanks all for your answers.  
I didn’t check if there was any previous work apart from asking the KallistiOS devs and reading the dreamcast wiki… But as the goal was more to experiment than to provide real Ada support, I guess that’s fine. It’s nice to see this was already working for a very long time though 🙂

Thanks for the info about the Ada Dev Workshop, but I’m not planning on going to Barcelona, and the real work behind this would not really make for a nice talk anyway, it’s mostly boilerplate.

---

<div class="post-metadata">

**Author:** ![Lucretia](https://forum.ada-lang.io/user_avatar/forum.ada-lang.io/lucretia/32/17_2.png) [@Lucretia](https://forum.ada-lang.io/u/Lucretia)\
**Post date:** [March 3, 2024, 9:00pm UTC](https://forum.ada-lang.io/t/ada-on-the-sega-dreamcast/691/6 "2024-03-03T21:00:19Z")

</div>

I never did any Ada on DC, the game was in C, I think, and slooow.
