mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-12-25 20:30:31 +00:00
bin2data: fix off by one error
This commit is contained in:
parent
c7f04713b3
commit
825e526a3a
@ -35,7 +35,8 @@ int main(int argc, char **argv) {
|
||||
}
|
||||
|
||||
printf("%d FOR I=0 TO %d: READ X: POKE %d+I,X:NEXT I\n",
|
||||
line,bytes,address);
|
||||
line,bytes-1,address);
|
||||
line+=10;
|
||||
|
||||
for(i=0;i<bytes;i++) {
|
||||
read(fd,&c,1);
|
||||
|
Loading…
Reference in New Issue
Block a user