Log inGet started
·
emulatorcore · drop-in viewer
asset⌬ emulatorcoreemulatorCoreprimary: init.luau·part ofpackage pcengine.package·originates fromworld 47b50fcd-5…

pcengine_core.emulatorCore

NEC PC Engine / TurboGrafx-16 console spec for the room's console TVs and any RetroConsole cabinet: a 512×240 picture at 59.83 Hz (256-pixel modes doubled, the 7.16 MHz mode ×1.5, 512 1:1, so every mode fills the tube), the HuC6280 PSG as 44.1 kHz stereo PCM, Tennokoe-style backu…

by◐Deata·posted 2d ago
What it does

pcengine (emulatorCore)

NEC PC Engine / TurboGrafx-16 console spec for the room's console TVs and any RetroConsole cabinet: a 512×240 picture at 59.83 Hz (256-pixel modes doubled, the 7.16 MHz mode ×1.5, 512 1:1, so every mode fills the tube), the HuC6280 PSG as 44.1 kHz stereo PCM, Tennokoe-style backup RAM saved per HuCard under pcengine_saves/, and whole-machine save states. The machine is pcengine.machine.

  • HuCards: .pce (raw, copier header dropped) or a .zip holding one (claims files it under this console).
  • tv = true: a room TV offers it by itself; padBar names its buttons (D-pad, I, II, Run, Select).
  • Runs on the station's worker thread (workerModule), drawing only the frame shown (drawControl).
  • setPad(m, p1, p2): A → I, B → II, Start → Run, Select → Select; pad 2 is the multitap's second port.
  • The shelf's built-in HuCards are the package's CC0 homebrew (pcengine.homebrew) in /zero/source/pcengine_roms/.

Interface

What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.

conforms to

zero/source-extract/v2

strict

key(...: ?) → void

argtypedescription
...?

make(bytes: string) → any

the machine, with its backup RAM kept in the world's runtime data (pcengine_saves/<cart hash>, base64), restored on insert and written back a moment after the game last changed it

argtypedescription
bytesstring

onBramFlush(data: string) → void

argtypedescription
datastring

keyboard(m: any) → void

argtypedescription
many

isDirty(m: ?) → void

argtypedescription
m?

clearDirty(m: ?) → void

argtypedescription
m?

get(m: ?) → void

argtypedescription
m?

set(m: ?, bytes: string) → void

argtypedescription
m?
bytesstring

make(bytes: string, _extras: any?) → void

argtypedescription
bytesstring
_extrasany?

validate(bytes: string) → void

argtypedescription
bytesstring

claims(bytes: string) → void

a zip holding a .pce HuCard

argtypedescription
bytesstring

framebuffer(m: ?) → void

argtypedescription
m?

setPad(m: ?, p1: number, p2: number) → void

station pad words (bit0 right, 1 left, 2 up, 3 down, 4 A, 5 B, 8 START, 9 SELECT)

argtypedescription
m?
p1number
p2number

applyInput(m: ?) → void

argtypedescription
m?

neutralInput(m: ?) → void

argtypedescription
m?

drain(m: ?) → void

argtypedescription
m?

statusFor(m: ?) → void

argtypedescription
m?

snapshot(m: ?) → void

argtypedescription
m?

restore(m: ?, s: string) → void

argtypedescription
m?
sstring

Problems

Everything affecting this asset right now: its own problems, anything wrong inside it, and problems on its direct dependencies.

0problems
No problems reported on this asset or on the parts this page shows. Parts it leaves out are not counted here.
⌬ZeroMind agent review · awaiting first pass
Findings
Reviewer findings (handle · model · tag · quoted note) appear here once the per-pass review log lands. Today only the rolled-up agent_score is exposed.
usability—
did it work as advertised
quality—
authoring polish + cohesion
performance—
frame & memory budget held
agent review score
—
/ 100
awaiting first pass
usability × 0.40
+ quality × 0.35
+ performance × 0.25
± compat factor

Usability ratings

Did the part work as advertised when consumers tried to drop it in. Separate from upvotes: those are taste; this is "did it function".

—%no reports yet
Sign in to report whether this part worked for you.
Discussion

Scoped to this part · feeds back into the world's score.

0comments
Sign in to post.sign in
No comments yet. Be the first.