Initial Commit
This commit is contained in:
16
blank/Makefile
Normal file
16
blank/Makefile
Normal file
@@ -0,0 +1,16 @@
|
||||
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) *~
|
2
blank/blank.c
Normal file
2
blank/blank.c
Normal file
@@ -0,0 +1,2 @@
|
||||
void main() {
|
||||
}
|
BIN
blank/blank.gb
Normal file
BIN
blank/blank.gb
Normal file
Binary file not shown.
90
blank/blank.lst
Normal file
90
blank/blank.lst
Normal file
@@ -0,0 +1,90 @@
|
||||
1 ;--------------------------------------------------------
|
||||
2 ; File Created by SDCC : FreeWare ANSI-C Compiler
|
||||
3 ; Version 2.3.1 Wed Jul 8 07:28:28 2020
|
||||
4
|
||||
5 ;--------------------------------------------------------
|
||||
6 .module lcc2137180
|
||||
7
|
||||
8 ;--------------------------------------------------------
|
||||
9 ; Public variables in this module
|
||||
10 ;--------------------------------------------------------
|
||||
11 .globl _main
|
||||
12 ;--------------------------------------------------------
|
||||
13 ; special function registers
|
||||
14 ;--------------------------------------------------------
|
||||
15 ;--------------------------------------------------------
|
||||
16 ; special function bits
|
||||
17 ;--------------------------------------------------------
|
||||
18 ;--------------------------------------------------------
|
||||
19 ; internal ram data
|
||||
20 ;--------------------------------------------------------
|
||||
21 .area _DATA
|
||||
22 ;--------------------------------------------------------
|
||||
23 ; overlayable items in internal ram
|
||||
24 ;--------------------------------------------------------
|
||||
25 .area _OVERLAY
|
||||
26 ;--------------------------------------------------------
|
||||
27 ; indirectly addressable internal ram data
|
||||
28 ;--------------------------------------------------------
|
||||
29 .area _ISEG
|
||||
30 ;--------------------------------------------------------
|
||||
31 ; bit data
|
||||
32 ;--------------------------------------------------------
|
||||
33 .area _BSEG
|
||||
34 ;--------------------------------------------------------
|
||||
35 ; external ram data
|
||||
36 ;--------------------------------------------------------
|
||||
37 .area _XSEG
|
||||
38 ;--------------------------------------------------------
|
||||
39 ; global & static initialisations
|
||||
40 ;--------------------------------------------------------
|
||||
41 .area _GSINIT
|
||||
42 .area _GSFINAL
|
||||
43 .area _GSINIT
|
||||
44 ;--------------------------------------------------------
|
||||
45 ; Home
|
||||
46 ;--------------------------------------------------------
|
||||
47 .area _HOME
|
||||
48 .area _CODE
|
||||
49 ;--------------------------------------------------------
|
||||
50 ; code
|
||||
51 ;--------------------------------------------------------
|
||||
52 .area _CODE
|
||||
53 ; blank.c 1
|
||||
54 ; genLabel
|
||||
55 ; genFunction
|
||||
56 ; ---------------------------------
|
||||
57 ; Function main
|
||||
58 ; ---------------------------------
|
||||
0000 59 ___main_start:
|
||||
0000 60 _main:
|
||||
61
|
||||
62 ; blank.c 2
|
||||
63 ; genLabel
|
||||
0000 64 00101$:
|
||||
65 ; genEndFunction
|
||||
66
|
||||
0000 C9 67 ret
|
||||
0001 68 ___main_end:
|
||||
69 .area _CODE
|
||||
ASxxxx Assembler V01.75 (GameBoy Z80-like CPU), page 1.
|
||||
|
||||
Symbol Table
|
||||
|
||||
0 ___main_end 0001 R
|
||||
0 ___main_start 0000 R
|
||||
0 _main 0000 GR
|
||||
|
||||
ASxxxx Assembler V01.75 (GameBoy Z80-like CPU), page 2.
|
||||
|
||||
Area Table
|
||||
|
||||
0 _CODE size 1 flags 0
|
||||
1 _DATA size 0 flags 0
|
||||
2 _OVERLAY size 0 flags 0
|
||||
3 _ISEG size 0 flags 0
|
||||
4 _BSEG size 0 flags 0
|
||||
5 _XSEG size 0 flags 0
|
||||
6 _GSINIT size 0 flags 0
|
||||
7 _GSFINAL size 0 flags 0
|
||||
8 _HOME size 0 flags 0
|
Reference in New Issue
Block a user