Long overdue capitalization fixes
This commit is contained in:
parent
a956d58ea1
commit
8389c6a450
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
@ -1,4 +1,4 @@
|
|||||||
; Sameboy CGB bootstrap ROM
|
; SameBoy CGB bootstrap ROM
|
||||||
; Todo: use friendly names for HW registers instead of magic numbers
|
; Todo: use friendly names for HW registers instead of magic numbers
|
||||||
SECTION "BootCode", ROM0[$0]
|
SECTION "BootCode", ROM0[$0]
|
||||||
Start:
|
Start:
|
||||||
@ -468,7 +468,7 @@ ENDM
|
|||||||
palette_comb 4, 3, 28
|
palette_comb 4, 3, 28
|
||||||
palette_comb 28, 3, 6
|
palette_comb 28, 3, 6
|
||||||
palette_comb 4, 28, 29
|
palette_comb 4, 28, 29
|
||||||
; Sameboy "Exclusives"
|
; SameBoy "Exclusives"
|
||||||
palette_comb 30, 30, 30 ; CGA
|
palette_comb 30, 30, 30 ; CGA
|
||||||
palette_comb 31, 31, 31 ; DMG LCD
|
palette_comb 31, 31, 31 ; DMG LCD
|
||||||
palette_comb 28, 4, 1
|
palette_comb 28, 4, 1
|
||||||
@ -505,7 +505,7 @@ Palettes:
|
|||||||
dw $0000, $4200, $037F, $7FFF
|
dw $0000, $4200, $037F, $7FFF
|
||||||
dw $7FFF, $7E8C, $7C00, $0000
|
dw $7FFF, $7E8C, $7C00, $0000
|
||||||
dw $7FFF, $1BEF, $6180, $0000
|
dw $7FFF, $1BEF, $6180, $0000
|
||||||
; Sameboy "Exclusives"
|
; SameBoy "Exclusives"
|
||||||
dw $7FFF, $7FEA, $7D5F, $0000 ; CGA 1
|
dw $7FFF, $7FEA, $7D5F, $0000 ; CGA 1
|
||||||
dw $4778, $3290, $1D87, $0861 ; DMG LCD
|
dw $4778, $3290, $1D87, $0861 ; DMG LCD
|
||||||
|
|
||||||
@ -522,7 +522,7 @@ KeyCombinationPalettes
|
|||||||
db 7 ; Left + B
|
db 7 ; Left + B
|
||||||
db 28 ; Up + B
|
db 28 ; Up + B
|
||||||
db 49 ; Down + B
|
db 49 ; Down + B
|
||||||
; Sameboy "Exclusives"
|
; SameBoy "Exclusives"
|
||||||
db 51 ; Right + A + B
|
db 51 ; Right + A + B
|
||||||
db 52 ; Left + A + B
|
db 52 ; Left + A + B
|
||||||
db 53 ; Up + A + B
|
db 53 ; Up + A + B
|
||||||
@ -531,8 +531,8 @@ KeyCombinationPalettes
|
|||||||
TrademarkSymbol:
|
TrademarkSymbol:
|
||||||
db $3c,$42,$b9,$a5,$b9,$a5,$42,$3c
|
db $3c,$42,$b9,$a5,$b9,$a5,$42,$3c
|
||||||
|
|
||||||
SameboyLogo:
|
SameBoyLogo:
|
||||||
incbin "SameboyLogo.rle"
|
incbin "SameBoyLogo.rle"
|
||||||
|
|
||||||
AnimationColors:
|
AnimationColors:
|
||||||
dw $7FFF ; White
|
dw $7FFF ; White
|
||||||
@ -636,7 +636,7 @@ ReadCGBLogoHalfTile:
|
|||||||
|
|
||||||
LoadTileset:
|
LoadTileset:
|
||||||
; Copy SameBoy Logo
|
; Copy SameBoy Logo
|
||||||
ld de, SameboyLogo
|
ld de, SameBoyLogo
|
||||||
ld hl, $8080
|
ld hl, $8080
|
||||||
.sameboyLogoLoop
|
.sameboyLogoLoop
|
||||||
ld a, [de]
|
ld a, [de]
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
; Sameboy CGB bootstrap ROM
|
; SameBoy DMG bootstrap ROM
|
||||||
; Todo: use friendly names for HW registers instead of magic numbers
|
; Todo: use friendly names for HW registers instead of magic numbers
|
||||||
SECTION "BootCode", ROM0[$0]
|
SECTION "BootCode", ROM0[$0]
|
||||||
Start:
|
Start:
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
; Sameboy CGB bootstrap ROM
|
; SameBoy SGB bootstrap ROM
|
||||||
; Todo: use friendly names for HW registers instead of magic numbers
|
; Todo: use friendly names for HW registers instead of magic numbers
|
||||||
SECTION "BootCode", ROM0[$0]
|
SECTION "BootCode", ROM0[$0]
|
||||||
Start:
|
Start:
|
||||||
|
4
Makefile
4
Makefile
@ -326,7 +326,7 @@ $(OBJ)/%.1bpp: %.png
|
|||||||
-@$(MKDIR) -p $(dir $@)
|
-@$(MKDIR) -p $(dir $@)
|
||||||
rgbgfx -d 1 -h -o $@ $<
|
rgbgfx -d 1 -h -o $@ $<
|
||||||
|
|
||||||
$(OBJ)/BootROMs/SameboyLogo.rle: $(OBJ)/BootROMs/SameboyLogo.1bpp build/logo-compress
|
$(OBJ)/BootROMs/SameBoyLogo.rle: $(OBJ)/BootROMs/SameBoyLogo.1bpp build/logo-compress
|
||||||
build/logo-compress < $< > $@
|
build/logo-compress < $< > $@
|
||||||
|
|
||||||
build/logo-compress: BootROMs/logo-compress.c
|
build/logo-compress: BootROMs/logo-compress.c
|
||||||
@ -336,7 +336,7 @@ $(BIN)/BootROMs/agb_boot.bin: BootROMs/cgb_boot.asm
|
|||||||
$(BIN)/BootROMs/cgb_boot_fast.bin: BootROMs/cgb_boot.asm
|
$(BIN)/BootROMs/cgb_boot_fast.bin: BootROMs/cgb_boot.asm
|
||||||
$(BIN)/BootROMs/sgb2_boot: BootROMs/sgb_boot.asm
|
$(BIN)/BootROMs/sgb2_boot: BootROMs/sgb_boot.asm
|
||||||
|
|
||||||
$(BIN)/BootROMs/%.bin: BootROMs/%.asm $(OBJ)/BootROMs/SameboyLogo.rle
|
$(BIN)/BootROMs/%.bin: BootROMs/%.asm $(OBJ)/BootROMs/SameBoyLogo.rle
|
||||||
-@$(MKDIR) -p $(dir $@)
|
-@$(MKDIR) -p $(dir $@)
|
||||||
rgbasm -i $(OBJ)/BootROMs/ -i BootROMs/ -o $@.tmp $<
|
rgbasm -i $(OBJ)/BootROMs/ -i BootROMs/ -o $@.tmp $<
|
||||||
rgblink -o $@.tmp2 $@.tmp
|
rgblink -o $@.tmp2 $@.tmp
|
||||||
|
Loading…
Reference in New Issue
Block a user