1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2026-04-20 15:16:38 +00:00

sg1000 platform + libcv 0.24.2

This commit is contained in:
Steven Hugg
2018-11-28 10:31:07 -05:00
parent 79638ad01e
commit c2a6417e28
37 changed files with 9303 additions and 11 deletions
+6 -1
View File
@@ -162,10 +162,15 @@ describe('Worker', function() {
compile('sdcc', csource, 'sound_williams-z80', done, 16384, 6, 0);
});
it('should compile coleco skeleton', function(done) {
// TODO: can't do skeleton b/c of dependencies
var csource = ab2str(fs.readFileSync('presets/coleco/text.c'));
compile('sdcc', csource, 'coleco', done, 32768, 15, 0);
});
/* TODO: load extra files
it('should compile sg1000 skeleton', function(done) {
var csource = ab2str(fs.readFileSync('presets/sg1000/text.c'));
compile('sdcc', csource, 'sg1000', done, 32768, 15, 0);
});
*/
it('should compile verilog example', function(done) {
var csource = ab2str(fs.readFileSync('presets/verilog/lfsr.v'));
var msgs = [{code:csource, platform:"verilog", tool:"verilator", dependencies:[], path:'main.v'}];