4 fwrite sd_dump \ Display Block(512bytes) inside SD-card \ sd_dump filename : sd_dump hex \ Get blocknumber from filename \ if not filename, " FILE NOT FOUND" _sd_fsp dup \ Get cstr if sd_find \ Get block number dup \ Get header(1 Block) from SD-card to sd_cogbuf(Cog memory) sd_blockread \ Get number blocks allocated to this file sd_cogbuf h2B + COG@ st? 0 do dup \ Read 1 block sd_blockread tbuf sd_cogbuf d32 0 do i d16 u* .word _ecs 2dup \ Copy 8Long(32bytes) from Cog memory to tbuf 4 cog>mem tbuf d16 bounds do i C@ .byte space loop \ Display ASCII space tbuf d16 bounds do i C@ dup bl h7E between invert if drop h2E then emit loop cr \ next Cog memory 4 + loop cr 2drop \ Stop if ESC key, Display next block if space key begin ." Push ESC-key if stopping, space key if continue to display" cr fkey? and fkey? and or dup h1B = if drop \ Break do-loop Set lasti to current loop counter 0 RS@ seti 1 else h20 = if 1 else 0 then then until \ Increment block number 1+ loop drop else drop _fnf then decimal ; ...