Skip to content

Commit

Permalink
Fix for TVC CAS file generation
Browse files Browse the repository at this point in the history
  • Loading branch information
zzarko committed Jan 10, 2025
1 parent 8fb379b commit 37cc9f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/Compiler/systems/systemtvc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ void SystemTVC::Assemble(QString &text, QString filename, QString currentDir, QS

// bas[19] = 0xf5;

int len = d.size()-20;//+bas.size();

QByteArray h;
h.resize(128);
h.fill(0);
int len = d.size()+bas.size()+h.size();
uint bsize = (len)>>7;

h[0] = 0x11;
Expand Down

0 comments on commit 37cc9f6

Please sign in to comment.