Nintendo DS homebrew with Ada?

Note. I know very little about the GCC toolchain, so this question may not make much sense.

Since GCC includes the front end of Ada and can call ARM, and devKitPro is based on GCC, is it possible to use Ada instead of C / C ++ to write code in DS?

Edit: It seems that the target devKitARM uses is arm-eabi.

+3
source share
5 answers

devkitPro is not a tool, compiler or even a software package. The toolchain used to target DS is devkitARM, one of the toolchains provided by devkitPro.

, ada, , - - DS. devkitPro, , ada , .

+6

, https://github.com/Lucretia/tamp - script. NDS Ada. RTS, .

@ , , DoD? , Ada , , Ada - , ?

+3

, DSN-nintendo, - , (16 ). , SRAM DRAM (4 ), DRAM ( ).

Dre , Ada, , DS (, , ).

+2

( : )

.

, devKitPro Ada, ( OS X) Ada.

However, you will probably find yourself writing tons of glue C code to interact with various hardware registers, etc.

+1
source

On the practical plane, this is impossible.

On a theoretical plane, you can use one Ada custom parser (I found this one on ANTLR , but it's quite old) to translate Ada to C / C ++ and then pass it to devkitpro.

However, efforts to create such a translator are likely to be equal (if not higher) to create the game itself.

0
source

Source: https://habr.com/ru/post/1697621/


All Articles