velxio/frontend/src/simulation
David Montero d64eebc200 fix(stop): reset CPU to PC=0 on Stop (real-life power-cycle semantics)
The previous fix preserved display state on Stop so Resume could pick
up the multiplexed frame seamlessly — but that's Pause semantics, not
Stop. On a real Arduino, hitting the physical Stop is cutting power:
the next Run must boot from setup(), not continue at the saved PC.

User report on https://velxio.dev/example/uno-7segment :
  > empieza a contar, le doy stop en el 6, le doy run y sigue desde 6

stopBoard now:
  - calls sim.reset() (was sim.stop()) — CPU back to PC=0
  - calls hardResetPinStates() (was the soft resetPinStates) — clears
    cached states AND notifies listeners so 7-seg / NeoPixel / LCD
    blank out instead of freezing on whatever was lit.

Reset and Stop are now the same cold-boot semantics; Reset still
additionally clears serial output + baud rate. The soft
resetPinStates() helper stays for internal SPICE-classification-only
paths that don't want listener fan-out.
2026-05-26 21:28:41 +02:00
..
customChips feat(attiny85+customchip): full ATtiny85 ADC/Timer0 + custom-chip pipeline fixes 2026-05-19 18:10:08 -03:00
cyw43
displays
parts fix(joystick): map wokwi-analog-joystick direction (-1/0/+1) to ADC voltage 2026-05-22 18:57:26 +02:00
spice feat(boards): expose Raspberry Pi 4 and Pi 5 in the picker (UI + pin wiring) 2026-05-23 04:46:59 +02:00
verify feat(components): Regulated Power Supply with per-instance current limit 2026-05-18 00:00:45 -03:00
AVRSimulator.ts fix(multi-board): initSimulator wiped Interconnect's UART wrapper 2026-05-26 17:08:04 +02:00
Esp32Bridge.ts fix(epaper/esp32): preserve PartSimulationRegistry sensors in setSensors + correct BUSY polarity per controller family 2026-05-22 23:32:33 +02:00
Esp32C3Simulator.ts fix(spice+pipeline): LED visualization, INPUT_PULLUP, ESP32-C3, PWM fade, examples 2026-05-18 21:52:07 -03:00
Esp32MicroPythonLoader.ts
HD44780Decoder.ts
I2CBusManager.ts
Interconnect.ts fix(multi-board): initSimulator wiped Interconnect's UART wrapper 2026-05-26 17:08:04 +02:00
LogicFamilies.ts
MicroPythonLoader.ts
PinManager.ts fix(stop): reset CPU to PC=0 on Stop (real-life power-cycle semantics) 2026-05-26 21:28:41 +02:00
PinResolver.ts
RP2040Simulator.ts feat(rp2040/uart): synthesize bit-level TX waveform on GP0 / GP4 2026-05-22 19:54:55 +02:00
RaspberryPi3Bridge.ts feat(pi): pluggable slave handler + canvas wire detection for I2C/SPI/UART 2026-05-18 16:26:37 +02:00
RiscVCore.ts
RiscVSimulator.ts fix(spice+pipeline): LED visualization, INPUT_PULLUP, ESP32-C3, PWM fade, examples 2026-05-18 21:52:07 -03:00
SensorUpdateRegistry.ts
SignalRouter.ts
SpiBus.ts
esp32-signals.ts
piSlaveScanner.ts feat(pi): pluggable slave handler + canvas wire detection for I2C/SPI/UART 2026-05-18 16:26:37 +02:00
rp2040-bootrom.ts
sensorControlConfig.ts