Bit 6 of PrintNum left-aligns numbers

This commit is contained in:
Rangi
2019-11-03 20:17:04 -05:00
parent 0c7b309f7f
commit 4d32035d4f
12 changed files with 40 additions and 40 deletions

View File

@@ -273,19 +273,19 @@ SetMinutes:
DisplayMinutesWithMinString:
ld de, wInitMinuteBuffer
call PrintTwoDigitNumberRightAlign
call PrintTwoDigitNumberLeftAlign
inc hl
ld de, String_min
call PlaceString
ret
PrintTwoDigitNumberRightAlign:
PrintTwoDigitNumberLeftAlign:
push hl
ld a, " "
ld [hli], a
ld [hl], a
pop hl
lb bc, PRINTNUM_RIGHTALIGN | 1, 2
lb bc, PRINTNUM_LEFTALIGN | 1, 2
call PrintNum
ret
@@ -684,7 +684,7 @@ PrintHour:
call AdjustHourForAMorPM
ld [wDeciramBuffer], a
ld de, wDeciramBuffer
call PrintTwoDigitNumberRightAlign
call PrintTwoDigitNumberLeftAlign
ret
GetTimeOfDayString: