{"version":"Amiga500Trader v2 — Musashi MC68000","ram_size_kb":512,"cpu_clock_mhz":7.09,"kernel_address":"0x800","kernel_bytes":32,"tick_count":0,"total_cycles":0,"avg_cycles_per_tick":0,"position":"FLAT","entry_price":null,"realized_pnl_pct":0.0,"n_trades":0,"recent_trades":[],"last_decision":"HOLD","last_ma5":0.0,"last_ma20":0.0,"last_cycles":0,"last_wall_us":0.0,"copper_list":[{"op":"WAIT","vpos":0,"hpos":0,"comment":"wait for top of frame"},{"op":"MOVE","register":"BPLCON0","value":37376,"comment":"1 bitplane, color enabled"},{"op":"MOVE","register":"COLOR00","value":0,"comment":"background black"},{"op":"MOVE","register":"COLOR01","value":4000,"comment":"Workbench orange"},{"op":"WAIT","vpos":16,"hpos":0,"comment":"wait for line 16"},{"op":"MOVE","register":"COLOR01","value":240,"comment":"BTC up = green"},{"op":"WAIT","vpos":256,"hpos":0,"comment":"wait for VBlank"},{"op":"MOVE","register":"COLOR01","value":4000,"comment":"back to orange"}],"kernel_disassembly":["SumPrices:","    LEA     $7FF00,A0       ; A0 = price buffer base","    MOVEQ   #19,D2          ; 20 iterations","    CLR.L   D1              ; D1 = 0 (accumulator)","loop:","    ADD.W   (A0)+,D1        ; D1 += *A0++ ; ~12 cycles","    DBRA    D2,loop         ; ~10 cycles","    MOVE.L  D1,$7FF40       ; store sum","    MOVE.W  #$DEAD,D0       ; sentinel","    RTS"],"kernel_hex":"41 F9 00 07 FF 00 74 13 42 81 36 18 48 C3 D2 83 51 CA FF F8 23 C1 00 07 FF 40 30 3C DE AD 4E 75"}