ycocg wip

This commit is contained in:
minjaesong
2025-08-18 19:54:02 +09:00
parent 98962dab57
commit 70fda528e2
8 changed files with 2898 additions and 939 deletions

View File

@@ -16,19 +16,15 @@ con.clear();con.curs_set(0)
graphics.clearPixels(255)
graphics.clearPixels2(240)
let seqreadserial = require("seqread")
let seqreadtape = require("seqreadtape")
let seqread = undefined
let fullFilePathStr = fullFilePath.full
// select seqread driver to use
if (fullFilePathStr.startsWith('$:/TAPE') || fullFilePathStr.startsWith('$:\\TAPE')) {
seqread = seqreadtape
seqread.seek(0)
seqread = require("seqreadtape")
}
else {
seqread = seqreadserial
seqread = require("seqread")
}
seqread.prepare(fullFilePathStr)