1
0
mirror of https://github.com/open-simh/simh.git synced 2026-05-01 22:16:21 +00:00

Updated AltairZ80 from Peter Schorn

This commit is contained in:
Mark Pizzolato
2013-04-13 16:47:59 -07:00
parent 400281f3b0
commit ee3d98a125
11 changed files with 745 additions and 494 deletions

View File

@@ -759,7 +759,7 @@ t_stat trackWrite(DISK_INFO *myDisk,
* sector record type as the first byte, and fill the sector
* data with the fillbyte.
*/
dataLen = (128 << sectorLen)+1;
dataLen = sectorLen + 1;
sectorData = malloc(dataLen);
memset(sectorData, fillbyte, dataLen);
sectorData[0] = SECT_RECORD_NORM;