Skip to content

Commit 1c84f13

Browse files
committed
add EOP marker
1 parent 94e1b16 commit 1c84f13

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

editor.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,7 @@ namespace microcode {
9494
if (this.programChanged) {
9595
this.programChanged = false
9696
this.app.save(SAVESLOT_AUTO, this.progdef.toBuffer())
97-
console.log(this.progdef.toString())
9897
}
99-
// runProgram(this.progdef)
10098
}
10199

102100
private pickDiskSLot() {

language.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ namespace microcode {
412412

413413
public toString() {
414414
const res = this.pages.map(page => page.toString())
415-
return res.map((ps, i) => `Page ${i + 1}\n${ps}`).join("\n")
415+
return res.map((ps, i) => `Page ${i + 1}\n${ps}\nEOP`).join("\n")
416416
}
417417
}
418418

0 commit comments

Comments
 (0)