X-Git-Url: http://cloudbase.mooo.com/gitweb/avrcpm.git/blobdiff_plain/2a5038631d5ba930d52f2df6618240c7009c4e26..9220263651f90651ce0106bd1f570ac0cd598597:/avrcpm/avr/init.asm diff --git a/avrcpm/avr/init.asm b/avrcpm/avr/init.asm index de576a8..4ffff96 100644 --- a/avrcpm/avr/init.asm +++ b/avrcpm/avr/init.asm @@ -227,11 +227,21 @@ boot_ipl2: ; Read first sector of first CP/M partition (ipl) - lds xl,hostparttbl+1 - lds xh,hostparttbl+2 - lds yl,hostparttbl+3 - lds yh,hostparttbl+4 - rcall mmcReadSect +; lds xl,hostparttbl+1 +; lds xh,hostparttbl+2 +; lds yl,hostparttbl+3 +; lds yh,hostparttbl+4 +; rcall mmcReadSect + +; Disk 0 + sts seekdsk,_0 +; Track 0 + sts seektrk,_0 + sts seektrk+1,_0 +; Sector 0 + sts seeksec,_0 + + rcall dsk_read ; rcall dsk_cboot ;init (de)blocking buffer