Mercurial > hg > Members > kono > nitros9-code
changeset 3050:19b022ee24ba
fix SS.DSize to return correct bytes-per-sector
author | darrenatk |
---|---|
date | Sun, 25 Jan 2015 00:45:30 -0700 |
parents | c5cc516ec1d7 |
children | d0ec54ac8b94 |
files | level1/modules/llcocosdc.asm |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/level1/modules/llcocosdc.asm Sat Jan 24 23:43:25 2015 +0100 +++ b/level1/modules/llcocosdc.asm Sun Jan 25 00:45:30 2015 -0700 @@ -129,11 +129,11 @@ puls x restore frame ptr ldb #E$NotRdy error code bcs sizeRet return if error + ldd ,y bits 15-0 of size + std R$Y,x return in Y clra bits 31-24 of size always zero ldb -1,y bits 23-16 of size std R$X,x return bits 31-16 in X - ldd ,y bits 15-0 of size - std R$Y,x return in Y inca A = 1: 256 byte sectors clrb B = 0: LBA device std R$D,x return in D