X-Git-Url: http://cloudbase.mooo.com/gitweb/avrcpm.git/blobdiff_plain/94175893adca548862102caa29fd8c998d7d0e67..8b13b36c6542ac4fac3a69ae45f7e296f7754bdb:/init.asm diff --git a/init.asm b/init.asm index 7b9d9fb..50e1fa2 100644 --- a/init.asm +++ b/init.asm @@ -205,11 +205,13 @@ ramfillw: boot_again: printnewline printstring "Initing mmc...",0 - rcall dsk_partinit + printnewline + call mgr_init_partitions cbr temp,0x80 brne boot_ipl2 printstring "No bootable CP/M disk found! Please change MMC/SD-Card." + printnewline ldi temp2,18 boot_iplwl: ldi temp,255 @@ -220,16 +222,16 @@ boot_iplwl: boot_ipl2: - rcall prnt_parttbl + call mgr_prnt_parttbl printnewline printstring "Partinit done." ; Read first sector of first CP/M partition - lds xl,hostparttbl - lds xh,hostparttbl+1 - lds yl,hostparttbl+2 - lds yh,hostparttbl+3 + lds xl,hostparttbl+1 + lds xh,hostparttbl+2 + lds yl,hostparttbl+3 + lds yh,hostparttbl+4 rcall mmcReadSect rcall dsk_cboot ;init (de)blocking buffer @@ -247,6 +249,6 @@ iplwriteloop: brne iplwriteloop cpi zh,high(hostbuf+128) brne iplwriteloop - rjmp z80_init + jmp z80_init