src/libxpeccy/tape.c
// add signal (1 level change)
add signal (1 level change)
add signal ( 1 level change )
void blkAddSignal(TapeBlock* blk, int len) {
	if ((blk->sigCount & 0xffff) == 0) {
		blk->sigData = (int*)realloc(blk->sigData,(blk->sigCount + 0x10000) * sizeof(int));	
	}
	blk->sigData[blk->sigCount] = len;
	blk->sigCount++;
}
void blkAddSignal ( TapeBlock * blk , int len ) { if ( ( blk -> sigCount & 0xffff ) == 0 ) { blk -> sigData = ( int * ) realloc ( blk -> sigData , ( blk -> sigCount + 0x10000 ) * sizeof ( int ) ) ; } blk -> sigData [ blk -> sigCount ] = len ; blk -> sigCount ++ ; }
add signal (1 level change)
add signal ( 1 level change )
// allocate mem for next 0x10000 signals