mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2025-08-10 15:25:02 +00:00
Merge branch 'master' of github.com:sehugg/8bitworkshop
This commit is contained in:
@@ -68,6 +68,7 @@ TODO:
|
|||||||
- resize memory dump window
|
- resize memory dump window
|
||||||
- C/asm formatter
|
- C/asm formatter
|
||||||
- fix WebAudio (https://news.ycombinator.com/item?id=18066474)
|
- fix WebAudio (https://news.ycombinator.com/item?id=18066474)
|
||||||
|
- Safari: verilog scope doesn't work
|
||||||
|
|
||||||
|
|
||||||
WEB WORKER FORMAT
|
WEB WORKER FORMAT
|
||||||
|
@@ -187,7 +187,7 @@ export var AnimationTimer = function(frequencyHz:number, callback:() => void) {
|
|||||||
var running : boolean = false;
|
var running : boolean = false;
|
||||||
var pulsing : boolean = false;
|
var pulsing : boolean = false;
|
||||||
var lastts = 0;
|
var lastts = 0;
|
||||||
var useReqAnimFrame = false; //window.requestAnimationFrame ? (frequencyHz>40) : false;
|
var useReqAnimFrame = false; //TODO window.requestAnimationFrame ? (frequencyHz>40) : false;
|
||||||
var nframes, startts; // for FPS calc
|
var nframes, startts; // for FPS calc
|
||||||
this.frameRate = frequencyHz;
|
this.frameRate = frequencyHz;
|
||||||
|
|
||||||
|
@@ -35,12 +35,13 @@ export class CodeProject {
|
|||||||
var notfinal = this.pendingWorkerMessages > 1;
|
var notfinal = this.pendingWorkerMessages > 1;
|
||||||
if (notfinal) {
|
if (notfinal) {
|
||||||
this.sendBuild();
|
this.sendBuild();
|
||||||
|
this.pendingWorkerMessages = 1;
|
||||||
} else {
|
} else {
|
||||||
if (this.callbackBuildStatus) this.callbackBuildStatus(false);
|
if (this.callbackBuildStatus) this.callbackBuildStatus(false);
|
||||||
if (!this.isCompiling) { console.log(this.pendingWorkerMessages); console.trace(); } // debug compile problems
|
if (!this.isCompiling) { console.log(this.pendingWorkerMessages); console.trace(); } // debug compile problems
|
||||||
this.isCompiling = false;
|
this.isCompiling = false;
|
||||||
|
this.pendingWorkerMessages = 0;
|
||||||
}
|
}
|
||||||
this.pendingWorkerMessages = 0;
|
|
||||||
if (e.data && !e.data.unchanged) {
|
if (e.data && !e.data.unchanged) {
|
||||||
this.processBuildResult(e.data);
|
this.processBuildResult(e.data);
|
||||||
if (this.callbackBuildResult) this.callbackBuildResult(e.data); // call with data when changed
|
if (this.callbackBuildResult) this.callbackBuildResult(e.data); // call with data when changed
|
||||||
|
Reference in New Issue
Block a user