Initial Commit
This commit is contained in:
17
z_gbdk_playground_original/blank/Makefile
Normal file
17
z_gbdk_playground_original/blank/Makefile
Normal file
@@ -0,0 +1,17 @@
|
||||
AS = lcc -c
|
||||
CC = lcc -Wa-l -Wl-m
|
||||
|
||||
BIN = blank.gb
|
||||
OBJS = blank.o
|
||||
|
||||
all: $(BIN)
|
||||
|
||||
%.s: %.ms
|
||||
maccer -o $@ $<
|
||||
|
||||
$(BIN): $(OBJS)
|
||||
$(CC) -o $(BIN) $(OBJS)
|
||||
|
||||
clean:
|
||||
rm -rf $(BIN) $(OBJS) *~
|
||||
|
35
z_gbdk_playground_original/blank/README.md
Normal file
35
z_gbdk_playground_original/blank/README.md
Normal file
@@ -0,0 +1,35 @@
|
||||
|
||||
|
||||
|
||||
|
||||
# Blank
|
||||
<div style="text-align: center"><img src="screenshot.png" alt="" /></div>
|
||||
|
||||
This example contains the minimal amount of code needed to create a working
|
||||
Game Boy game. Though not a very exciting one.
|
||||
|
||||
## Source
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
All a GBDK game needs to compile and run (any C-program, in fact) is a main
|
||||
function. This is the entry point into your program.
|
||||
|
||||
|
||||
|
||||
|
||||
```c
|
||||
void main() {
|
||||
|
||||
}
|
||||
|
||||
|
||||
```
|
||||
|
||||
|
||||
|
13
z_gbdk_playground_original/blank/blank.c
Normal file
13
z_gbdk_playground_original/blank/blank.c
Normal file
@@ -0,0 +1,13 @@
|
||||
// # Blank
|
||||
// <div style="text-align: center"><img src="screenshot.png" alt="" /></div>
|
||||
//
|
||||
// This example contains the minimal amount of code needed to create a working
|
||||
// Game Boy game. Though not a very exciting one.
|
||||
//
|
||||
// ## Source
|
||||
|
||||
// All a GBDK game needs to compile and run (any C-program, in fact) is a main
|
||||
// function. This is the entry point into your program.
|
||||
void main() {
|
||||
|
||||
}
|
2
z_gbdk_playground_original/blank/docs.sh
Normal file
2
z_gbdk_playground_original/blank/docs.sh
Normal file
@@ -0,0 +1,2 @@
|
||||
docco -t ../docs/res/readme_c.jst -o ./ blank.c
|
||||
mv blank.html README.md
|
BIN
z_gbdk_playground_original/blank/screenshot.png
Normal file
BIN
z_gbdk_playground_original/blank/screenshot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 28 KiB |
Reference in New Issue
Block a user