projects
/
platform
/
upstream
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4517ddd
)
ver.com: Fix month calculation for DRMK Build Date
author
Gene Cumm
<gene.cumm@gmail.com>
Wed, 3 Nov 2010 02:52:09 +0000
(22:52 -0400)
committer
Gene Cumm
<gene.cumm@gmail.com>
Wed, 3 Nov 2010 02:52:09 +0000
(22:52 -0400)
modules/ver.asm
patch
|
blob
|
history
diff --git
a/modules/ver.asm
b/modules/ver.asm
index
d3b6cb6
..
ddb96a7
100644
(file)
--- a/
modules/ver.asm
+++ b/
modules/ver.asm
@@
-410,10
+410,16
@@
getprn_drmkver:
;writedate_ax Write a date in AX in ISO8601 big endian format
; Input
; AX Date in 16-bit DOS format
+; 2006-01-11
+; 0011010 0001 01011
writedate_ax:
pushad
pushfd
mov dx,ax
+%ifdef DEBUG
+ call writehex4
+ call crlf
+%endif
.year:
shr ax,9
add ax,1980
@@
-422,7
+428,7
@@
writedate_ax:
call writechr
mov ax,dx
.month:
- shr ax,
9
+ shr ax,
5
and ax,0Fh
; cmp ax,10
; jae .month_wri