Skip to content

Commit

Permalink
Emulated screens are now part of release. #14
Browse files Browse the repository at this point in the history
  • Loading branch information
PoneyClairDeLune committed Feb 4, 2025
1 parent 658fbdf commit 178c782
Show file tree
Hide file tree
Showing 8 changed files with 37 additions and 1 deletion.
1 change: 1 addition & 0 deletions deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"./bridge": "./dist/bridge.mjs",
"./cambiare": "./dist/cambiare.mjs",
"./state": "./dist/state.mjs",
"./disp": "./dist/disp.mjs",
"./xp_basic": "./dist/xp_basic.mjs",
"./xp_state": "./dist/xp_state.mjs"
},
Expand Down
3 changes: 3 additions & 0 deletions src/basic/index.mjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// 2022-2025 (C) Lightingale Community
// Licensed under GNU LGPL v3.0 license.

"use strict";

import {CustomEventSource} from "../../libs/lightfelt@ltgcgo/ext/customEvents.js";
Expand Down
3 changes: 3 additions & 0 deletions src/bridge/index.mjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// 2022-2025 (C) Lightingale Community
// Licensed under GNU LGPL v3.0 license.

// Middleware!
"use strict";

Expand Down
3 changes: 3 additions & 0 deletions src/cambiare/index.mjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// 2022-2025 (C) Lightingale Community
// Licensed under GNU LGPL v3.0 license.

"use strict";

import {OctaviaDevice, allocated, ccToPos, getDebugState} from "../state/index.mjs";
Expand Down
2 changes: 1 addition & 1 deletion src/disp/disp_sc8850.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ let Sc8850Display = class extends RootDisplay {
case 2: {
let voiceNamePadded = upThis.getMapped(voiceObject.name).padEnd(12, " ");
displayText = ` ${voiceNamePadded}<${sum.letter.text}< ${voiceNamePadded}`;
let cutoffStart = (Math.floor((timeNow - sum.letter.set) / 300), );
let cutoffStart = Math.floor((timeNow - sum.letter.set) / 300);
displayText = displayText.substring(cutoffStart, cutoffStart + 16);
break;
};
Expand Down
20 changes: 20 additions & 0 deletions src/disp/index.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// 2022-2025 (C) Lightingale Community
// Licensed under GNU LGPL v3.0 license.

"use strict";

import MuDisplay from "./disp_mu.mjs";
import ScDisplay from "./disp_sc.mjs";
import Ns5rDisplay from "./disp_n5.mjs";
import Sc8850Display from "./disp_sc8850.mjs";
import QyDisplay from "./disp_qy.mjs";
import PsrDisplay from "./disp_psr.mjs";

export {
MuDisplay,
ScDisplay,
Ns5rDisplay,
Sc8850Display,
QyDisplay,
PsrDisplay
};
3 changes: 3 additions & 0 deletions src/micc/index.mjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// 2022-2025 (C) Lightingale Community
// Licensed under GNU LGPL v3.0 license.

"use strict";

// Music Instructions Compiler Collection
Expand Down
3 changes: 3 additions & 0 deletions src/state/index.mjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// 2022-2025 (C) Lightingale Community
// Licensed under GNU LGPL v3.0 license.

"use strict";

import {BinaryMatch} from "../../libs/lightfelt@ltgcgo/ext/binMatch.js";
Expand Down

0 comments on commit 178c782

Please sign in to comment.