1
0
mirror of https://github.com/gbdev/awesome-gbdev.git synced 2025-08-26 17:14:47 +02:00

gbdk development workflow on windows, another emulator

This commit is contained in:
Antonio Vivace
2017-05-13 12:55:08 +02:00
parent 35b2b32758
commit 400e0fc0d4
2 changed files with 26 additions and 1 deletions

View File

@@ -118,8 +118,9 @@ Here you can find everything to get started and master the development of unoffi
- [GameLad](https://github.com/Dooskington/GameLad) - C++/SDL almost fully featured emulator. - [GameLad](https://github.com/Dooskington/GameLad) - C++/SDL almost fully featured emulator.
- [Wadatsumi](https://github.com/arrow-lang/wadatsumi) - Emulator written in Arrow. - [Wadatsumi](https://github.com/arrow-lang/wadatsumi) - Emulator written in Arrow.
- [Binjgb](https://github.com/binji/binjgb) - 5kloc emulator in C that passes most of the tests. - [Binjgb](https://github.com/binji/binjgb) - 5kloc emulator in C that passes most of the tests.
- [jgilchrist](https://github.com/jgilchrist/emulator) - A Gameboy emulator in modern C++. - [jgilchrist](https://github.com/jgilchrist/emulator) - A Game Boy emulator in modern C++.
- [gameboyGO](https://github.com/gonccalo/gameboyGO) - Game Boy emulator in go. - [gameboyGO](https://github.com/gonccalo/gameboyGO) - Game Boy emulator in go.
- [GameBoyEmulator-GBS](https://github.com/Salgat/GameBoyEmulator-GBS) - Game Boy emulator written in C++14 with a single library dependency of SFML.
## Software Development ## Software Development

View File

@@ -0,0 +1,24 @@
## GBDK development workflow on Windows and Sublime Text
gbdk.sublime-build
```
{
"cmd": ["C:\\..\\compile.bat"," $file"]
}
```
compile.bat
```
color 0B
set str=%1
set str2=%str:~1,-3%
del %str2%.gb
bin\lcc -Wa-l -Wl-m -Wl-j -DUSE_SFR_FOR_REG -c -o %str2%.o %str2%.c
bin\lcc -Wa-l -Wl-m -Wl-j -DUSE_SFR_FOR_REG -o %str2%.gb %str2%.o
del *.o
taskkill /f /im bgb.exe
start bgb.exe %str2%.gb
```