diff --git a/bas.lk.in b/bas.lk.in index 472ee91..fd9989f 100644 --- a/bas.lk.in +++ b/bas.lk.in @@ -52,12 +52,9 @@ SECTIONS *(.data) __BAS_DATA_END = .; *(.bss) - - /* The BaS copy routine assumes that tha BaS size - * is a multiple of the following value. - */ . = ALIGN(16); #endif /* TARGET_ADDRESS */ + #if (FORMAT == elf32-m68k) *(.rodata) *(.rodata.*) diff --git a/sources/xhdi_sd.c b/sources/xhdi_sd.c index b941c03..b4824b9 100644 --- a/sources/xhdi_sd.c +++ b/sources/xhdi_sd.c @@ -190,7 +190,7 @@ uint32_t xhdi_get_capacity(uint16_t major, uint16_t minor, uint32_t *blocks, uin { if (disk_ioctl(0, GET_SECTOR_COUNT, blocks) != RES_OK) { - xprintf("disk_ioctl(0, GET_SECTOR_COUNT, %p) failed at %s:%d\r\n", __FILE__, __LINE__); + xprintf("disk_ioctl(0, GET_SECTOR_COUNT, %p) failed at %s:%d\r\n", blocks, __FILE__, __LINE__); return ERROR; } @@ -201,7 +201,7 @@ uint32_t xhdi_get_capacity(uint16_t major, uint16_t minor, uint32_t *blocks, uin { if (disk_ioctl(0, GET_SECTOR_SIZE, bs) != RES_OK) { - xprintf("disk_ioctl(0, GET_SECTOR_SIZE, %p) failed at %s:%dr\n", __FILE__, __LINE__); + xprintf("disk_ioctl(0, GET_SECTOR_SIZE, %p) failed at %s:%dr\n", bs, __FILE__, __LINE__); return ERROR; }