Game Boy spiele erstellen :) ...lib tuts nicht :(



  • HAllo 😉

    erstmal vorweg es handelt sich um C und nicht C++ ...

    ich bin auf folgendes gestoßen:

    http://www.loirak.com/gameboy/gbprog.php

    hier wird gezeigt wie man Gameboy spiele schreibt nur jetzt komme ich bei folgendem nicht weiter:

    Now you are probably wondering about the power of this compiler. So let's make a sample game, change your directory to C:\GBDK\EXAMPLES\GB\DSCAN. Now you will need to edit the MAKE.BAT in this directory, load it up and any editor (notepad) or dos edit, and add "..\" to the front of the two lines. It should look like this
    
    ..\..\..\bin\lcc -Wa-l -c -o dscan.o dscan.c
    ..\..\..\bin\lcc -Wl-m -Wl-yp0x143=0x80 -o dscan.gb dscan.o
    
    After you are done editing, run MAKE. When your done their should be a file dscan.gb. Load this into your emulator and watch the magic. You can really develop cool stuff with this compiler, eh? If you want to see more examples, look in the C:\GBDK\EXAMPLES\GB.
    

    hab ich jetzt über cmd geöffnet und make eingegeben: aber jetzt kommt folgende
    fehlermeldung:

    dscan.o
    invailid argument

    dscan.gb
    can't find dscan.o

    zudem: wie soll ich denn die header includen bzw. womit compilern ???

    ich hab jetzt mit dev c++ eine new.c erstellt den code eingefügt und mal als: dscan.c gespeichert ... kann mir mal wer helfen 👍 🤡


  • Mod

    ich empfehle dir http://www.gbadev.org/ da gibt es ein forum mit leuten die das taeglich machen und auf der hauptseite links zu beispielprojekten, tutorials, tools (compiler+gui), emulatoren usw.

    bin da leider seit 10jahren oder so raus. weiss nicht was zZ verwendet wird.


Anmelden zum Antworten