~nytpu/ankano unlisted

5636d36d811f7188a857716f6ca1f8259b40912c — nytpu 7 months ago da58413
rearranged charmap into text module
3 files changed, 16 insertions(+), 10 deletions(-)

M include/defines.asm
M src/loop.asm
A src/text.asm
M include/defines.asm => include/defines.asm +0 -9
@@ 3,7 3,6 @@
; Modified by:
; Copyright (C) 2020 Alex Gentilucci
; - added vwf library
; - added charmap
; - remove sgb stuff
; - bump hardware.inc to 3.0
;


@@ 63,11 62,3 @@ error: MACRO
	ENDC
ENDM

	newcharmap primary_font
FONTCHARS equs "0123456789ABCDEFGHUJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz .!?:-"
CURCHAR = 0
REPT STRLEN("{FONTCHARS}")
	charmap STRSUB("{FONTCHARS}", CURCHAR + 1, 1), CURCHAR
CURCHAR = CURCHAR + 1
ENDR


M src/loop.asm => src/loop.asm +0 -1
@@ 4,7 4,6 @@

INCLUDE "defines.asm"


SECTION "Game Loop", ROM0
EnterMainLoop::
	di

A src/text.asm => src/text.asm +16 -0
@@ 0,0 1,16 @@
; Copyright (C) 2020 nytpu
; This file is licensed under the terms of the MIT License.
; For more license details, see LICENSE or <https://mit-license.org/>.

INCLUDE "defines.asm"

	newcharmap primary_font
FONTCHARS equs "0123456789ABCDEFGHUJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz .!?:-"
CURCHAR = 0
REPT STRLEN("{FONTCHARS}")
	charmap STRSUB("{FONTCHARS}", CURCHAR + 1, 1), CURCHAR
CURCHAR = CURCHAR + 1
ENDR

SECTION "Text Engine", ROM0