# HG changeset patch # User boisy # Date 1025723956 0 # Node ID 0c12245b7bdc79a5f0ef5c0216cc5ebf77bef4c0 # Parent 3f67d4e039f0242d8daf5a25bfe707ad2fdf419c Fixed NitrOS-9 and OS-9 Level Two bug where Address was too far off the end of the module for the ldy
$FF40 stop the disk + lbsr Init + + ldd #$0001 request one byte (will round up to 1 page) + os9 F$SRqMem request the memory + bcs L00B0 exit on error + +* U is implicitely the buffer address to use -* Request memory for LSN0 - ldd #1 - os9 F$SRqMem request one page of RAM - bcs error - bsr getpntr + clrb + ldx #$0000 X=0: got to sector #$0000 + bsr GetSect load in LSN0, U = buffer start + bcs L00B0 + + ifne NitrOS9 + lda #'0 --- loaded in LSN0 + jsr