[Coco] The cobbler "problem"

Allen Huffman alsplace at pobox.com
Sun Jan 25 03:06:39 EST 2015


And FYI, the toolshed os9gen command works because it does it the new/modern way of dealing with sector 0-XXX. It has some checks for single/double sided, then it just seeks within the file like normal:

		/* 5. Seek to appropriate track and write out track data. */
		
		_os9_seek(opath, startlsn * 256, SEEK_SET);

		_os9_write(opath, boottrack, &size);

starlsn comes from:

static struct personality coco = { 18 * 34 };

Thus, 18*34*256 ... 

		-- A


More information about the Coco mailing list