ASM

by junabe Jun 17, 2016 at 3:31 PM 721 Views 8 replies
  1. junabe
    OP

    junabe Newbie

    Newcomer
    3
    0
    Jun 17, 2016
    Can I create a homebrew with only ASM for 3DS?

    Like GBA:

    b entry:
    >>HEADER
    entry:

    or NDS

    >> HEADER with entries
    entry:

    What assembler you recommend? Armips can do it? Someone can provide an hello world? (since we still don't have an magicflr for 3DS :/ best code sample ever)
     
  2. LITTOMA

    LITTOMA Advanced Member

    Newcomer
    67
    42
    Nov 14, 2014
    Switzerland
    Sure. But I haven't do that ever.
     
  3. Duo8

    Duo8 I don't like video games

    Member
    3,444
    1,144
    Jul 16, 2013
    It's technically possible but it will be very complicated.
     
  4. junabe
    OP

    junabe Newbie

    Newcomer
    3
    0
    Jun 17, 2016
    The header/verifications/etc are that way too complicated/complex? It has no document like GBATEK for the 3DS?
     
  5. Duo8

    Duo8 I don't like video games

    Member
    3,444
    1,144
    Jul 16, 2013
    Best you're gonna get is 3dbrew.
    You have to work under an OS with services and syscalls so I thought it'd be more complicated.
     
  6. junabe
    OP

    junabe Newbie

    Newcomer
    3
    0
    Jun 17, 2016
    With Arm9LH isn't possible to start your code independently of 3DS OS?
     
  7. Duo8

    Duo8 I don't like video games

    Member
    3,444
    1,144
    Jul 16, 2013
    I didn't think you meant that.
    In that case you should ask in #3dsdev.
     
  8. sirocyl

    sirocyl Are we Geniuses or what?

    Newcomer
    88
    110
    Apr 30, 2012
    United States
    If you wish to code your game in asm, you may - but you would still likely be calling out to 3DS OS functions and devKitPro library templates, like gfxInitDefault() and similar.
    It's not unlike writing an asm program beneath another OS like Windows or Linux - you still call out to system functions as usual.
     
  9. ketal

    ketal aiueo

    Member
    744
    569
    Aug 20, 2015
    Italy
    Yes, you can, but running on bare metal using only asm, to write a game (so implementing controls, screen printing code, and whatever), is quite complex