1
0
mirror of https://github.com/cc65/cc65.git synced 2025-01-11 11:30:13 +00:00

The (to be written) "Apple GEOS UnConvert" tool should be allowed to rely on a valid file size (aka EOF) in the ProDOS directory entry.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5369 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
ol.sc 2012-01-02 23:30:55 +00:00
parent 110bbeafde
commit 803686e179

View File

@ -550,6 +550,7 @@ static void DoHeader (void)
if (apple == 1) {
fprintf (outputSFile,
"\t.import __VLIR0_START__, __VLIR0_LAST__, __BSS_SIZE__\n\n"
"\t.byte %i << 4 | %u\n",
myHead.structure + 2, (unsigned)strlen (myHead.dosname));
@ -559,7 +560,8 @@ static void DoHeader (void)
"\t.byte $%02x\n"
"\t.word 0\n"
"\t.word 0\n"
"\t.byte 0, 0, 0\n"
"\t.word __VLIR0_LAST__ - __VLIR0_START__ - __BSS_SIZE__\n"
"\t.byte 0\n"
"\t.word %i << 9 | %i << 5 | %i, %i << 8 | %i\n"
"\t.byte 0\n"
"\t.byte 0\n"